+ Reply to Thread
Results 1 to 3 of 3

Formula Returns #Value Instead of 0

  1. #1
    Registered User
    Join Date
    09-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Formula Returns #Value Instead of 0

    Hello,

    I know this is probably something simple but I cannot figure it out. I need the formula in cell H4 to return 0.00 instead of #Value if no data is selected from dropdown on Matrix tab and no data is entered in D4:G4 on Tab 1.

    On tab 1, cell O2 returns the value from dropdown list in cell H3 of Matrix tab. If nothing selected in cell H3 of Matrix tab, then cell O2 remains blank on tab 1. However, if there is a selection made from the dropdown list in cell H3 of Matrix tab, it will show in cell O2 of tab 1.

    Cell H4 of tab 1 should calculate: =SUM(D4:G4)/O2

    If nothing is in cell O2 of tab 1, H4 needs to show 0.00 instead of #Value. Same for cell H7.

    What am I missing in my formula?

    Thanks in advance for your assistance. It is greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2021
    Posts
    5,928

    Re: Formula Returns #Value Instead of 0

    Try this:

    =IFERROR(SUM(D4:G4)/O2,0)

  3. #3
    Registered User
    Join Date
    09-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Formula Returns #Value Instead of 0

    That worked perfectly!!! Thank you so much!!!


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 10-28-2019, 07:16 AM
  2. Replies: 4
    Last Post: 08-06-2018, 07:54 AM
  3. [SOLVED] VLOOKUP formula does not return expected value. Suspected error in formula. Returns N/A
    By ZMAFC94 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-31-2018, 04:33 AM
  4. [SOLVED] Change Index/Match Formula to Skip if formula returns N/A?
    By Jamidd1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-26-2017, 06:36 PM
  5. [SOLVED] Index, Match formula returns #NA error if result is from an average formula.
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-28-2016, 11:43 AM
  6. [SOLVED] Array formula returns zero, but evaluate formula shows a value
    By GriffinCarpenter in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-27-2015, 07:53 AM
  7. [SOLVED] Remove Blank Cells Formula when prior formula returns blanks
    By gmsninja in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2013, 03:39 AM

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