Listed in column A are the dates and times of doctor’s appointments. Column B contains the corresponding patient’s name for each appointment.
We want to use this data to create a matrix in cells D1:G10, where each column is a date and each row is a time.
Use the INDEX, MATCH, and TEXT functions as shown in the following Array formula:
Enter the above formula in cell E2, copy it down the column and across to column G.
To apply Array formula:
Select the cell, press and simultaneously press .
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.