Conditional Formatting

bill351

Board Regular
Joined
Jan 19, 2009
Messages
83
I Have an attendance sheet that a list of staff, staff times and a list of reasons for non attendance.

What I am trying to accomplish is when a staff member does not show for work I can pick the reason why "SICK" and their name changes to red and strikethrough. the current formula is =$D$6="SICK" however I need this to take in account ALL 5 reasons
SICK
TOIL
REC
ATW
COS

I have tried a few variations but can't get the whole list to work ??

Cheers
Bill from OZ
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Try this in conditional formating formula:

=IF(OR(D6="SICK",D6="TOIL",D6="REC",D6="ATW",D6="COS"),TRUE,FALSE)
 
Upvote 0
Thank you somnath it2006 that worked

strangly REC doesnt however all the others work just fine I will play to see why

Again thank you
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,999
Members
448,543
Latest member
MartinLarkin

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