Solved

IF/AND/VLOOKUP

Posted on 2013-06-27
2
226 Views
Last Modified: 2013-06-27
Is it possible to change the results from a VLOOKUP in the same cell or would I need to create a new column?   I have =VLOOKUP([Store '#],'Schedule'!$C$4:$HX$10000,183,FALSE) the results will return either BA or TT want to change BA to LM and TT to TR.  Unable to change at the source.  Tried a couple of different variations but keep getting #VALUE or #N/A.
0
Comment
Question by:jmac001
2 Comments
 
LVL 13

Accepted Solution

by:
Shanan212 earned 500 total points
ID: 39282027
try this

=if(VLOOKUP([Store '#],'Schedule'!$C$4:$HX$10000,183,FALSE)="BA","LM",if(VLOOKUP([Store '#],'Schedule'!$C$4:$HX$10000,183,FALSE)="TT","TR",VLOOKUP([Store '#],'Schedule'!$C$4:$HX$10000,183,FALSE)))

Open in new window

0
 

Author Closing Comment

by:jmac001
ID: 39282076
Works wonderful, thanks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question