Is there a method/formula to find and return a value that is nearest above to the existing row?
I've seen plenty of examples of finding the first case, but I need the nearest.
See the table below for an example. If the "Type" column/cell is blank, then the "Connect Event" cell should look up until it finds the nearest row above that has the Type cell set to "Event", and return the value in Event Name. The challenge is that the number of rows are dynamic and will vary between the events.
I've seen plenty of examples of finding the first case, but I need the nearest.
See the table below for an example. If the "Type" column/cell is blank, then the "Connect Event" cell should look up until it finds the nearest row above that has the Type cell set to "Event", and return the value in Event Name. The challenge is that the number of rows are dynamic and will vary between the events.
Connected Event | Type | Event Name |
First Event | Event | First Event |
First Event | ||
Second Event | Event | Second Event |
Second Event | ||
Second Event | ||
Second Event |