masakowitz
New Member

I need to be able to look in a given column for a variable - find the corresponding ID (in another column field) and copy that ID value to a new column field until the variable changes. Once the variable changes I need to re-capture a new corresponding ID and repeat. In the file attached is a sample of the data I am working with and what the data looks like before - and what I would like it to look like after this operation.
In column E (E2 is a value). I want to find the corresponding ID in B2 and copy that to A2 through A22. At E23 the value changes - now I need to reset to capture B23 to copy to A23 through A26 - and repeat each time the value in column E changes. Ideally I would like to do this in a formula/function as I am not good with VBA coding.
Can someone help?
Mark
View attachment 25661
Attachments
Last edited: