Hi.
The attached has two tables:
- A1:B6 is a lookup table which contains 'costs' related to a 'session'.
- E1:G10 represents 'items' which are all tied to sessions and there is often >1 item per session.
- The desired output is in column G.
Using column A, I'm looking to lookup the 'cost' value in column B to the first instance of a 'session' in column E. Importantly, once the first match has occurred (e.g. the 50 in G2), I want all subsequent matches to be zero (e.g. the 0 in G6). Is this possible?
Hope this makes sense. Thanks for any help.
Bookmarks