+ Reply to Thread
Results 1 to 5 of 5

SUMIFS error= #VALUE!

  1. #1
    Registered User
    Join Date
    04-12-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    9

    SUMIFS error= #VALUE!

    Hi, I am getting an error that says a value used in the formula is of the wrong data type. I have attached my workbook. The formula is at Sheet 2 cell B2.


    My formula is =SUMIFS(Sheet1!$C$2:$N$34,Sheet1!$B$2:$B$34,Sheet2!$A2,Sheet1!$O$2:$O$34,Sheet2!$N2,Sheet1!$P$2:$P$34,Sheet2!$O2,Sheet1!C1:N1,Sheet2!B1)


    Thanks for any of your help!


    P.S: The information in this excel sheet is random and non-fiction.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: SUMIFS error= #VALUE!

    Hi

    Sheet2 cell B2 =SUMPRODUCT((Sheet1!$B$2:$B$34=$A2)*(Sheet1!$C$1:$N$1=B$1)*(Sheet1!$O$2:$O$34=$N2)*(Sheet1!$P$2:$P$34=$O2),Sheet1!$C$2:$N$34) Then copy down and cross

    regard
    micope21
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  3. #3
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: SUMIFS error= #VALUE!

    Hi

    Sheet2 cell B2 =SUMPRODUCT((Sheet1!$B$2:$B$34=$A2)*(Sheet1!$C$1:$N$1=B$1)*(Sheet1!$O$2:$O$34=$N2)*(Sheet1!$P$2:$P$34=$O2),Sheet1!$C$2:$N$34) Then copy down and cross

    regard
    micope21

  4. #4
    Registered User
    Join Date
    04-12-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: SUMIFS error= #VALUE!

    Hi, the formula provided works but I would like to know the reason why my formula doesn't work so I wouldn't make the same mistake the next time. Any idea? Cos I'm really clueless.

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

    Re: SUMIFS error= #VALUE!

    =SUMIFS(Sheet1!$C$2:$N$34,Sheet1!$B$2:$B$34,Sheet2!$A2,Sheet1!$O$2:$O$34,Sheet2!$N2,Sheet1!$P$2:$P$34,Sheet2!$O2,Sheet1!C1:N1,Sheet2!B1)

    The problem is that all the ranges have to be the same size. Your sum range is 2 dimensional while the criteria ranges are 1 dimensional.

    Also, the last criteria range is horizontal while the other criteria ranges are vertical.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] If error(sumifs......
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-16-2013, 02:13 PM
  2. Sumifs Formula Error
    By Hudson in forum Excel General
    Replies: 3
    Last Post: 02-17-2012, 03:16 PM
  3. SUMIFS and #VALUE! error
    By BDAtlanta in forum Excel General
    Replies: 3
    Last Post: 09-18-2011, 08:43 PM
  4. Excel 2007 : SUMIFS function & #VALUE error
    By arangoa79 in forum Excel General
    Replies: 7
    Last Post: 11-19-2009, 06:00 PM
  5. SUMIFS() error?
    By fgrose in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-07-2006, 01:45 PM

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