Excel formula help

Copper Contributor
Hi, new and need help with a formula.....
If in cell A1 I create a drop down menu such as Monday to Friday. Then i need a formula in cell B1 that will display whatever the data is in cell C1 if Monday is selected, C2 if Tuesday is selected, C3 if Wed is selected and so on. Is there a formula capable of doing this?
Appreciate any advice, thanks
4 Replies

@Alex_Karras 

See if the attached workbook achieves what you are after.

@Alex_Karras

 

Hi,

 

Please try this formula:

=IF(A1="Monday",C1,IF(A1="Tuesday",C2,IF(A1="Wednesday",C3,IF(A1="Thursday",C4,IF(A1="Friday",C5,"")))))

Nested IF.png

 

Or one of these formulas if you have Excel 2019 or Office 365:

=IFS(A1="Monday",C1,A1="Tuesday",C2,A1="Wednesday",C3,A1="Thursday",C4,A1="Friday",C5,TRUE,"")
=SWITCH(A1,"Monday",C1,"Tuesday",C2,"Wednesday",C3,"Thursday",C4,"Friday",C5)

 

Hope that helps

Thank you all very much with your help, much appreciated.

@Alex_Karras 

You may also use LOOKUP like this: 

=LOOKUP(2,1/(
{"Monday";"Tuesday";"Wednesday";"Thursday";"Friday"}=A1),
C$1:C$5)