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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

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