Tracking client dates attended from adjacent sheet

Shilla

New Member
Joined
Nov 7, 2022
Messages
10
Office Version
  1. 365
I'm working on a spreadsheet to track the clients seen in our facility. I have one in which every client will be entered, including recurring clients. This is a continuously used spreadsheet that will not have data deleted.
Log sheet.jpg


I want a second sheet that references the first, removes the duplicates, but enters the subsequent visit dates in order in each column.
So as you see, patient 533 above would only be entered once, but the visits would be entered across the row for each visit.
Tracker.jpg


I'm sure this isn't as hard as I'm making it, but it's time to ask for help after fighting with
it for a few hours.
Any help is greatly appreciated.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
In case clarification is needed:
As someone enters a patient number in the first sheet (Log!), it would be pulled over to the second sheet (Tracker!). Along with the date of service. However, if that patient number is a duplicate, it would only pull over the date of service, placing it in order in the row of entries for that patient.

I will be doing other things with the sheet. This is used to give service providers a quick visual reference to see the patient if the patient is either A)seen twice in a 30-60 day timespan or remove the patient if they B) are not seen within that window of time.
I can manage that part with simple formulas and conditional formatting (I assume). But gathering the data without them having to type into two sheets is vital to this process.
 
Upvote 0
Maybe something like this:

Sheet 1
Book2
AB
1
2
3
4Pat. IDDate
55446/6/2022
653311/1/2022
752211/3/2022
853311/7/2022
Sheet1


Sheet2
Book2
ABCDEFGH
1
2
3
4Pt#CsirPSDateDateDateDateDate
55446/6/2022
653311/1/202211/7/2022
752211/3/2022
8
Sheet2
Cell Formulas
RangeFormula
A5:A7A5=UNIQUE(Sheet1!$A$5:$A$8)
D5,D7,D6:E6D5=TRANSPOSE(FILTER(Sheet1!B$5:B$8,Sheet1!$A$5:$A$8=Sheet2!A5,""))
Dynamic array formulas.
 
Upvote 0
Solution
You could add a SORT function too, especially on the dates just to make sure things stay in a particular order.
 
Upvote 0
Maybe something like this:

Sheet 1
Book2
AB
1
2
3
4Pat. IDDate
55446/6/2022
653311/1/2022
752211/3/2022
853311/7/2022
Sheet1


Sheet2
Book2
ABCDEFGH
1
2
3
4Pt#CsirPSDateDateDateDateDate
55446/6/2022
653311/1/202211/7/2022
752211/3/2022
8
Sheet2
Cell Formulas
RangeFormula
A5:A7A5=UNIQUE(Sheet1!$A$5:$A$8)
D5,D7,D6:E6D5=TRANSPOSE(FILTER(Sheet1!B$5:B$8,Sheet1!$A$5:$A$8=Sheet2!A5,""))
Dynamic array formulas.
That worked perfectly! Thank you!
 
Upvote 0
You're welcome thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,249
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top