ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   conditional formatting using a range (https://www.excelbanter.com/excel-discussion-misc-queries/239748-conditional-formatting-using-range.html)

Marc's NYK

conditional formatting using a range
 
I need a cell (a2) to highlight if the last cell within a range (F2:V2) that
is not blank = the word "PENDING"

In other woerda I need the A2 cell to stay highlighted until one of the
cells have anything besides a blank or pending

Max

conditional formatting using a range
 
"Marc's NYK" wrote:
I need a cell (a2) to highlight if the last cell within a range (F2:V2) that
is not blank = the word "PENDING"


For the above specs as posted,
you could try this:

Select A2, then apply CF using Formula Is:
=INDEX(F2:V2,INDEX(MAX((F2:V2<"")*COLUMN(F2:V2))-COLUMN(F2)+1,))="pending"
Format to taste, ok out

voila? hit the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---


All times are GMT +1. The time now is 03:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com