conditional formating formula question

biglb79

Active Member
Joined
Oct 17, 2007
Messages
299
is there a formula I could use that would highlight cells AB3 and and AC3 in green if all cells G3:AA3 have been initialed and dated? I don't know the exact length for both. someone could use BB 10/28 or BBB 10/28/20

2nd part of formula would be to have them highlighted in red if there isn't an initial and date? currently names are listed and everyone is replacing their name with initials and date once completed so it can't just be any type of fill in the cell. hopefully my question makes sense. thanks in advance!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
G3 to AA3
are those cells blank initially and then populate
currently names are listed and everyone is replacing their name with initials and date
where are the names listed
when they enter 10/28 - is that actually in excel as a date or text
perhaps a small example of say 4 cells
G3, H3, I3 and J3
 
Upvote 0
G3 to AA3
are those cells blank initially and then populate

where are the names listed
when they enter 10/28 - is that actually in excel as a date or text
perhaps a small example of say 4 cells
G3, H3, I3 and J3
names are listed in every cell from G3:AA3. it lists everyone that is assigned to each task, and then they are supposed to do the task in AB and AC once G:AA have been completed. I thought it may be easy if those cells highlight once names are deleted and replaced with initials and dates.
 
Upvote 0
so John Smith , will be replaced with JS 10/01/20 or JS 10/1/2020 or JS 10/01 or JS 10-1-20 or JS 10/1 or any other possible date format in the one cell

John Edward Smith = JES
John Harvey-Smith = JHS
John Edward william Henry Smith = JEWHS

would they use the middle name(s)
 
Upvote 0
so John Smith , will be replaced with JS 10/01/20 or JS 10/1/2020 or JS 10/01 or JS 10-1-20 or JS 10/1 or any other possible date format in the one cell

John Edward Smith = JES
John Harvey-Smith = JHS
basically but it's mostly just first names in the cells now so like Bill would be BB 10/28, Brian would be BM 10/28, Erica would be ES 10/28 and there are others
 
Upvote 0
so none of the cells now would have a space in the text but the new entries all would have a space
 
Upvote 0
so none of the cells now would have a space in the text but the new entries all would have a space
pretty much but now that I look at it there is a Cindy T and Cindy M. I could possibly just change those to CindyT and CindyM
 
Upvote 0
Very messy , must be a better way

=SUMPRODUCT(LEN(G3:AA3)-LEN(SUBSTITUTE(G3:AA3," ","")))=21
as a formula in the conditional format for green

=SUMPRODUCT(LEN(G3:AA3)-LEN(SUBSTITUTE(G3:AA3," ","")))<>21
for RED

OR
=COUNTIF($G$3:$AA$3,"*/*")=21
 
Upvote 0
for ease I have just used 5 columns rather than 21
Book1
FGHIJKLMN
1G3 to AA3AB3AC3
2fred****harry tbb 10/28cc 10/28
3bb 10/28cc 10/28bb 10/29cc 10/29bb 10/30
4
Sheet2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
M2:M3Expression=COUNTIF(G3:AA3,"*/*")=5textNO
M2:M3Expression=COUNTIF($G3:$AA3,"*/*")<>5textNO
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,741
Members
449,050
Latest member
excelknuckles

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