route217
asked on
need a if formula nest with vlookup
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.
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.
or you can try this which is more specific to your question.
Thanks
=IF(CELL("Format",A1)="D1","",VLOOKUP(A1, Your Range, Column Number, False)
Thanks
ASKER
Hi Experts
quick questions why d1...so if a1 has a date the b1 is blank?
quick questions why d1...so if a1 has a date the b1 is blank?
=IF(CELL("Format",A1)="D1","","Y")
if A1 = date returns to D1else "Y"
quick questions why d1for date format value is D1.
so if a1 has a date the b1 is blank?
Yes
ASKER
Hi itjockey
=IF(CELL("Format",A1)="D1" ,"",VLOOKU P(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. .
=IF(CELL("Format",A1)="D1"
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. .
or provide your VLOOKUP Formula only I will merge & revert you back.
ASKER
Vlookup(a5,'app p'! $b$26:$q$1200,16,0)
=IF(CELL("Format",A5)="D1","",VLOOKUP(A5,'app p'! $B$26:$Q$1200,16,False)
=IF(CELL("Format",A1)="D1","",VLOOKUP(A5,'app p'! $B$26:$Q$1200,16,False)
bit confused Cell A1 or A5 so added both .
Thanks
ASKER
Sorry to be a pain...
can you attach a workbook...still cannot get this to work.
can you attach a workbook...still cannot get this to work.
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
for understanding see attached.
Thanks
Book2.xlsx
ASKER
Ok thanks...
how would you amend if a1 is blank and b1 is blank then vlookup..into the above if formula.
how would you amend if a1 is blank and b1 is blank then vlookup..into the above if formula.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
provide your sample workbook.
Thanks
Thanks
Open in new window
.which returns to blank if there is no match up.Thanks