store daily info in a database

Lux Aeterna

Board Regular
Joined
Aug 27, 2015
Messages
191
Office Version
  1. 2019
Platform
  1. Windows
Hello everyone.

I have created an excel workbook where I write down our daily patients. I would like those daily info to be stored in a database, from which I'll be able to draw info next time those patients visit again.

IDNAMEFather's namePhoneRN
1MikeAaa100112345
2JohnBbb200223456
3MariaCcc300334567
4CathrineDdd400445678

<tbody>
</tbody>


I would like every day to store specific info: Date (not included in that sheet right now, but I will add it), ID, Name, Father's name, RN, Phone) and to be able to search for them in the created database using their RN. So that, when I search in the database RN "12345", it will give me all Mike's info.

Moreover, I would like to be able to draw info from that database, so when a patient visits again I will submit their RN and fill out all fields (Name, Father's name, Phone) automatically.

Hope my message makes sense...

Thanks a ton
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
IDdateNAMEFather's namePhoneRN
101/10/2018MikeAaa100112345
202/10/2018JohnBbb200223456
303/10/2018MariaCcc300334567
404/10/2018CathrineDdd400445678
at the end of each day copy info to database NOTE RN IS NOW FIRST COLUMN
cells K13 to cells P1000 is your database to allow for expansion
enter patient RN into cell A20RNIDdateNAMEFather's namePhone
12345101/10/2018MikeAaa1001
23456202/10/2018JohnBbb2002
34567303/10/2018MariaCcc3003
45678404/10/2018CathrineDdd4004
IDdateNAMEFather's namePhone
34567303/10/2018MariaCcc3003row 20
the formula for id is
=OFFSET($K$13, MATCH($A$20,$K$14:$K$1000,0),1)
the last 1 is 2,3,4,5 for date,name,fathers name,phone

<colgroup><col><col><col><col span="9"><col><col span="5"></colgroup><tbody>
</tbody>
 
Upvote 0
Vo8LpKF
Thank you very much for your answer. I just found the time to check the formula. Unfortunately I get #N/A message.

Please check
Vo8LpKF
https://imgur.com/a/Vo8LpKF (or https://imgur.com/k6zBrnS if the other one doesn't work) for a screenshot, is there anything I've done wrong?

PS. ";" is the equivalent for ","
Vo8LpKF
 
Last edited:
Upvote 0
put a few rows up with your formula - mine works and I told you the cell locations.......
 
Upvote 0

Forum statistics

Threads
1,214,659
Messages
6,120,786
Members
448,992
Latest member
prabhuk279

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