There is a sorting problem that I ran into that I am having difficulty with (Attached-truncated).
The crux of the problem is that I have a running list of patient encounters specific to their patient ID (edited). I need to build an algorithm or figure out a way to pick up the BMI of the patient from the first visit that was at least a year in the future. If there was no visit, just N/A is fine. My thought it to nest a MATCH formula in an INDEX formula and use an IF statement. I would first sort the dates in order and then PatientID to keep them grouped. Unfortunately, it seems that the MATCH function requires me to have the dates ordered in ascending order and thus it keeps me from breaking it down by patient. The real file is 150k line items and thus I can not manually divide the list by patients.
If anyone knows a way to get around this..
Bookmarks