?
Solved

potential if/v lookup formula error

Posted on 2014-02-17
8
Medium Priority
?
202 Views
Last Modified: 2014-02-17
Hi Expert's Excel 2007

I am using the following formula to complete the following scenario. .
Formula:-
=IF(o5="",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)),"")

Scenario: sheet 1

If cell o5 is blank and sheet 2 col 14 is blank then look up col 12. If o5 is blank and col 12 is blank then look up col 14...sheet 2
0
Comment
Question by:route217
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39864530
pls provide sample file...
0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39864533
=IF(AND(O5="",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
 
LVL 52

Expert Comment

by:Rgonzo1971
ID: 39864536
Hi,

Yu speak of col 12 and 14 but in your formula you have 10 and 14

Are the col numbers relative to c or relative to a

Regards
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:route217
ID: 39864637
Hi Rgonzo

Lets stick to the col in the formula. ...

I am getting an error with it jockeys formula after =""), part..
0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39864762
Try this.  =IF(AND(O5="",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)),""

allows to auto complete
0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39864766
As I am not in position to investigate right now.Traveling.

Thanks
0
 
LVL 8

Accepted Solution

by:
Naresh Patel earned 2000 total points
ID: 39864785
=IFERROR(IF(AND(O5="",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: 39864842
Thanks for the feedback.. works
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

762 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