Hi, just joined. Been using excel on and off for years with gratifying success. However, I seem have been stumped.
i run a small spreadsheet to roster a group of drivers to deliver people to outpatient treatment. On most occasions the driver will deliver the patient/s and wait to return them home. However, sometimes it is necessary for a patient to be delivered at one time and picked up much later by another driver perhaps.
I am using vlookup formulas for attracting patient details -address, contact phone, hospital, department and appointment time - from two different data sources. All this works fine because my vlookup_value is a concatenation of the day number and patient name particularly for tasking bookings and provides a unique record on the day and using the FALSE setting for the return values in each relevant cell . Now the problem...
By entering the patient again on the same day for a different action, eg "Return only", the net result for the day is dependent upon which order the lookup value appears in the list; no doubt to be expected. Is there a way of getting two different sets of information on the same day for the same patient using lookup?
I hope the question is explained enough for someone to perhaps help. I would like to retain the relative simplicity of vlookups rather than redeveloping the whole project in VBA if at all possible.
Thanking whomever in anticipation,
midframe
i run a small spreadsheet to roster a group of drivers to deliver people to outpatient treatment. On most occasions the driver will deliver the patient/s and wait to return them home. However, sometimes it is necessary for a patient to be delivered at one time and picked up much later by another driver perhaps.
I am using vlookup formulas for attracting patient details -address, contact phone, hospital, department and appointment time - from two different data sources. All this works fine because my vlookup_value is a concatenation of the day number and patient name particularly for tasking bookings and provides a unique record on the day and using the FALSE setting for the return values in each relevant cell . Now the problem...
By entering the patient again on the same day for a different action, eg "Return only", the net result for the day is dependent upon which order the lookup value appears in the list; no doubt to be expected. Is there a way of getting two different sets of information on the same day for the same patient using lookup?
I hope the question is explained enough for someone to perhaps help. I would like to retain the relative simplicity of vlookups rather than redeveloping the whole project in VBA if at all possible.
Thanking whomever in anticipation,
midframe