Hi I need help with a formula. I tried so many and they either return zero or spill and I don't know what's wrong with it. Xl2BB isn't working.
I want to return ID 2.
I want to look at Area Out, and then look at Area In with the same area code. Then return the ID associated with the earliest Date right from Date In after Date out.
So for ID 1, it's going to be 6.
I want to return ID 2.
I want to look at Area Out, and then look at Area In with the same area code. Then return the ID associated with the earliest Date right from Date In after Date out.
So for ID 1, it's going to be 6.
ID | Date In | Date Out | Area In | Area Out |
1 | 2/19/24 8:25 AM | 2/21/24 3:37 PM | 330 | 330 |
2 | 2/16/24 11:05 PM | 2/18/24 5:15 PM | 326 | 330 |
3 | 1/13/24 6:52 AM | 1/15/24 6:56 PM | 330 | 330 |
4 | 1/20/24 7:37 AM | 1/22/24 9:48 PM | 330 | 330 |
5 | 2/25/24 12:16 AM | 2/27/24 4:07 PM | 330 | 330 |
6 | 1/22/24 6:10 AM | 1/25/24 2:39 PM | 330 | 330 |