Return specific text based on day of week found in another cell

tlg

New Member
Joined
Jan 27, 2011
Messages
13
I am building a spreadsheet where I require a specific line of text which differs based on the day of the week which is shown in text in a cell at the top of the page.

The day and date in C1 is copied from the date which is input into A1 on the first sheet only, so on the Sheet2 it will use =SUM(Sheet1!A1)

exceltest.png


So, if the day in C1 is a "Monday", I would like the text in B4 to show "Ensure all passes are validated"

The text in B4 will then change based on the day which is in C1 as follows:

"Monday" - "Ensure all passes are validated"
"Tuesday" - "Check gate 3C"
"Wednesday" - "Clear contents of all boxes"
"Thursday" - "Check door 9"
"Friday" - "Conduct vehicle checks"

I have tried a few options but can't get the correct outcome, not sure if it is due to the date being fed from another sheet?

I would really appreciate any help, I hope my explanation of what I am trying to achieve is clear.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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