I have a spreadsheet with over 2000 lines
I will start by explaining the above picture.
Columns AO and AP are there just for explanation purposes.
My expected results are in column AP.
Each value from the AN (Miles Column) are connected with a PostCode (Column AK).
I would like the formula to start when "First Line" in column G is met and stop when another "First Line" is met.
I would like the formula to take the max value from Column AN but just for the "First Line" to "First Line range" and then restart again.
Then I would like the formula to apply the PostCode to the lines where "Multi Drop" from column J shows up.
I have tried a few formulas with Match and Index but i just don't know how to restart the count whenever i hit "First Line" again.
EDIT:
Also posted here
https://www.excelforum.com/excel-fo...-value-until-criteria-is-met.html#post5112649
I will start by explaining the above picture.
Columns AO and AP are there just for explanation purposes.
My expected results are in column AP.
Each value from the AN (Miles Column) are connected with a PostCode (Column AK).
I would like the formula to start when "First Line" in column G is met and stop when another "First Line" is met.
I would like the formula to take the max value from Column AN but just for the "First Line" to "First Line range" and then restart again.
Then I would like the formula to apply the PostCode to the lines where "Multi Drop" from column J shows up.
I have tried a few formulas with Match and Index but i just don't know how to restart the count whenever i hit "First Line" again.
EDIT:
Also posted here
https://www.excelforum.com/excel-fo...-value-until-criteria-is-met.html#post5112649
Last edited by a moderator: