+ Reply to Thread
Results 1 to 10 of 10

#VALUE! Error

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    #VALUE! Error

    I am totaling rows of data and am getting the value error on some of the rows #VALUE! (see example below)

    I would like to have this formula ignore cells when there are formulas but no values, for example C7, getting rid of the value error.

    =SUM(C$2*C7,D$2*D7,E$2*E7,F$2*F7,G$2*G7,H$2*H7,I$2*I7,J$2*J7,K$2*K7,L$2*L7,M$2*M7,N$2*N7)

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: #VALUE! Error

    Maybe using IFERROR function

    =IFERROR(SUM(C$2*C7,D$2*D7,E$2*E7,F$2*F7,G$2*G7,H$2*H7,I$2*I7,J$2*J7,K$2*K7,L$2*L7,M$2*M7,N$2*N7),"")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Re: #VALUE! Error

    Thank you for this info. However, I used your formula, and am not getting a sum for the other values. I need a sum for the cells that do have values in them.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: #VALUE! Error

    May be you should try this.....

    Please Login or Register  to view this content.
    Does this help?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: #VALUE! Error

    The IFEEROR is to hide errors only and it does not effect calculations.

    Maybe you can upload a spreadsheet with some examples where it shows errors.

  6. #6
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Re: #VALUE! Error

    Attached is a sample spreadsheet - thanks!
    Attached Files Attached Files

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: #VALUE! Error

    Have no idea what you're wanting to do based on that file.

    There are no formulas and the formula you posted in reply #1 doesn't match the data structure.

    In column N you have these constant cell values:

    Data Range
    N
    1
    2
    TOTAL
    3
    281
    4
    313
    5
    303
    6
    207
    7
    #VALUE!
    8
    #VALUE!
    9
    #VALUE!
    10
    277


    What do they mean?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: #VALUE! Error

    Try this on your test sheet

    =SUMPRODUCT(($B$1:$M$1)*(B3:M3&0))/10

  9. #9
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Re: #VALUE! Error

    sorry, my attempt at attaching a sample spreadsheet did not work well.

    Basically what I am trying to do is include in my calculation cells that may have a formula in them yet show empty. The cells reference another worksheet so the C11s, E11s, etc. may be =DATAINPUT!C$11 or =DATAINPUT!E$11, and the C11 may be empty since there is no value to bring over, and the E11 may have a value of 10. Hopefully this helps to clarify. What seems to be the problem are the C11 type cells with no value.

    =SUM(C$2*C11,D$2*D11,E$2*E11,F$2*F11,G$2*G11,H$2*H11,I$2*I11,J$2*J11,K$2*K11,L$2*L11)

  10. #10
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: #VALUE! Error

    Did you try?
    In N3
    Please Login or Register  to view this content.
    and copy down.

+ 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. [SOLVED] Run-tim error -2147467259(80004005): Automation error Unspecidied error
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2014, 12:12 PM
  2. Excel macro (compile error. syntax error.) error
    By salar_younis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-06-2014, 06:11 AM
  3. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  4. Error 75 File/Path access error, sometimes Error 1004
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-16-2011, 02:35 PM
  5. [SOLVED] Error Handling - On Error GoTo doesn't trap error successfully
    By David in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2006, 02:10 PM

Tags for this Thread

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