Aug 01 2023 11:33 AM
I am trying to write a formula that will see if the acquired date (Column C) OR the sold date (Column D) lie within OR overlap the date range at G6:G7 and so on across the spreadsheet, and return a blank if so and an "-" if not (basically a checklist to see what indexes I have to check if Person A owned the land in within the years covered by that index. I have googled and tried many permutations of IF, AND and OR functions and can't seem to get a formula to work in all situations.
Thank you!
Aug 01 2023 12:44 PM - edited Aug 01 2023 12:44 PM
=IF(OR(AND($C7>=G$5, $C7<=G$6), AND($D7>=G$5, $D7<=G$6)), "", "-")
Aug 01 2023 01:41 PM - edited Aug 01 2023 01:43 PM
@HansVogelaar thank you, that works for the "end" of each range, but doesn't capture the in between dates, which is the same problem I've been having, see screenshot.
The first line has the formula, the second is manually entered, which is what I am trying to get to, thanks again for the help!
Aug 01 2023 02:12 PM
SolutionAug 02 2023 06:12 AM
Aug 01 2023 02:12 PM
Solution