Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Eliminate the #VALUE! response.

I have a vlookup formula where I am looking at three different warehouses to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities when
there are some, but not have the #VALUE response show at all. I would prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 185
Default Eliminate the #VALUE! response.

If you change your ISNA to ISERROR, that traps all errors

--

HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
web:
www.nickhodge.co.uk
blog (non tech): www.nickhodge.co.uk/blog


"inthestands" wrote in message
...
I have a vlookup formula where I am looking at three different warehouses
to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I
assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities
when
there are some, but not have the #VALUE response show at all. I would
prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Eliminate the #VALUE! response.

use IsErr like below, IsErr ignores the ISNA so that you can use both ISNA
and ISERR, just in case you want to keep the ISNA.

=if(iserr(IF(ISNA(VLOOKUP(B2,'data
sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
mod'!$A$2:$M$5803,13,0)),"",IF(ISNA(VLOOKUP(B2,'da ta
sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0)))

"inthestands" wrote:

I have a vlookup formula where I am looking at three different warehouses to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities when
there are some, but not have the #VALUE response show at all. I would prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Eliminate the #VALUE! response.

The problem is that you're adding the results of all the lookups together.
If any return "" that causes the #VALUE! error. You could return 0 instead
of "" and that'll correct the #VALUE! error. Then, if you don't want to see
the result as 0 you could use conditional formatting to hide the 0.

--
Biff
Microsoft Excel MVP


"inthestands" wrote in message
...
I have a vlookup formula where I am looking at three different warehouses
to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I
assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities
when
there are some, but not have the #VALUE response show at all. I would
prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Eliminate the #VALUE! response.

Good Point T Valko.

"T. Valko" wrote:

The problem is that you're adding the results of all the lookups together.
If any return "" that causes the #VALUE! error. You could return 0 instead
of "" and that'll correct the #VALUE! error. Then, if you don't want to see
the result as 0 you could use conditional formatting to hide the 0.

--
Biff
Microsoft Excel MVP


"inthestands" wrote in message
...
I have a vlookup formula where I am looking at three different warehouses
to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I
assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities
when
there are some, but not have the #VALUE response show at all. I would
prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Eliminate the #VALUE! response.

Good Point T Valko.

"T. Valko" wrote:

The problem is that you're adding the results of all the lookups together.
If any return "" that causes the #VALUE! error. You could return 0 instead
of "" and that'll correct the #VALUE! error. Then, if you don't want to see
the result as 0 you could use conditional formatting to hide the 0.

--
Biff
Microsoft Excel MVP


"inthestands" wrote in message
...
I have a vlookup formula where I am looking at three different warehouses
to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I
assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities
when
there are some, but not have the #VALUE response show at all. I would
prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 185
Default Eliminate the #VALUE! response.

If you change your ISNA to ISERROR, that traps all errors

--

HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
web:
www.nickhodge.co.uk
blog (non tech): www.nickhodge.co.uk/blog


"inthestands" wrote in message
...
I have a vlookup formula where I am looking at three different warehouses
to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I
assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities
when
there are some, but not have the #VALUE response show at all. I would
prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Eliminate the #VALUE! response.

use IsErr like below, IsErr ignores the ISNA so that you can use both ISNA
and ISERR, just in case you want to keep the ISNA.

=if(iserr(IF(ISNA(VLOOKUP(B2,'data
sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
mod'!$A$2:$M$5803,13,0)),"",IF(ISNA(VLOOKUP(B2,'da ta
sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0)))

"inthestands" wrote:

I have a vlookup formula where I am looking at three different warehouses to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities when
there are some, but not have the #VALUE response show at all. I would prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Eliminate the #VALUE! response.

The problem is that you're adding the results of all the lookups together.
If any return "" that causes the #VALUE! error. You could return 0 instead
of "" and that'll correct the #VALUE! error. Then, if you don't want to see
the result as 0 you could use conditional formatting to hide the 0.

--
Biff
Microsoft Excel MVP


"inthestands" wrote in message
...
I have a vlookup formula where I am looking at three different warehouses
to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I
assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities
when
there are some, but not have the #VALUE response show at all. I would
prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands



  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Eliminate the #VALUE! response.

Thank you for the 0 vs the "". It did the trick. And thanks to the other
responders for their advice. It is very appreciated.
--
inthestands


"inthestands" wrote:

I have a vlookup formula where I am looking at three different warehouses to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities when
there are some, but not have the #VALUE response show at all. I would prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands



  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Eliminate the #VALUE! response.

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"inthestands" wrote in message
...
Thank you for the 0 vs the "". It did the trick. And thanks to the
other
responders for their advice. It is very appreciated.
--
inthestands


"inthestands" wrote:

I have a vlookup formula where I am looking at three different warehouses
to
locate the amount of material that I have on order. 1 or 2 of the
spreadsheets will sometimes not have the same sku in the warehouse. I
assume
this is why I am getting the #VAULE! Response. I have copied the formula
that I am using. How can I correct it so that I can get the quantities
when
there are some, but not have the #VALUE response show at all. I would
prefer
that a blank shows instead.

=IF(ISNA(VLOOKUP(B2,'data sac'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sac'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
sj'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data
sj'!$A$2:$M$5803,13,0))+IF(ISNA(VLOOKUP(B2,'data
mod'!$A$2:$M$5903,13,0)),"",VLOOKUP(B2,'data mod'!$A$2:$M$5803,13,0))

Thanks in advance
--
inthestands



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
value response Kaputa Excel Discussion (Misc queries) 2 January 6th 06 12:23 AM
Formula so that response is value Kaputa Excel Discussion (Misc queries) 4 January 5th 06 11:49 PM
polar response DaveT Excel Discussion (Misc queries) 1 November 4th 05 03:29 AM
Convert a Yes/No/NA response to a # value or % OdayLadyMJ Excel Worksheet Functions 2 February 21st 05 02:55 PM
can I get some help here? No response yet :) T Excel Worksheet Functions 5 December 22nd 04 07:56 PM


All times are GMT +1. The time now is 05:12 PM.

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

About Us

"It's about Microsoft Excel"