Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula issue please | Excel Worksheet Functions | |||
formula issue | Excel Discussion (Misc queries) | |||
Formula issue | Excel Discussion (Misc queries) | |||
An issue regarding the formula | Excel Discussion (Misc queries) | |||
An issue regarding the formula | Excel Discussion (Misc queries) |