+ Reply to Thread
Results 1 to 15 of 15

SUMIFS returning #VALUE!

  1. #1
    Registered User
    Join Date
    03-14-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    41

    SUMIFS returning #VALUE!

    I am getting a #VALUE! return on my SUMIFS formulas on my spreadsheet. When I click on the little yellow box that pops up it says: A value used in the formula is of the wrong data type. I have changed the whole spreadsheet to be in General format. Still I received the same error, even when I re-enter the formula in a new cell, even when I "clear all" in another cell and re-enter the formula. I am confident I am using the SUMIFS formula correctly. I do it manually and by using the formual entry boxes. My conditions do include words and the sum cells are sums themselves of other cells. But I went into a brand new spreadsheet and made up examples of those same conditions, then entering the SUMIFS formula, and I do not get an error message. Your thoughts? This is a huge, complex workbook. Is is corrupted? Your thoughts? Puzzled and rather frustrate...

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: SUMIFS returning #VALUE!

    I doubt it is corrupted, you are probably trying to use data that looks like a number, but is actually text. Formatting your data to anything (other than text) will not change things - all formatting does is to change how data is shown (the cosmetics, if you will), it does not change or alter the actual data in a cell.

    Without seeing a sample of what you are working with, it is almost impossible to say what might be causing the problem, but try and break down your sumifS() function into a number of smaller sumif() functions and see if you can identify what part of the function is causing the error?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-14-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: SUMIFS returning #VALUE!

    I have entered sumif formulas with the different criteria, and the sumif functions work. How do I change the data format in more than a cosmetic way?

  4. #4
    Registered User
    Join Date
    01-21-2013
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: SUMIFS returning #VALUE!

    Can you attach the workbook for us to take a look at?

  5. #5
    Registered User
    Join Date
    03-14-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: SUMIFS returning #VALUE!

    I cannot get the file small emough to send. I got it down to 1.27 MB with only 1 worksheet and 15 columns by 20 rows. In the original file some of the criteria data came from a data validation drop-down list. I thought maybe that was the problem--it shouldn't be, but maybe that was the source of the data type issue--but even eliminating that I still have the same problem.

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

    Re: SUMIFS returning #VALUE!

    Hi HarvardMajesty

    Your profile says Excel 2003. SUMIFS will not work in that version.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  7. #7
    Registered User
    Join Date
    03-14-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: SUMIFS returning #VALUE!

    I am using Excel 2010. The original spreadsheet was a 2003 and has been updated through the years.

  8. #8
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIFS returning #VALUE!

    Can you just post the formula?

    Sounds like you may not have all ranges the same size - if they aren't you get #VALUE! error
    Audere est facere

  9. #9
    Registered User
    Join Date
    03-14-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: SUMIFS returning #VALUE!

    By same size = same column width?

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: SUMIFS returning #VALUE!

    more like, columnb length

    can you at leasst post the formula here?

  11. #11
    Registered User
    Join Date
    03-14-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: SUMIFS returning #VALUE!

    OK: this is the spreadsheet below. There are multiple SUMIFS formulas, all of which result in the #VALUE result. The 1st one is in E17. The formula is =SUMIFS(E12:G12,A2:A11,B18,D2:D11,B20).

    Column/row B C D E F G H
    row 2 TypeTx HDR DX Office SH Chest Wall SH H&N SH Skin
    row 3 SH Chest Wall North 1
    row 4 SH H&N North 1
    row 5 SH Skin North 1
    row 6 SH Chest Wall South 1
    row 7 SH H&N South 1
    row 8 SH Skin South 1
    row 9 SH Chest Wall East 1
    row 10 SH H&N East 1
    row 11 SH Skin East 1
    row 12 Totals 3 3 3
    row 13
    row 14
    row 15
    row 16 List of Criteria Options Criteria Function Result
    row 17 HDR North SH sumifs #VALUE! this should be 3
    row 18 SH East SH sumifs #VALUE! this should be 3
    row 19 East South SH sumifs #VALUE! this should be 3
    row 20 North South Chest Wall sumifs #VALUE! This should be 1
    row 21 South Total SH Skin sumifs #VALUE! This should be 1
    row 22 Chest Wall
    row 23 H&N
    row 24 Skin Total SH sumif 3 this should be 9
    row 25 Total SH sumif #VALUE! this should be 9
    row 26 Total North sumif 3 this should be 3
    row 27 Total South sumif 1 this should be 3

  12. #12
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: SUMIFS returning #VALUE!

    when you copy/paste into here, often the formatting/spacing/columns gets all messed up. Its hard to see where 1 set of data ends and another 1 starts with what you pasted can you copy that into a file on its own and upload that please?

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

    Re: SUMIFS returning #VALUE!

    =SUMIFS(E12:G12,A2:A11,B18,D2:D11,B20)
    Your sum range is a horizontal array while the criteria ranges are vertical arrays.

    Is that the correct formula you're trying to use?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  14. #14
    Registered User
    Join Date
    03-14-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: SUMIFS returning #VALUE!

    Really? I cannot sum horizontally? Then.....how DOES one sum horizontally?

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

    Re: SUMIFS returning #VALUE!

    You can, but not like you're trying with the SUMIFS function.

    Based on the SUMIFS function I don't understand what you're wanting to sum.

    If you can't post the original file make up a SMALL sample file that demonstrates what you want to do and make sure you tell us what result you expect.

+ 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