Recursive Offset ? (Formula Problem )

alex0182828

Board Regular
Joined
Jun 20, 2012
Messages
88
Office Version
  1. 365
Platform
  1. MacOS
Hello All,

I have a problem that i need to solve it needs an offset or something that i am not able to grasp i am afraid.

I need to populate Column AO with the highest value from AN for that row and all the prior blank rows. In the example below AO is populated with the correct answer.
Any help would be super, it cant be a macro i am afraid !

Thanks
Column AMColumn ANColumn AO
10
25
ORDERID1111114545
16
18
21
12
ORDERID121212421
ORDERID2212125050

<tbody>
</tbody>

<tbody>
</tbody>
 
Last edited:

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Would it be possible to replace the blanks with the ORDERID they are tied to, or do they need to stay as blanks?
 
Upvote 0
If there are no column headers then put a header (text) in row 1 and try this

AM AN AO
Header1Header2Header3
10
25
ORDERID1111114545
16
18
21
12
ORDERID121212421
ORDERID2212125050

<colgroup><col style="width: 79pt; mso-width-source: userset; mso-width-alt: 3840;" width="105"> <col style="width: 48pt;" span="2" width="64"> <tbody>
</tbody>


Formula in AO2
=IF(AM2="","",MAX(AN2:INDEX($AN:$AN,MATCH(REPT("z",255),$AM$1:AM1)+1)))
copy down

M.



 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top