+ Reply to Thread
Results 1 to 13 of 13

Issue With Not Equal To in SUMIFS Formula

  1. #1
    Registered User
    Join Date
    03-06-2015
    Location
    Oxford, NC
    MS-Off Ver
    2010
    Posts
    7

    Issue With Not Equal To in SUMIFS Formula

    Can anyone tell me why the "<>5101" is not working in this formula?

    =SUMIFS(Table_CAFR.accdb[Current Year],Table_CAFR.accdb[Fund Group],510,Table_CAFR.accdb[Fund],"<>5101",Table_CAFR.accdb[Object],"741*")

    I would appreciate any guidance. Thanks in advance for your assistance.

    Kathy
    Attached Files Attached Files
    Last edited by Comptka; 03-06-2015 at 01:42 PM. Reason: Attached File

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Issue With Not Equal To in SUMIFS Formula

    Can you post sample data for me to play around with?

    you can try
    Please Login or Register  to view this content.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    03-06-2015
    Location
    Oxford, NC
    MS-Off Ver
    2010
    Posts
    7

    Re: Issue With Not Equal To in SUMIFS Formula

    I tried that and it did not work; I also tried single quotes around the 5101 thinking it may have something to do with formatting. I did not see a way to attach a file so I just copied some data in. The columns don't line up.
    Attached Files Attached Files
    Last edited by Comptka; 03-06-2015 at 01:44 PM. Reason: Attach File

  4. #4
    Registered User
    Join Date
    03-06-2015
    Location
    Oxford, NC
    MS-Off Ver
    2010
    Posts
    7

    Re: Issue With Not Equal To in SUMIFS Formula

    I went back and attached file to original post.

    Thanks,

    Kathy

  5. #5
    Registered User
    Join Date
    03-06-2015
    Location
    Oxford, NC
    MS-Off Ver
    2010
    Posts
    7

    Re: Issue With Not Equal To in SUMIFS Formula

    I know I can do a second sumifs that subtracts the total for the 5101, but I really would prefer to have it in one sumifs and want to understand why it does not work.

    Please see attached with formula that will not work.
    Attached Files Attached Files
    Last edited by Comptka; 03-06-2015 at 01:53 PM. Reason: Attach File With Formula

  6. #6
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Issue With Not Equal To in SUMIFS Formula

    The example you posted doesn't have a formula anywhere, and the Fund: 5101 is TEXT not a number, so you cannot do math or less than on a text.

  7. #7
    Registered User
    Join Date
    03-06-2015
    Location
    Oxford, NC
    MS-Off Ver
    2010
    Posts
    7

    Re: Issue With Not Equal To in SUMIFS Formula

    Okay so it is because it is math. Is there something you can use in place of <> for text in an excel formula?

  8. #8
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Issue With Not Equal To in SUMIFS Formula

    Nope.

    You can convert the entire column to a number with the TextToColumns feature then your formula should work.

  9. #9
    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: Issue With Not Equal To in SUMIFS Formula

    =SUMIFS(F2:F5,B2:B5,"<>5101",D2:D5,"741*")

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    1
    Fund Group Fund Char Code Object a_account_desc Current Year Result
    2
    510 5100 7I 741000 INTEREST PAYMENTS
    -
    1176371.41
    3
    510 4100 7I 741100 INTEREST GENERAL OBLIGATON BDS
    -
    4
    510 5100 7I 741100 INTEREST GENERAL OBLIGATON BDS
    1,361,717.97
    5
    510 5101 7I 741100 INTEREST GENERAL OBLIGATON BDS
    (185,346.56)
    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

  10. #10
    Registered User
    Join Date
    03-06-2015
    Location
    Oxford, NC
    MS-Off Ver
    2010
    Posts
    7

    Re: Issue With Not Equal To in SUMIFS Formula

    I changed the format to number and it still does not work???
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    03-06-2015
    Location
    Oxford, NC
    MS-Off Ver
    2010
    Posts
    7

    Re: Issue With Not Equal To in SUMIFS Formula

    The result you are getting is the same result I am getting. The answer should not include line 5, fund 5101 ($185,346.56). The result should be $1,361,717.97. I converted the fund to number and am still getting the same result.

    To clarify what I am trying to accomplish.

    I need the total for the current year for all of Fund Group 510 except fund 5101, where the object starts with 741.
    Last edited by Comptka; 03-06-2015 at 02:25 PM.

  12. #12
    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: Issue With Not Equal To in SUMIFS Formula

    Then this

    =SUMIFS(F2:F5,F2:F5,">0",B2:B5,"<>5101",D2:D5,"741*")

  13. #13
    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: Issue With Not Equal To in SUMIFS Formula

    If you convert values in column B to numbers the first formula will give you result $1,361,717.97

    Please see attached file
    Attached Files Attached Files

+ 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. sumifs + offset formula issue
    By jw01 in forum Excel General
    Replies: 6
    Last Post: 02-11-2015, 11:05 AM
  2. [SOLVED] SumIfs Formula With Multiple Not Equal To Criteria
    By zmster2033 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-07-2014, 05:08 PM
  3. 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
  4. SUMIFS Formula Issue
    By keithd203 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2013, 04:15 PM
  5. [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