#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DP7 DP7 is offline
external usenet poster
 
Posts: 54
Default formula help

Hi I am having an issue with the formula below. It is returning a NA value
for the cells = to 302 & 366. If it is any other value the formula is
functioning fine. Any ideas as to why my formula is not working!! I have try
the vlookups on there own & they work fine.
=IF(OR(H4098=302,H4098=366),VLOOKUP(H4098,'[MOLESKIN PRINTS PRICING
061507.xls]Sheet1'!$A$3:$C$103,3,FALSE),VLOOKUP(H4098,'C:\Doc uments and
Settings\Dwayne\Desktop\[FABRIC PRICE LIST.xls]Sheet1'!$A$2:$E$51,3,FALSE))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default formula help

That suggest that those values do not exist in the lookup table.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"DP7" wrote in message
...
Hi I am having an issue with the formula below. It is returning a NA value
for the cells = to 302 & 366. If it is any other value the formula is
functioning fine. Any ideas as to why my formula is not working!! I have
try
the vlookups on there own & they work fine.
=IF(OR(H4098=302,H4098=366),VLOOKUP(H4098,'[MOLESKIN PRINTS PRICING
061507.xls]Sheet1'!$A$3:$C$103,3,FALSE),VLOOKUP(H4098,'C:\Doc uments and
Settings\Dwayne\Desktop\[FABRIC PRICE
LIST.xls]Sheet1'!$A$2:$E$51,3,FALSE))



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default formula help

I just tested a version of your formula with good results
=IF(OR(H2=302,H2=366),VLOOKUP(H2,H4:M9,3,0),VLOOKU P(H2,H13:L17,3,0))
However, I would write it this way with the if within the lookup
=VLOOKUP(H2,IF(OR(H2=302,H2=366),H4:M9,H13:L17),3, 0)
--
Don Guillett
SalesAid Software

"DP7" wrote in message
...
Hi I am having an issue with the formula below. It is returning a NA value
for the cells = to 302 & 366. If it is any other value the formula is
functioning fine. Any ideas as to why my formula is not working!! I have
try
the vlookups on there own & they work fine.
=IF(OR(H4098=302,H4098=366),VLOOKUP(H4098,'[MOLESKIN PRINTS PRICING
061507.xls]Sheet1'!$A$3:$C$103,3,FALSE),VLOOKUP(H4098,'C:\Doc uments and
Settings\Dwayne\Desktop\[FABRIC PRICE
LIST.xls]Sheet1'!$A$2:$E$51,3,FALSE))


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DP7 DP7 is offline
external usenet poster
 
Posts: 54
Default formula help

thank u bob I fell so dumb. I guess not enough coffe yet

"Bob Phillips" wrote:

That suggest that those values do not exist in the lookup table.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"DP7" wrote in message
...
Hi I am having an issue with the formula below. It is returning a NA value
for the cells = to 302 & 366. If it is any other value the formula is
functioning fine. Any ideas as to why my formula is not working!! I have
try
the vlookups on there own & they work fine.
=IF(OR(H4098=302,H4098=366),VLOOKUP(H4098,'[MOLESKIN PRINTS PRICING
061507.xls]Sheet1'!$A$3:$C$103,3,FALSE),VLOOKUP(H4098,'C:\Doc uments and
Settings\Dwayne\Desktop\[FABRIC PRICE
LIST.xls]Sheet1'!$A$2:$E$51,3,FALSE))




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"