Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

need a if formula nest with vlookup

Posted on 2014-02-13
13
Medium Priority
?
292 Views
Last Modified: 2014-02-13
Hi Experts excel 2007

need a if formula yo do the following:-

Col a.                 Col b
12/02/2014.    Result

do if column a has a date value, return blank into b2, other wish vlookup formula...to return the result.
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
  • 8
  • 5
13 Comments
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39855868
what are you VLOOKUP in Column A. these are not Date values? then you can try this
=IFERROR(VLOOKUP(A1,Your Range,Column Number,False),"")

Open in new window

.which returns to blank if there is no match up.


Thanks
0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39855892
or you can try this which is more specific to your question.
=IF(CELL("Format",A1)="D1","",VLOOKUP(A1, Your Range, Column Number, False)

Open in new window


Thanks
0
 

Author Comment

by:route217
ID: 39855964
Hi Experts

quick questions why d1...so if a1 has a date the b1 is blank?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39855977
=IF(CELL("Format",A1)="D1","","Y")

Open in new window


if A1 = date returns to D1else "Y"
quick questions why d1
for date format value is D1.

so if a1 has a date the b1 is blank?

Yes
0
 

Author Comment

by:route217
ID: 39855986
Hi itjockey


=IF(CELL("Format",A1)="D1","",VLOOKUP(A1, Your Range, Column Number, False)

I am using the above and surely it should be if a1 has a date then return back in cell b1..if a1 has not date the apply the vlookup formula. .
0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39855994
or provide your VLOOKUP Formula only I will merge & revert you back.
0
 

Author Comment

by:route217
ID: 39855997
Vlookup(a5,'app p'! $b$26:$q$1200,16,0)
0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39856019
=IF(CELL("Format",A5)="D1","",VLOOKUP(A5,'app p'! $B$26:$Q$1200,16,False)

Open in new window

=IF(CELL("Format",A1)="D1","",VLOOKUP(A5,'app p'! $B$26:$Q$1200,16,False)

Open in new window


bit confused Cell A1 or A5 so added both .


Thanks
0
 

Author Comment

by:route217
ID: 39856032
Sorry to  be a pain...

can you attach a workbook...still cannot get this to work.
0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39856055
In stead  of mine why don't you upload yours as I don't have sheet name "app p" I just write formula.

for understanding see attached.

Thanks
Book2.xlsx
0
 

Author Comment

by:route217
ID: 39856064
Ok thanks...

how would you amend if a1 is blank and b1 is blank then vlookup..into the above if formula.
0
 
LVL 8

Accepted Solution

by:
Naresh Patel earned 2000 total points
ID: 39856081
=IF(AND(A1="",B1=""), Above formula,"")

Open in new window

0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39856091
provide your sample workbook.

Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
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…
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…

604 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