Cameron419
New Member
- Joined
- Apr 18, 2017
- Messages
- 7
Hello, can I have more than one lookup value in a vlookup to return a value in another cell when a selection is made in a dropdown list?
The example I have is:
Dropdown list Columns:
C17
C18
C19
C20
If the user selects from the dropdown list a region that starts with a L in front of it, I need a note to pop up in C21. I can only get this note to pop up if the selection of a region that starts with a L is made in C17 but if it is not made in C17 and it is selected in C18 or C19 or C20, the note will not appear in C20.
Here is my vlookup currently:
=IF(ISNA(VLOOKUP(C17,'Periods & COGS'!V2:W41,2,FALSE)),"",(VLOOKUP(C17,'Periods & COGS'!V2:W41,2,FALSE)))
This is the result note when the selection is made at C17:
[TABLE="width: 332"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]SELECT UP TO 4 SERVICING PLANTS[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD]C17 - PLANT 1[/TD]
[TD]L - Detroit[/TD]
[/TR]
[TR]
[TD]C18 - PLANT 2[/TD]
[TD]No Selection [/TD]
[/TR]
[TR]
[TD]C19 - PLANT 3[/TD]
[TD]No Selection[/TD]
[/TR]
[TR]
[TD]C20 - PLANT 4[/TD]
[TD]No Selection[/TD]
[/TR]
[TR]
[TD="colspan: 2"]C21 -*Note: Advanced Notice of 4 Weeks for Pricing is Required Before First Order is Submitted
Thanks[/TD]
[/TR]
[TR]
[/TR]
</tbody>[/TABLE]
The example I have is:
Dropdown list Columns:
C17
C18
C19
C20
If the user selects from the dropdown list a region that starts with a L in front of it, I need a note to pop up in C21. I can only get this note to pop up if the selection of a region that starts with a L is made in C17 but if it is not made in C17 and it is selected in C18 or C19 or C20, the note will not appear in C20.
Here is my vlookup currently:
=IF(ISNA(VLOOKUP(C17,'Periods & COGS'!V2:W41,2,FALSE)),"",(VLOOKUP(C17,'Periods & COGS'!V2:W41,2,FALSE)))
This is the result note when the selection is made at C17:
[TABLE="width: 332"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]SELECT UP TO 4 SERVICING PLANTS[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD]C17 - PLANT 1[/TD]
[TD]L - Detroit[/TD]
[/TR]
[TR]
[TD]C18 - PLANT 2[/TD]
[TD]No Selection [/TD]
[/TR]
[TR]
[TD]C19 - PLANT 3[/TD]
[TD]No Selection[/TD]
[/TR]
[TR]
[TD]C20 - PLANT 4[/TD]
[TD]No Selection[/TD]
[/TR]
[TR]
[TD="colspan: 2"]C21 -*Note: Advanced Notice of 4 Weeks for Pricing is Required Before First Order is Submitted
Thanks[/TD]
[/TR]
[TR]
[/TR]
</tbody>[/TABLE]