L
Legacy 338537
Guest
Hi guys,
Trying to develop an array formula that can handle two ranges and result in a simple count.
At present my data is split between two cells, one of which is a $ amount, the other is a date (as seen below).
[TABLE="width: 148"]
<colgroup><col style="text-align: center;"><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]Sale Price[/TD]
[TD="align: center"]Sale Date[/TD]
[/TR]
[TR]
[TD="align: center"]$384,000[/TD]
[TD="align: center"]8/01/2013[/TD]
[/TR]
[TR]
[TD="align: center"]$640,000[/TD]
[TD="align: center"]8/01/2013[/TD]
[/TR]
[TR]
[TD="align: center"]$310,000[/TD]
[TD="align: center"]10/01/2013[/TD]
[/TR]
[TR]
[TD="align: center"]$520,330[/TD]
[TD="align: center"]12/01/2014[/TD]
[/TR]
[TR]
[TD="align: center"]$204,630[/TD]
[TD="align: center"]14/01/2014[/TD]
[/TR]
[TR]
[TD="align: center"]$257,100[/TD]
[TD="align: center"]16/01/2014[/TD]
[/TR]
[TR]
[TD="align: center"]$770,350[/TD]
[TD="align: center"]18/01/2014[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to group each $ amount in individual ranges (Say $500,000 - $599,999) and only calculate that range for each individual year.
As there is typically up to thousands of cells of data, doing this manually is incredibly time consuming and I am hoping to create a Array formula to help me out.
I have been able to aggregate the total $ amounts between each ranges with the following formula:
=COUNTIF($A$3:$A$300000,">="&450000)-COUNTIF($A$3:$A$300000,">="&499999)
(Please note this is for sales between $450,000 and $499,999 simply as an example and I will adjust the formula once complete to encompass new ranges)
However this does not break the data down into individual years which is what i'm stuck with. Any help would be greatly appreciated!
Many thanks in advance
Trying to develop an array formula that can handle two ranges and result in a simple count.
At present my data is split between two cells, one of which is a $ amount, the other is a date (as seen below).
[TABLE="width: 148"]
<colgroup><col style="text-align: center;"><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]Sale Price[/TD]
[TD="align: center"]Sale Date[/TD]
[/TR]
[TR]
[TD="align: center"]$384,000[/TD]
[TD="align: center"]8/01/2013[/TD]
[/TR]
[TR]
[TD="align: center"]$640,000[/TD]
[TD="align: center"]8/01/2013[/TD]
[/TR]
[TR]
[TD="align: center"]$310,000[/TD]
[TD="align: center"]10/01/2013[/TD]
[/TR]
[TR]
[TD="align: center"]$520,330[/TD]
[TD="align: center"]12/01/2014[/TD]
[/TR]
[TR]
[TD="align: center"]$204,630[/TD]
[TD="align: center"]14/01/2014[/TD]
[/TR]
[TR]
[TD="align: center"]$257,100[/TD]
[TD="align: center"]16/01/2014[/TD]
[/TR]
[TR]
[TD="align: center"]$770,350[/TD]
[TD="align: center"]18/01/2014[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to group each $ amount in individual ranges (Say $500,000 - $599,999) and only calculate that range for each individual year.
As there is typically up to thousands of cells of data, doing this manually is incredibly time consuming and I am hoping to create a Array formula to help me out.
I have been able to aggregate the total $ amounts between each ranges with the following formula:
=COUNTIF($A$3:$A$300000,">="&450000)-COUNTIF($A$3:$A$300000,">="&499999)
(Please note this is for sales between $450,000 and $499,999 simply as an example and I will adjust the formula once complete to encompass new ranges)
However this does not break the data down into individual years which is what i'm stuck with. Any help would be greatly appreciated!
Many thanks in advance