+ Reply to Thread
Results 1 to 6 of 6

Sumifs Not equal to

  1. #1
    Registered User
    Join Date
    02-15-2014
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    76

    Sumifs Not equal to

    I'm having a problem with sumifs and <>, I am using a similar formula all throughout an excel doc and it's working great except when I try to exclude items. I've done this a number of ways, including setting a second column to take the column I'm referencing to make sure it's all in a general format and to make sure it was all in number format and this isnt working. I've tried referencing a cell containing the numbers, I've tried "<>"&"306688", but still can't seem to get the formula working.

    Any ideas?

    HTML Code: 

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

    Re: Sumifs Not equal to

    You don't need the SUM function.

    Can you post a SMALL sample file and show us what result you expect?

    A SMALL file will have about 20 rows worth of data.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    02-15-2014
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    76

    Re: Sumifs Not equal to

    Here is a sample file: http://www.filedropper.com/book1_13

    I know the sum wrap isn't necessary, but when I do an array it is so I kept it, however, I did try the formula without it.

    I placed the formula in R1 in the example. The total SHOULD be showing me 8.17, showing me the N15 only, however, the formula is also including n13, ignoring my <>306688 reference.

    Thank you!

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

    Re: Sumifs Not equal to

    The data in column B is TEXT even though most of it looks like numbers.

    Here's what I did to get the correct result...

    Select the range B2:B23
    Goto the Data tab>Text to Columns>Click Finish

    Note how the numeric data in column B is now aligned to the right.

    The formula now returns the expected result.

  5. #5
    Registered User
    Join Date
    02-15-2014
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    76
    Quote Originally Posted by Tony Valko View Post
    The data in column B is TEXT even though most of it looks like numbers.

    Here's what I did to get the correct result...

    Select the range B2:B23
    Goto the Data tab>Text to Columns>Click Finish

    Note how the numeric data in column B is now aligned to the right.

    The formula now returns the expected result.
    Some of the data is going to be text as well. This info will all trigger from an automatic report, is there something I can put in the formula to counter this difference?

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

    Re: Sumifs Not equal to

    Half of your data is TEXT (even though it's numbers). This will only make things more complicated than need be.

    You can leave the data "as is" and use this formula:

    =SUMPRODUCT(--(I2:I100=Q1&""),--(G2:G100=Q1&""),--(B2:B100<>"306688"),--(E2:E100="RETAIL"),--(M2:M100=0),N2:N100)

+ 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] Sumifs not equal to more than one condition in the same range
    By jomili in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-29-2016, 02:53 PM
  2. sumifs if worksheet name is equal to cell value
    By annazet in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-21-2015, 07:31 AM
  3. Sumifs not equal to
    By Shoemate in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-14-2015, 01:50 PM
  4. Sumifs not equal to
    By Shoemate in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-13-2015, 11:13 AM
  5. [SOLVED] sumifs does not equal
    By rs1aj in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 06-17-2015, 10:22 PM
  6. SumIfs containing a greater than or equal to And less than or equal to
    By teton88 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-15-2014, 07:47 PM
  7. [SOLVED] SUMIFS greater than or equal
    By telton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-11-2013, 04:55 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