Scenario 1. date received is 12/26/22 to 01/08/23 then
the output will be 23/01 as it is falling under row number 2 and ending on 01/08/23
Scenario 2 date received is 12/30/22 to 01/08/23 then
output will be 23/01 as 12/30/22 is after 12/26/22 which is in 2nd row and ending on 01/08/23
Scenario 2 date received is 12/30/22 to 01/25/23 then
output will be 23/01,23/02 and 23/03 as 12/30/22 is after 12/26/22 which is in 2nd row and 01/25/23 is falling under 4th row
@KarthikByggari Thanks for your solution however I am unable to understand it how you have designed it. So can you please explain or help me get the date against PP value?
Like in your given example I need to fetch
for 23/01 need 12/26/22 and 01/08/23
for 23/02 need 01/09/23 and 01/22/23
for 23/03 need 01/23/23 and 02/05/23
i.e. from and To value