Excel formula help

%3CLINGO-SUB%20id%3D%22lingo-sub-916737%22%20slang%3D%22en-US%22%3EExcel%20formula%20help%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-916737%22%20slang%3D%22en-US%22%3EHi%2C%20new%20and%20need%20help%20with%20a%20formula.....%3CBR%20%2F%3EIf%20in%20cell%20A1%20I%20create%20a%20drop%20down%20menu%20such%20as%20Monday%20to%20Friday.%20Then%20i%20need%20a%20formula%20in%20cell%20B1%20that%20will%20display%20whatever%20the%20data%20is%20in%20cell%20C1%20if%20Monday%20is%20selected%2C%20C2%20if%20Tuesday%20is%20selected%2C%20C3%20if%20Wed%20is%20selected%20and%20so%20on.%20Is%20there%20a%20formula%20capable%20of%20doing%20this%3F%3CBR%20%2F%3EAppreciate%20any%20advice%2C%20thanks%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-916737%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New 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
Highlighted

@Alex_Karras 

See if the attached workbook achieves what you are after.

Highlighted

@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

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

@Alex_Karras 

You may also use LOOKUP like this: 

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