I'm struggling with a formula and would love some help. I have the following spreadsheet:
Screenshot.jpg
Essentially, I have a column of dates in column H that is each associated with an ID# in column G. The same ID might have multiple dates. The same ID is in column A as well. I want a formula that will allow me to look in A for the ID in G, and for the dates associated in column C, tell me whether any of them are within two weeks before or two weeks after the date in column H.
I can't just do a lookup, because the lookup will stop when it finds the first instance of the ID#, and the relevant date might be the third or fourth. I've tried doing an index, but I'm not sure what to index, since I'm actually looking for whether the date is within the two week period (and that two week period isn't spelled out to index). I'm thinking there's some kind of if clause I can add in, but it's eluding me. Please help!
Bookmarks