Finding the sum value between two date

rameshppc

Board Regular
Joined
Jun 10, 2017
Messages
114
Office Version
  1. 2013
Platform
  1. Windows
HI GOOD EVENING...

I HAVE EXPENSES CHART WITH DATE WISE DATA. I NEED TO PUT THE SUM VALUE OF EXPENSES FROM ONE DATE TO ANOTHER AND ALSO THE FROM AND TO DATE WILL BE VARY FOR THE ADJUSTMENT CELLS.

CHART - 1


<tbody>
</tbody>
DATE
EXPENSE NAME
AMOUNT
05/09/2018
STATIONARY
1500
05/09/2018FANCY
200
06/09/2018
FOOD
450
07/09/2018
GAMES
100

<tbody>
</tbody>

CHART - 2
A B C
CELL
DATE
AMOUNT
1
05/09/2018
10,000
2
07/09/2018
550
3
15/10/2018

<tbody>
</tbody>


PLS SEE THE CHART - 2, I WILL FILL THE DATE COLUMN MANUALLY, THE AMOUNT COLUMN NEED TO GENERATE AS BELOW

"C2" = EXPENSES CALCULATE FROM 06/09/2018 TO 07/09/2018
"C3" = EXPENSES CALCULATE FROM 08/09/2018 TO 15/10/2018

KINDLY ADVISE...
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
See if this, copied down is what you want.

Excel Workbook
ABC
1DATEEXPENSE NAMEAMOUNT
25/09/2018STATIONARY1500
35/09/2018FANCY200
46/09/2018FOOD450
57/09/2018GAMES100
67/09/2018100
77/09/2018300
810/09/2018250
911/09/2018400
1020/10/2018100
11
12DATEAMOUNT
135/09/2018950
147/09/2018650
1515/10/2018
16
Sumifs




BTW, the forum prefers that you do not use all upper case letters when making posts. refer to #14 of the Forum Rules
 
Upvote 0
Thanks a lot for your perfect formula..

Its working awesome..

I want to learn from your below formula...
=IF(A14="","",SUMIFS(C$2:C$10,A$2:A$10,">"&A13,A$2:A$10,"<="&A14))

can you pls explain that, How do the "" works in this formula?
 
Upvote 0
Thanks a lot for your perfect formula..
You're welcome. :)


I want to learn from your below formula...
=IF(A14="","",SUMIFS(C$2:C$10,A$2:A$10,">"&A13,A$2:A$10,"<="&A14))

can you pls explain that, How do the "" works in this formula?
I'm not certain which inverted commas you are asking about - the ones near the start of the formula of the ones in the green section?

For some general information about SUMIFS & its syntax, here are a couple of references.
https://support.office.com/en-us/article/sumifs-function-c9e748f5-7ea7-455d-9406-611cebce642b
https://exceljet.net/excel-functions/excel-sumifs-function
 
Upvote 0

Forum statistics

Threads
1,215,501
Messages
6,125,169
Members
449,212
Latest member
kenmaldonado

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