• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Sumif formula mistake

sachar

Member
Dear All,

With reference to the attached sample file, when I apply the following formula in cell “B20” that is not working to avoid the duplication of negative value in the “Total Housing”.

upload_2017-10-12_12-1-19.png

May I know what should I do to get the correct input?
 

Attachments

  • example file_sumif formula.xlsx
    14.5 KB · Views: 6
Hi ,

The correct function to use in such situations is the SUBTOTAL function , which ignores nested SUBTOTAL function outputs.

See the attached file.

Narayan
 

Attachments

  • Sample File.xlsx
    14.5 KB · Views: 12
Dear Narayank,

Actually, what I want it will be cleared with the attach a sample file, is there any formula to get the sum of the only negative value of the total rows as I got the answer in cell “B20” by manual calculation.

Thanking you.
 

Attachments

  • example file_sumif formula.xlsx
    17.6 KB · Views: 6
Hi, to all!

@sachar, this could be and option:
=SUMIFS(B2:B61,B2:B61,"<0",A2:A61,"Total*")

Blessings!
Hello, As per my understanding the below formula give the negative value but it double on housing expenses(Electricity bill & Household furnishings and equipment).

=SUMIFS(B2:B19,B2:B19,"<0")

Please clarify my doubt.
Regards,
Thangavel D
 
Back
Top