Hi!
I have a large set of data with 3 columns: ID #, Start Date, Stop Date.
I need to write a formula that will indicate which row, if the ID # appears in the data set twice, has fewer days between Start and Stop Date.
I'm playing around nesting Ifs and Countifs, and would like to ultimately have it return:
- a 0 for rows containing an ID # that isn't repeated
- a 0 for rows with duplicate ID #s that have the longer span between Start Date and Stop Date
- a 1 for rows with a duplicate ID #, that has fewer days between Start and Stop than other occurences of the same ID #
Attached is an example spreadsheet that better explains exactly what I need to do.
Duplicates with Varying Date Ranges.xlsx
As always, thanks for any input!
Bookmarks