Solved

if formula  with vlookup

Posted on 2014-02-13
5
344 Views
Last Modified: 2014-02-17
Hi Experts excel 2007

need a if and vlookup formula to cover the following criteria
if a1 is blank and then vlookup sheet 2 column 16 if a1 is blank and sheet 2 column 16 is also blank then vlookup sheet2 column 12.
0
Comment
Question by:route217
  • 3
5 Comments
 
LVL 22

Expert Comment

by:Dreamboat
ID: 39856369
Where is the value that is being looked up?

=if(isblank(a1),vlookup(...,16,false),if(isblank(vlookup(...,16,false)),vlookup(...,12,false)))
0
 

Author Comment

by:route217
ID: 39856378
Value is in sheet 2 column b row 2

Data range c2:q500
0
 

Author Comment

by:route217
ID: 39856499
Hi dreamboat

any developments. ..in the if lookup formula?

Regarda
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39856510
Do you mean?

=IF(A1="",IF(VLOOKUP(Sheet2!B2,Sheet2!$C$2:$Q$500,14,0)="",VLOOKUP(Sheet2!B2,Sheet2!$C$2:$Q$500,10,0),VLOOKUP(Sheet2!B2,Sheet2!$C$2:$Q$500,14,0)),"")
0
 

Author Comment

by:route217
ID: 39856577
Nbvc

looks good let me test the formula.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

820 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