Conditional formatting of two separate columns

tbilderbac

New Member
Joined
Apr 11, 2022
Messages
28
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I have two columns, one for dates [finding the last 20 dates] and one for differentials [finding the lowest 10 differentials for those 20 dates] and we have figured that part out and it is working [Formula: =AVERAGE(INDEX(SORT(INDEX(SORT(((Sheet2!F$18:F$38):(Sheet2!$AB18:$AB38)),1,-1),SEQUENCE(20),2),,1),SEQUENCE(10)))] . Now I want to use conditional formatting to highlight the 20 dates [in one column] and then in another column [not next to the date column] I want to highlight the 10 differentials. But I am getting the following warning

1650550009225.png


How might I format the column so highlight the 20 dates and also highlight the 10 diffs. The columns are not next to each other so I cant highlight the whole row. I will need to have two formulas [or maybe 1] and create two rules.
 
Last edited by a moderator:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
I can't help you with the formula IN conditional formatting. CF and I argue a lot about how things should be done. However, I have found that helper columns will do in a pinch. If regular formula works, then 1 else 0. Then use CF to highlight the cells you want based on the results of that helper column. It's not elegant, but it works.
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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