How can I insert searchable data into one column, have it display linked editable data in the next? - spreadsheet

I want to be able to put a students name or I.D., have google sheets search through spreadsheets for that student, then populate information in the next column (their phone number and current grade). The kicker is that I want to edit the populated grade and have it linked to the original sheet so it gets updated.
I have the current sheet called "UpdateInfo". All the other sheets are categorized by student name. In each students sheet, their names are in "A1", their phone numbers are in "B1" and their grades are in "C1". All student sheets follow the same format. I had a friend explain how VLOOKUP can find and populate the info. We have no clue how to link it and have it update once edited.
I want to open "UpdateInfo", insert names of all the students, have their numbers and grades populate in the next columns, then finally edit the information and have it also updated in the students' original sheet.

I'm not sure what you want, maybe you can take a look at the sheet as attched above.
The "data" sheet for you to store your students information,
the "check" sheet for you to find out the answers by select the student's name.
You can add as much as students you want at the "data" sheet,
it will all appear as an options in the "check" sheet.

https://docs.google.com/spreadsheets/d/1x8s36Ph20sjozOjuekJgH3-UMDz_kBicequaHrI8k8E/edit?usp=sharing
This is the link of the spreadsheets, which is supposed attached in the previous post...

Related

generate a hyperlink in sheet linking to matched data found in a different sheet

I have two different sheets in a workbook with data, all of this data is organized by Site ID's. What I want to do is use these site ID's to create a hyperlink in one of the data sheets that when clicked takes the user to the corresponding Site ID in the other sheet. The sheet name where I want to write the hyperlinks to is called "Report_Manual" and I want to write hyperlinks down every row down the first column. The sheet that I am hyperlinking to is called "Data". The premise Ids are located in column C for sheet "Report_Manual" and column K in sheet "Data". Below is an a ttempt of what I was trying to generate in excel for a single cell formula however the issue I ran into for this formula is that the Premise ID's in sheet "data" are variant data type while the Premise ID's in sheet "Report Manual" are integer data type. This makes even a simple formula like the one below not get any matches as the data types being matched aren't the same.
=HYPERLINK("#"&CELL("address",INDEX(Data!K3:K580001,MATCH(C3,Data!K3:K580001,0))),C3)
If anyone has any idea of a macro to solve this issue that would be extremely helpful.
If the IDs in "Data" are text, try changing your match lookup value to text:
=HYPERLINK("#"&CELL("address",INDEX(Data!K3:K580001,MATCH(TEXT(C3,0),Data!K3:K580001,0))),C3)

Excel, how can I link multiple spreadsheets to cells with changing values?

I have a bit of a situation that I can't seem to be able to resolve. I'm currently using excel to keep track and sort 50 patients at the same time for research purposes. So in my main worksheet, A1:A50 are the patient's "station number" and B1:B50 are the patient's names. Columns "C" through "I" contain information about each patient (sex, gender, ecc.). I keep the patients sorted by their station number.
I then have a different worksheet for every patient in which I keep track of each patient's blood tests during time.
I'm trying to find a way so that I can click on a certain patient and get re-directed to his/hers bloodtest worksheet. And I've done so with hyperlinks. The problem is that patients constantly change, as do their station numbers.
For example, patient John Doe has "station number" 001, so he is on the top of my list. His station might change the week after to 005, so I manually copy/paste his info in row 5. This way, every time I cancel a patient I lose the hyperlink and need to manually search for the worksheet and re-link it to the new patient.
Is there any way in which I can lock a hyperlink to a cell regardless whether or not it is empty? This way I could move patients up and down my chart & change cell values without worrying about messing up the hyperlinks.
I also tried to create a chart with 50 rows in which every time I changed a station number a macro would then sort all the rows. It turned out to be a dead end as I was able only to get the macro to copy/paste the patient's info into the correct row instead of it replacing the row.
Any ideas?
The link below probably has the simplest solution I have seen for creating dynamic hyperlinks based on changing cells.
https://www.extendoffice.com/documents/excel/4030-excel-dynamic-hyperlink-to-another-sheet.html
Also, see this link.
https://excelribbon.tips.net/T013034_Creating_a_Dynamic_Hyperlink.html
Finally, consider this...create a hyperlink that is dynamically linked to a cell value, in which the cell value points to a cell reference within a worksheet, and that when the value is changed can point to a different cell reference.
=HYPERLINK("#Sheet2!A"&Z1)

