+ Reply to Thread
Results 1 to 8 of 8

Reverse SUMIF formula

Hybrid View

quantumag Reverse SUMIF formula 06-05-2015, 03:02 AM
sweep Re: Reverse SUMIF formula 06-05-2015, 03:07 AM
quantumag Re: Reverse SUMIF formula 06-05-2015, 03:09 AM
quantumag Re: Reverse SUMIF formula 06-05-2015, 03:13 AM
quantumag Re: Reverse SUMIF formula 06-05-2015, 03:09 AM
JohnTopley Re: Reverse SUMIF formula 06-05-2015, 03:09 AM
TMS Re: Reverse SUMIF formula 06-05-2015, 03:10 AM
TMS Re: Reverse SUMIF formula 06-05-2015, 03:17 AM
  1. #1
    Registered User
    Join Date
    02-18-2013
    Location
    Windsor, Australia
    MS-Off Ver
    Excel 2013
    Posts
    77

    Reverse SUMIF formula

    I need to do a number of SUMIF functions, however in reverse. So instead of a specific value as the criteria, I want the criteria to be everything BUT that specific value. In otherwords, I am trying to exclude that value from the sum. Any ideas?

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Reverse SUMIF formula

    Hi,

    Like this to sum column A where column B is not 1?

    =SUMIF(B1:B6,"<>1",A1:A6)
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    02-18-2013
    Location
    Windsor, Australia
    MS-Off Ver
    Excel 2013
    Posts
    77

    Re: Reverse SUMIF formula

    So I want to sum column A where column B is not Cash at Bank

  4. #4
    Registered User
    Join Date
    02-18-2013
    Location
    Windsor, Australia
    MS-Off Ver
    Excel 2013
    Posts
    77

    Re: Reverse SUMIF formula

    You, my friend, are a genius!

  5. #5
    Registered User
    Join Date
    02-18-2013
    Location
    Windsor, Australia
    MS-Off Ver
    Excel 2013
    Posts
    77

    Re: Reverse SUMIF formula

    Great, except my value is text

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,879

    Re: Reverse SUMIF formula

    try this

    =SUMIF(A1:A10,"<>A123",B1:B10)

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,459

    Re: Reverse SUMIF formula

    Formula: copy to clipboard
    =SUMIF(Range1, "<>"&A2, Range2)
    where cell A2 has the criterion value.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,459

    Re: Reverse SUMIF formula

    You're welcome. Thanks for the rep.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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] Reverse formula
    By yeritson in forum Excel General
    Replies: 3
    Last Post: 05-04-2015, 10:08 AM
  2. [SOLVED] Reverse strings udf function to reverse numbers
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2015, 07:03 AM
  3. Replies: 4
    Last Post: 12-04-2014, 02:06 PM
  4. reverse sum formula
    By moesoap in forum Excel General
    Replies: 4
    Last Post: 06-12-2010, 08:24 AM
  5. [SOLVED] How to reverse this formula?
    By mumbles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2006, 06:50 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