DaVinciDecoder
New Member
- Joined
- Feb 22, 2017
- Messages
- 6
SHEET 1
PATIENT NO. | SERVICE DATE | PATIENT STATUS
1 | 08/01/2015 | ?
2 | 09/25/2015 | ?
3 | 04/03/2016 | ?
1 | 05/15/2016 | ?
3 | 05/20/2016 | ?
SHEET 2
PATIENT NO. | SERVICE BEGIN DATE | SERVICE END DATE | PATIENT STATUS
1 | 08/01/2015 | 08/30/2015 | NEW
1 | 05/01/2016 | 05/31/2016 | RETURN
2 | 09/01/2015 | 09/30/2015 | NEW
3 | 04/01/2016 | 04/30/2016 | NEW
3 | 05/01/2016 | 05/31/2016 | DECEASED
Hi,
I've simplified the two spreadsheets, but effectively, I would like a function that looks up the Patient Number from Sheet 1 in Sheet 2, contains a criteria to check if the Service Date in Sheet 1 falls between the Service Date range in Sheet 2, then returns the Patient Status from Sheet 2.
I'm hoping a Index/Match or Lookup function would be best suited for what I'm trying to accomplish.
PATIENT NO. | SERVICE DATE | PATIENT STATUS
1 | 08/01/2015 | ?
2 | 09/25/2015 | ?
3 | 04/03/2016 | ?
1 | 05/15/2016 | ?
3 | 05/20/2016 | ?
SHEET 2
PATIENT NO. | SERVICE BEGIN DATE | SERVICE END DATE | PATIENT STATUS
1 | 08/01/2015 | 08/30/2015 | NEW
1 | 05/01/2016 | 05/31/2016 | RETURN
2 | 09/01/2015 | 09/30/2015 | NEW
3 | 04/01/2016 | 04/30/2016 | NEW
3 | 05/01/2016 | 05/31/2016 | DECEASED
Hi,
I've simplified the two spreadsheets, but effectively, I would like a function that looks up the Patient Number from Sheet 1 in Sheet 2, contains a criteria to check if the Service Date in Sheet 1 falls between the Service Date range in Sheet 2, then returns the Patient Status from Sheet 2.
I'm hoping a Index/Match or Lookup function would be best suited for what I'm trying to accomplish.