r/excel • u/Ghausi • Jun 02 '26
solved Conditional Formatting (Row-wise) needs to be extended

As you can see, the logic is that higher job counts are more green. Now imagine I had 1,000 rows and wanted this conditional formatting to extend till there. How can I do that?
I can't drag from C4 to the bottom since then the total column would be dark green and the logic is all wrong since it would be comparing everything, when I wanted it row wise like in the image.
10
Upvotes
•
u/AutoModerator Jun 02 '26
/u/Ghausi - Your post was submitted successfully.
Solution Verifiedto close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/excelevator 3071 Jun 02 '26
select the data and run this sub routine, pretty sure I got the right formatting.
To change it you can record yourself setting a format and then copy paste the code between the formatting start end comment and replace
SelectionwithRow1
u/AdministrativeGift15 Jun 03 '26
Change you Apply to range to be $C4:$J1000. This will apply the rule on a row by row basis, since only the columns are using absolute references. Note, you'll probably want to use a color gradient rule that uses min andax for the breakpoints, because you want each row to determine its own min and max values.
1
u/Decronym Jun 03 '26 edited Jun 03 '26
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.
Beep-boop, I am a helper bot. Please do not verify me as a solution.
5 acronyms in this thread; the most compressed thread commented on today has 16 acronyms.
[Thread #48617 for this sub, first seen 3rd Jun 2026, 04:07] [FAQ] [Full list] ^[Contact] [Source code]
0
u/[deleted] Jun 02 '26
[deleted] — view deleted comment