I've got two table ranges: CustomerID and Date. I'd like to find out the lowest date of a particular customer and year.
Example:
<tbody>
</tbody>
I tried to use SUMPRODUCT to find the lowest date for customer 1.
=SUMPRODUCT((Orders[CustomerID]=1)*(Year(Orders[Date]=2014)*(MIN(Orders[Date]))
Now this doesn't work. I tried (array) IF formulas, but they don't seem to work either.
What would you do in order to find the lowest date/the first order of a customer?
Thanks
Maria
Example:
CustomerID | Date |
1 | 13.02.2014 |
2 | 03.04.2014 |
1 | 08.08.2014 |
1 | 01.12.2014 |
1 | 01.01.2015 |
6 | 01.02.2015 |
7 | 01.03.2015 |
8 | 01.04.2015 |
<tbody>
</tbody>
I tried to use SUMPRODUCT to find the lowest date for customer 1.
=SUMPRODUCT((Orders[CustomerID]=1)*(Year(Orders[Date]=2014)*(MIN(Orders[Date]))
Now this doesn't work. I tried (array) IF formulas, but they don't seem to work either.
What would you do in order to find the lowest date/the first order of a customer?
Thanks
Maria