LOOKUP Formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hope there is someone that can help me out. I have tried everything I have
read on eliminating #N/A to appear. I've tried the =IF(ISNA(myformula),"",my
formula). Basically my formula reads like this. It's looking up Prices and
I'm trying to get a return of "$0.00".

If my service code number = 000000000 I need the unit price to remain at
$0.00 I hope this makes sense to someone. Thanks in advance

=LOOKUP(C10,cdm1107!A3:A11480,cdm1107!H3:H11480)
 
Is your service code number, 000000000, a TEXT string or is it a custom
formatted number?
 
It's just a formatted number. My service code number could also be just "0"
if that would make it easier. Thanks
 
=IF(C10=0,0,IF(ISNA(VLOOKUP(C10,cdm1107!A3:H11480,8,0)),"",VLOOKUP(C10,cdm1107!A3:H11480,8,0))
 
OK, try this:

=IF(C10=0,0,LOOKUP(C10,cdm1107!A3:A11480,cdm1107!H3:H11480))
I'm trying to get a return of "$0.00".

Format the cell as CURRENCY 2 decimal places
 
Well that works but I have validation list for my service code numbers, so if
I try to change the service code number, it doesn't look up the price and
leaves it as zero.
 
I don't understand. If this is your formula:

=IF(C10=0,0,LOOKUP(C10,cdm1107!A3:A11480,cdm1107!H3:H11480))

C10 is your data validation drop down list, right?
 
Would you by chance be able to take a look at this? Maybe I'm doing
something else wrong. Thanks
 
Hi there,

I have tried both yours and Valko's formulas and for some reason or another
neither is working. I guess I am doing something wrong. Is there a
possibility I could email this spreadsheet to you. It's a worksheet that I
am trying to develop for work since we do everything maual at the moment. Or
if there is anyone out there that can take a look at it, I would greatly
appreciate it. Thanks Kimo
 
Alright, that's not too big but zip it (compress it) anyhow. My email has
problems with big files. I'm at:

xl can help at comcast period net

Remove "can" and change the obvious.

Include a detailed explanation of what you're tying to do.
 
BTW, I'm using Excel 2002. So if your file is in Excel 2007 format you'll
have to convert it to the xls format.
 
Thanks sent it and zipped it.

T. Valko said:
Alright, that's not too big but zip it (compress it) anyhow. My email has
problems with big files. I'm at:

xl can help at comcast period net

Remove "can" and change the obvious.

Include a detailed explanation of what you're tying to do.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top