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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,215,326
Messages
6,124,272
Members
449,149
Latest member
mwdbActuary

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