Excel VBA - Fill known details based on USER ID

On one sheet, #IDs, i have a list of registered users with different information on each column.
For example:
#user_id, #phone_number, #address ... (Each information is on different column). I take this information from an ActiveX Form when users are registering.
On a different sheet, i want people to enter their user_id ONLY, and based on the information on the #IDs sheet, auto-complete the other information (phone, address...). If not registered (=does not exists at the #IDs sheet, give nothing).
I would love to have some help on this small project.
Many many thanks!
Assuming your data is on Sheet1 and Lookup ID is in A2 on Sheet2, then try this...
On Sheet2
In A2
=IFERROR(INDEX(Sheet1!B:B,MATCH($A2,Sheet1!$A:$A,0)),"")
and then copy it to right.
Sheet1:
Sheet2

CheckBox to limit a data validation list

Moving forward, slowly.......
I added a column, that with the combination of my checkboxes, gives the name of active employees.
Screen Shot of active list of employees
If I use $T$6:$T$16 as my validation list, I still get 11 options in the drop down. I want the drop down to show only the 5 names that are in that list.
No need to use VBA here, Here's a quick solution.
Use a 1 or 0 in a column next to the employees' names corresponding to whether they are active or not.
Then create a column in the sales sheet which has a vlookup for this value
=VLOOKUP(E4,$A$4:$B$8,2,FALSE)
This looks for value E4 (the name), in range of all names, second column for their active status, FALSE for an exact match.
Then use a filter:
Highlight range of sales
"Data" tab
"Filter"
Then you can use the filter on the new Active column to only show the employees which are still active. See the linked image for the final outcome. The vlookup lives in column D.
Final outcome image in Excel
Of course if you want this in two sheets, you can split what I've done to different sheets with no extra effort other than adding sheet references to the range in the vlookup.
Hope this helps

VLOOKUP on first and last name with no unique ID

Situation:
I have two sheets: The first sheet contains a list of employee names; the second sheet contains a piece of a pay report for employees. I need to pull the employee pay data from sheet 2 to sheet 1 by searching for the employee on sheet 2. What complicates this is the report on sheet 2 contains changing employees, pay, and has no unique ID.
I am looking to fill in column A. I cannot permanently modify this sheet as it affects downstream reporting.
I split column B which was previously first name, middle initial (if any), last name. Note, about 10% of the names may have a different last name. For example, sheet 1contains the name Tara Feather, but the second report uses her maiden name of Tara Bird.
Attempts so far:
I am new to Excel, and am just learning VLOOKUP. My first attempt was to pull the data based on the last name column on sheets 1 and 2, and enter data. Unfortunately, while that worked for 90% of the entries, the last 10% had the wrong values and the audit to correct took more time than manual entry.
Possible Ideas:
My next thought was to combine an If statement and VLOOKUP so that if last name matched, and first name matched, then execute the VLOOKUP and pull values, or enter "ERROR".
With this new thought, I don't know if I'm now in macro territory or if there are a combination of functions that can help. Ideally, the more it can do with 100% accuracy the better. However, if it can highlight the names it completed on sheet 2, I can always enter the non-highlighted manually, still saving time.
What are your thoughts and direction?
You want 100% accuracy, but if someone has different names on the two sheets, then that's never going to work.
So to get 90% of it right:
On the second sheet put this formula in G2 and copy it down for as many rows as you have names.
=B2&D2
Put this formula in H2 and copy it down
=F2
On the first sheet put this formula in A2 and copy it down
=VLOOKUP(D2&C2,'second sheet'G:H,2,false)
Any rows where it can't find a matching firstname and surname will have #N/A in them.
Assuming you can modify the second sheet permanently you can put the right surnames in so that the formulae work. You could also put in the middle names into the formulae in case you have two people with the same names.