Hi,
In attached file I need to highlight the 14th consecutive non-empty cell based on the Date Column C.
The expected outcome is highlighted in the attached sample file.
sample.PNG
Appreciate your valuable support for this help.
Hi,
In attached file I need to highlight the 14th consecutive non-empty cell based on the Date Column C.
The expected outcome is highlighted in the attached sample file.
sample.PNG
Appreciate your valuable support for this help.
While I look at this, please update your profile NOW to show:
1) your approximate location (country is perfect), and
2) the Excel version you are currently using (e.g. O365 for PC, 2021 for Mac, etc).
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
updated my profile !
OK. first attempt!
1. Introduce an EMPTY column at column D.
2. Set up a Named range (CTRL-F3), called CF:
=MOD(1/(1/COUNTIF(INDEX($D2:E2,AGGREGATE(14,6,(COLUMN($D2:E2)-COLUMN($D2)+1)/($D2:E2=0),1)):E2,">0")),14)=0
3. Then use =CF as the formula for conditional formatting.
An other option:
Please try in your file the following conditional formatting rule applies to $D$2:$AU$5Formula:
Please Login or Register to view this content.
(In the attached file is the range $D$7:$AU$10).
Last edited by HansDouwe; 09-04-2022 at 06:20 AM.
Thank you @Glenn Kennedy, your solution worked very well. Thanks for your time and support.
@HansDouwe, your solution isn't returning the desired results. its highlighting 14th consecutive cell, however if we delete/remove value from one cell in between these consecutive cells, the highlight stays till we delete more than one cell's values.
Last edited by qadeerahmed; 09-05-2022 at 02:59 AM.
You're welcome and thanks for the feedback.
Thx for your feedback.
I've corrected my formula:
Please try in your file the following conditional formatting rule applies to $D$2:$AU$5In the attached workbook the formula applies to $D$7:$AU$10.Formula:
Please Login or Register to view this content.
Last edited by HansDouwe; 09-07-2022 at 01:35 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks