I have a range in cols A and B, A being cust id and B being order id. there are a varing number or order ids against the same customer id throughout the range
In cols D through H i have data i need to bring these order ids next to, which I'm bringing into column I with the following formula:
=INDEX($B$2:$B$8556, SMALL(IF($H$3241=$A$2:$A$8556, ROW($A$2:$A$8556)-MIN(ROW($A$2:$A$8556))+1, ""), ROW(A1)))
when copied down it brings a range of order ids down through column I until it errors with a #NUM! result, i then manually move the dataset in columns D through H down to the row wher the first #NUM! error is within colimn I. edit the formula to represent the new reference in H and reset the counter to A1 and repeat.
I'm trying to find a way to automate this to save me inserting cells and editing the formula aprox 7000 more times, any suggestions?
Bookmarks