How to sum the cells that have currencies in negative numbers only ?

Dhanola

New Member
Joined
Nov 8, 2022
Messages
8
Office Version
  1. 2021
  2. 2019
  3. 2016
Platform
  1. Windows
Hey there I have an excel file which is in the following format:





Image







you can download its template from here:





Any year expense calendar


As you can see that in this we have the columns "amount" and "description". Now I want to ask if I want to sum up those cells which have negative numbers in the amount columns from the whole excel table and store only those negative amounts sum in a cell?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Welcome to the Board!

I do not see any negative numbers in your screen print, but I think you should be able to use SUMIF in order to sum only the negative numbers.
So that would look something like:
=SUMIF(range,"<0")

See here for more details on SUMIF: MS Excel: How to use the SUMIF Function (WS)
 
Upvote 0
here is an example



1667935216287.png





as you can see there is negative amount now i want to add these negative amount from whole excel sheet and store it in a seperate cell anywhere but in the same sheet. AND ALSO I WANT THIS SUM TO BE OF TAKEN BY ALL THE MONTHS.
 
Upvote 0
here is an example



View attachment 78186




as you can see there is negative amount now i want to add these negative amount from whole excel sheet and store it in a seperate cell anywhere but in the same sheet. AND ALSO I WANT THIS SUM TO BE OF TAKEN BY ALL THE MONTHS.
SO IN SEPERATE CELL WHERE THESE NEGATIVE AMOUNT WILL SUM MUST GIVE VALUE AS -220+(-40)=-260
 
Upvote 0
Just include the ENTIRE range you want to sum. Do not worry if there are text entries in it, it will just ignore those, i.e.
Excel Formula:
=SUMIF(F588:O595,"<0")
as long as you do not have any errors in the range you are trying to sum, it should work.
 
Upvote 0

Forum statistics

Threads
1,214,984
Messages
6,122,601
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top