Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

microsoft excel course - excel conditional formatting

Forum home » Delegate support and help forum » Microsoft Excel Training and help » microsoft excel course - Excel conditional formatting

microsoft excel course - Excel conditional formatting

ResolvedVersion Standard

Derek has attended:
No courses

Excel conditional formatting

Hi
I have ON OD OB text in three cells taken from one sheet into another but in the new sheet i need to change the formatting to show each cell with ON OD OB to change cell colour and if possible drop the O
Can it be done in 1 condition or will i have to use 3 conditions and how do you do it

Thanks
Derek

RE: Excel conditional formatting

What is ON OD OB

RE: Excel conditional formatting

ON OD OB stands for Overtime Nightshift, Overtime Dayshift and Overtime Backshift. it is codes used for a shift rota along with a lot of other codes, i use colours to highlight overtime leave sick etc but can only get each condition in the formatting to change one code eg ="ON" with format Red ="OD" with Red and ="OB" with Red which uses up the 3 conditions.
The question is can the 3 codes be formatted using only 1 condition which will leave 2 conditions for other formatting

Thanks
Derek

RE: Excel conditional formatting

Hi Derek

I think that you will nedd to use three conditional formatting statements, however you could write some VBA code to do the formatting for you. You may find the following link helpful.

VBA help

Hope this helps
David

RE: Excel conditional formatting

Hi David

The VBA code does the trick but is there a way to get the colour to change as soon as you come out of the cell, at the moment i can only get it to change if i come out of the cell and then go back in it
Also i need it to work with letters instead of numbers

Thanks
Derek

RE: Excel conditional formatting

Hi Derek

I will have to look into this, as I'm not sure myself. If I find anything out I will get back to you.

David

RE: Excel conditional formatting

Hi David
Got your reply, thanks for trying.

Excel tip:

Create a unique items table from a duplicating table

1. Ensure that your list has column headings
2. Select the entire list
3. From the menu bar, select DATA, FILTER, ADVANCED FILTER
4. Select "Filter the list, in place", and tick the "Unique Records Only" box
5. Click OK, filtered list appears.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.