Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Formula needed 1

Status
Not open for further replies.

robertbarrett

IS-IT--Management
May 29, 2015
17
US
This may just be a complicated IF THEN statement, please help.

I already have a drop down list in place. How can I have whatever value in the drop down list populate a value in another cell?

For example:
"Left Early" I want to populate another cell with 0.50
"Called Off" - 1
"No Call No show" - 2
"Suspension - Violation" - 0
"Excused" - 0

Please advise.

Thank you
 
Hi,

I'd use a lookup table like...
[pre]
YourText YourValue

Left Early 0.5
Called Off 1
No Call No show 2
Suspension - Violation 0
Excused 0
[/pre]

[tt]
=INDEX(tLUTable[YourValue],MATCH(E3,tLUTable[YourText],0),1)
[/tt]
...where the text you are looking up is in E3.

Also a Structured Table named tLUTable


Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
I don't think this is quite what I am looking for.
cells_iaro0b.jpg


Column E contains the drop down lists, the options are listed in my OP. I want column G to automatically populate based on the value that is selected from the drop down list
 
I'd put the formula in column G referencing the value incolumn E.

So please explain why you think my solution will not work.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
I found an error on my side. This is exactly what I need.

Thank you
 
Grrrrreat!

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top