Conditional Formatting based on rolling month values

nburaq

Board Regular
Joined
Apr 2, 2021
Messages
222
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi,
I have data shown as below and would like to highlight values based on rule for always last 12 months. In my previous post this was solved bu using formula =SUM(IF(TAKE(FILTER(B2:B25,B2:B25<>""),-12)>30,1,0)) but this time I wanted to highlight cells with this part only TAKE(FILTER(B2:B25,B2:B25<>""),-12)>30 however it does not work well. I will be so glad if someone solve this problem. Thanks in advance !
DatumLocation1
Jan/2243,70
Feb/222,24
Mar/2228,96
Apr/2225,57
May/2241,19
Jun/2237,42
Jul/2241,88
Aug/2237,37
Sep/2239,31
Oct/2238,79
Nov/2237,91
Dec/2240,40
Jan/2374,69
Feb/2359,99
Mar/2360,69
Apr/2360,69
May/2352,00
Jun/23
Jul/23
Aug/23
Sep/23
Oct/23
Nov/23
Dec/23
 
Thanks one more time, because at the end this was what I wanted to achieve!
 
Upvote 0

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,)

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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