#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default formula issue

I get #value! after using vlookup.......Im trying to multiply the price per
unit by the quantity and then add the shipping the formula is
=sum(F18*B18+G18) F18 gets its info from the vlookup formula which is
=IF(ISNA(VLOOKUP(C18,Table1,3,FALSE)),"",VLOOKUP(C 18,Table1,3,FALSE)) any
ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default formula issue

On Wed, 30 Apr 2008 22:47:33 -0700, chrisbmo2000
wrote:

I get #value! after using vlookup.......Im trying to multiply the price per
unit by the quantity and then add the shipping the formula is
=sum(F18*B18+G18) F18 gets its info from the vlookup formula which is
=IF(ISNA(VLOOKUP(C18,Table1,3,FALSE)),"",VLOOKUP( C18,Table1,3,FALSE)) any
ideas?


It looks like you have provided a value in C18 that is not found in
the table and thus giving the cell F18 to hold "".
Trying to multiply that "" with the number in B18 gives #VALUE! error.

So, what is the expected result in the case C18 can not be found in
the table?

/Lars-Åke
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default formula issue

First, you don't need =sum()

=f18*b18+g18
would work ok. But I'd use ()'s:
=(f18*b18)+g18

You could change the =vlookup() to return a 0 instead of text ("" is text).
=IF(ISNA(VLOOKUP(C18,Table1,3,FALSE)),0,VLOOKUP(C1 8,Table1,3,FALSE))

Or you could change the formula:
=(n(f18)*b18)+g18




chrisbmo2000 wrote:

I get #value! after using vlookup.......Im trying to multiply the price per
unit by the quantity and then add the shipping the formula is
=sum(F18*B18+G18) F18 gets its info from the vlookup formula which is
=IF(ISNA(VLOOKUP(C18,Table1,3,FALSE)),"",VLOOKUP(C 18,Table1,3,FALSE)) any
ideas?


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default formula issue

Thanks for the options but Im still getting #value! it says it refers to
empty cells
any more ideas?

"Dave Peterson" wrote:

First, you don't need =sum()

=f18*b18+g18
would work ok. But I'd use ()'s:
=(f18*b18)+g18

You could change the =vlookup() to return a 0 instead of text ("" is text).
=IF(ISNA(VLOOKUP(C18,Table1,3,FALSE)),0,VLOOKUP(C1 8,Table1,3,FALSE))

Or you could change the formula:
=(n(f18)*b18)+g18




chrisbmo2000 wrote:

I get #value! after using vlookup.......Im trying to multiply the price per
unit by the quantity and then add the shipping the formula is
=sum(F18*B18+G18) F18 gets its info from the vlookup formula which is
=IF(ISNA(VLOOKUP(C18,Table1,3,FALSE)),"",VLOOKUP(C 18,Table1,3,FALSE)) any
ideas?


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default formula issue

GOT IT SOLVED THANKS ALOT EVERYONE

"chrisbmo2000" wrote:

I get #value! after using vlookup.......Im trying to multiply the price per
unit by the quantity and then add the shipping the formula is
=sum(F18*B18+G18) F18 gets its info from the vlookup formula which is
=IF(ISNA(VLOOKUP(C18,Table1,3,FALSE)),"",VLOOKUP(C 18,Table1,3,FALSE)) any
ideas?

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
Formula issue please Steved Excel Worksheet Functions 4 February 28th 07 06:30 PM
formula issue AlienBeans Excel Discussion (Misc queries) 7 May 30th 06 04:47 AM
Formula issue kelljeff Excel Discussion (Misc queries) 3 April 3rd 06 07:26 PM
An issue regarding the formula HuaMin Excel Discussion (Misc queries) 2 December 7th 05 03:39 PM
An issue regarding the formula HuaMin Excel Discussion (Misc queries) 0 December 7th 05 09:07 AM


All times are GMT +1. The time now is 06:02 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"