Hello Everybody!
I had tried to be as descriptive as possible in the title. My excel problem is this --
Daily sales are recorded in column B against dates(dd/mm/yyyy) in column A.
Sometimes there are more than one record of sale for a day, and sometimes no sale at all for another day.
What I want is --
In the column C, a blank is displayed whilst it still is the same month for sales records except for the last record where it should display the sum of all sales of that month till that point of time(date); and when the month changes, the total for all sales for the last month be displayed in the cell in column C against the last date for sales in the last month, and again blanks to be displayed against the advancing date-wise sale records except for the last one where it should display the total of sales in this new month till that point of time(date).
For Example:--
Date **** Amount **** CumulativeMonthlyAmount
01-04-2014 **** 500
02-04-2014 **** 1000
02-04-2014 **** 1250
09-04-2014 **** 200
09-04-2014 **** 2000
09-04-2014 **** 500
09-04-2014 **** 800
29-04-2014 **** 3600
31-04-2014 **** 300 **** 12600
01-05-2014 **** 2450
08-05-2014 **** 1250
18-05-2014 **** 900
18-05-2014 **** 700
30-05-2014 **** 4500 **** 9800
03-06-2014 **** 1800
06-06-2014 **** 2100
06-06-2014 **** 300
06-06-2014 **** 1000 **** 5200
and if now I enter new Amount of 500 on 08-06-2014 in the next row, the 5200 in column C should disappear and 5700(=5200+500) should appear below it.
To clarify: Number of cells carrying the same date, and also of those belonging to the same month is variable for each month.
Can there be a nice and clean formula, instead of referencing and sub-referencing with data in hidden columns
How to use the SUMIF, or COUNTIF, or OFFSET, MATCH, "", SUMPRODUCT, etc to solve this problem?
Please help!
Bookmarks