Any Excel exprts out there?

Talk Electrician Forum

Help Support Talk Electrician Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Andy™

©Resident Geordie™
Supporting Member
Joined
Jan 1, 2009
Messages
30,704
Reaction score
1,414
Location
S. Tyneside
i havea formula of

=LOOKUP(D2,$A1:$A21, $B1:$B21)

if there is nothing in 'd2', it shows #N/A. is there any way to make it show a blank box, or '0' instead?

 
sorry, don't have excel.... use open officeand the formula works with open office.

I think you will have to work out a way to get "" as a numerical value... maybe <1
still cant get it to work.

also discovered that my pda which i plan to put it on wont take 'lookup', but will take 'vlookup', so in E2, i now have

=VLOOKUP(D2,A1:B21,2,TRUE)

 
Try this

=IF(CELL("type",D2)="b",0,LOOKUP(D2,$A1:$A21,$B1:$B21))

If Cell D2 is blank ("b") enter 0 else perform LOOKUP.

If you want to leave it blank instead of having the 0 replace the 0 with ""

 
Top