+ Reply to Thread
Results 1 to 7 of 7

sumif returning correct total while sumifs returns #value

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    Greeville, SC
    MS-Off Ver
    Excel 2007
    Posts
    4

    sumif returning correct total while sumifs returns #value

    Hello,

    I'm new to the forum but have used the information a lot in the past to help solve some issues I've had with Excel and my sales reports.

    I've used sumif and sumifs at length to create a variety of different reports from our database. That being said I've run into a problem with a new report I'm creating.

    I need to create totals based on multiple criteria. When I use the sumifs formula as I have in the past, I receive a #value in the cell. Without changing any formatting, I use the sumif function on the one criteria that seems to be the problem and it returns a correct total.

    Example:

    =sumifs(quantity,companyname,$a2,price,">65") returns #value

    =sumif(companyname,$a2,quantity) returns the correct total

    Has anyone had this problem in the past?

    Thanks,

    Mike

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: sumif returning correct total while sumifs returns #value

    Try this:

    =sumifs(quantity,companyname,"="&$a2,price,">65") returns #value
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-01-2013
    Location
    Greeville, SC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: sumif returning correct total while sumifs returns #value

    Thank you but it is still returning #value

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: sumif returning correct total while sumifs returns #value

    Try removing the $ sign. Not sure if absolute format will affect this or not.

  5. #5
    Registered User
    Join Date
    02-01-2013
    Location
    Greeville, SC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: sumif returning correct total while sumifs returns #value

    Thanks but same result

  6. #6
    Registered User
    Join Date
    02-01-2013
    Location
    Greeville, SC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: sumif returning correct total while sumifs returns #value

    Problem solved. thanks for the help.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: sumif returning correct total while sumifs returns #value

    Would you like to share your solution in hopes that it may help others in the future.

+ 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