I need help with a formula that I have no idea how to do. The sheet columns and an example scenario are below. The column highlighted in yellow is what I'm trying to populate/where the formula will be, showing the values I would expect for each row.
Basically, I want to populate the Reposted Date for a row with the Job Post Date of the row that contains the date of the next reposting. Postings will be recorded in the order shown below in the Orig/Repost column, but won't be nicely ordered one row after the other. Basically, the formula in Reposted Date should look for this:
- IF Orig/Repost = "Original", look for a row where Original Req Number is the same AND Orig/Repost = "Repost (1st)", then return Job Post Date from that row.
- IF Orig/Repost = "Repost (1st)", look for a row where Original Req Number is the same AND Orig/Repost = "Repost (2nd)", then return Job Post Date from that row.
- IF Orig/Repost = "Repost (2nd)", look for a row where Original Req Number is the same AND Orig/Repost = "Repost (3rd)", then return Job Post Date from that row.
- IF no match is found, then Reposted Date should be left blank.