Returning one line items value using other line items

Options
ryan.trottier
ryan.trottier Member, ALL USERS Posts: 2 Occasional Contributor

Hi all, 

 

I'm trying to find a way to return the value of one line item in a list, using two other line items.

Background:
I have one large module built off sequence numbers as the rows, and line items as the columns (no page dimensions). Each row is a seperate transaction (either a product being added or a product being removed).

 

I have one line item that will tell me the date that a recently removed product was originally added (this shows up on the row with the product being removed), and another line item that has the account number.

 

What I am trying to do:

I need a way to find out what the employee ID was on the row (transaction) where my product was added. This transaction would have the same account number, and the transaction date would match the removal date on the row where the product has been removed.

 

Long story short - I am trying to have the employee number of the person who originally added the product, show up on the row (transaction) where the product has been removed, using only the date and the account number.

 

I have created an example below that is overly simplified as I am dealing with ~100k transactions each day for all different products and thousands of employees, but hopefully it demonstrates what I am trying to do.

 

Example:


Anaplan Example.pngThanks in advance for any assistance!