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?
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?
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".
So I want to sum column A where column B is not Cash at Bank
You, my friend, are a genius!![]()
Great, except my value is text
try this
=SUMIF(A1:A10,"<>A123",B1:B10)
where cell A2 has the criterion value.Formula:![]()
=SUMIF(Range1, "<>"&A2, Range2)
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
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks