+ Reply to Thread
Results 1 to 10 of 10

If function when multiplying by a none-value cell (VALUE! error)

  1. #1
    Registered User
    Join Date
    07-24-2012
    Location
    burlington WA
    MS-Off Ver
    Excel 2010
    Posts
    54

    If function when multiplying by a none-value cell (VALUE! error)

    Here is the equation that I need to edit. My only issue is that sometimes the W19 is a blank cell and so that annoying Value error shows up. How should I reword the formula to take care of that?
    Thanks for your time

    =IF(E19="","",VLOOKUP(E19,parts_list,21,FALSE))*W19

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: If function when multiplying by a none-value cell (VALUE! error)

    Maybe:

    =IF(E19="","",VLOOKUP(E19,parts_list,21,FALSE))*(W19+0)

    ...or:

    =IF(OR(E19="",W19=""),"",VLOOKUP(E19,parts_list,21,FALSE))*W19
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-24-2012
    Location
    burlington WA
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: If function when multiplying by a none-value cell (VALUE! error)

    They dont work

  4. #4
    Registered User
    Join Date
    07-24-2012
    Location
    burlington WA
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: If function when multiplying by a none-value cell (VALUE! error)

    Actually I think it has something to do with the sheet not updating its refs

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: If function when multiplying by a none-value cell (VALUE! error)

    I'd be happy to look for you. Click GO ADVANCED and use the paperclip icon to post up a copy of your workbook.

  6. #6
    Registered User
    Join Date
    07-24-2012
    Location
    burlington WA
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: If function when multiplying by a none-value cell (VALUE! error)

    Here it is. Im sure the vlookups wont work for you but you get the idea. Too be honest, I cant understand why your formula or mine wont work. I am probably missing something critical. Anyways, thanks for your help.

    Forum Help.xlsx

  7. #7
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: If function when multiplying by a none-value cell (VALUE! error)

    Can you not use the ISERROR inside a IF!

    IF(ISERROR(Your_Formula),"",Your_Formula)

    Edit: Just noticed Excel 2010: IFERROR
    Last edited by Kevin UK; 10-04-2012 at 12:46 PM.

  8. #8
    Registered User
    Join Date
    07-24-2012
    Location
    burlington WA
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: If function when multiplying by a none-value cell (VALUE! error)

    I cant get it to work. can you?

  9. #9
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: If function when multiplying by a none-value cell (VALUE! error)

    In X8 and copy down, if we are in the same area!

    =IFERROR(IF(OR(E8=" ",W8=" "),"",VLOOKUP(E8,parts_list,21,FALSE))*W8,"")

  10. #10
    Registered User
    Join Date
    07-24-2012
    Location
    burlington WA
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: If function when multiplying by a none-value cell (VALUE! error)

    Ah order of operations
    Thanks alot for the great formula

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1