Hi,
I have an excel table as in the image:
[TABLE="class: grid, width: 750, align: left"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Start Date[/TD]
[TD="align: center"]End Date[/TD]
[TD="align: center"]Price[/TD]
[TD="align: center"]Season[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]01.05.2019[/TD]
[TD="align: center"]15.05.2019[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]Start Date[/TD]
[TD="align: center"]03.05.2019[/TD]
[TD="align: center"]OR[/TD]
[TD="align: center"]13.05.2019[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]16.05.2019[/TD]
[TD="align: center"]06.06.2019[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]End Date[/TD]
[TD="align: center"]10.05.2019[/TD]
[TD="align: center"][/TD]
[TD="align: center"]20.05.2019[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]07.06.2019[/TD]
[TD="align: center"]03.07.2019[/TD]
[TD="align: center"]30[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]04.07.2019[/TD]
[TD="align: center"]31.07.2019[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Price[/TD]
[TD="align: center"]70[/TD]
[TD="align: center"][/TD]
[TD="align: center"]110[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]01.08.2019[/TD]
[TD="align: center"]21.08.2019[/TD]
[TD="align: center"]50[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]22.08.2019[/TD]
[TD="align: center"]10.09.2019[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]11.09.2019[/TD]
[TD="align: center"]05.10.2019[/TD]
[TD="align: center"]30[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: center"]06.10.2019[/TD]
[TD="align: center"]31.10.2019[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
So my questions are:
Thanks indeed for your precious helps.
I have an excel table as in the image:
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Start Date[/TD]
[TD="align: center"]End Date[/TD]
[TD="align: center"]Price[/TD]
[TD="align: center"]Season[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]01.05.2019[/TD]
[TD="align: center"]15.05.2019[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]Start Date[/TD]
[TD="align: center"]03.05.2019[/TD]
[TD="align: center"]OR[/TD]
[TD="align: center"]13.05.2019[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]16.05.2019[/TD]
[TD="align: center"]06.06.2019[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]End Date[/TD]
[TD="align: center"]10.05.2019[/TD]
[TD="align: center"][/TD]
[TD="align: center"]20.05.2019[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]07.06.2019[/TD]
[TD="align: center"]03.07.2019[/TD]
[TD="align: center"]30[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]04.07.2019[/TD]
[TD="align: center"]31.07.2019[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Price[/TD]
[TD="align: center"]70[/TD]
[TD="align: center"][/TD]
[TD="align: center"]110[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]01.08.2019[/TD]
[TD="align: center"]21.08.2019[/TD]
[TD="align: center"]50[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]22.08.2019[/TD]
[TD="align: center"]10.09.2019[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]11.09.2019[/TD]
[TD="align: center"]05.10.2019[/TD]
[TD="align: center"]30[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: center"]06.10.2019[/TD]
[TD="align: center"]31.10.2019[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
So my questions are:
- How can I fix the formulas in F5 & H5 (to calculate the price between the selected dates even in one period or in a breaking period (H5; 3 days from season A and 4 days from season B)?
- What can be the formula in column D (D2:D9) to assign the same letter if price is same?
Thanks indeed for your precious helps.