Conditonal Formatting based on IF

uzzimacro

New Member
Joined
Feb 2, 2018
Messages
28
Hi All,

Im going to record a macro to light specific cells in excel using conditional formatting.

for example, I want all cells in the J column to be highlighted if they are above 20000.

The problem is is for some of the data it is split, so the combined values need to be combined if there are above 20,000.

So if the contents in A and B are the same, e.g customer and group and ALSO contents in column p/q are the same (currency)
, then I also went the J values to be highlighted if together they add up over 2000.

So if there are two separate transactions where A and B are 13, and 15k separately they cume up to 28k so should be highlighted but they wont be picked up in my normal method.

Appreciate any help

Regards
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Can you post a small data sample showing the different scenarios, and indicate which ones should be highlighted?
I think that will help clarify things for us.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top