Help with a formula (match? index? vlookup? if/then?)
Hello!
I am looking for help in building a formula for a sheet. I create semester reports on a sub-group of persons that we track in a master database. Because this database is extensive (multiple years) but my reports are created from scratch a few times a year, the easiest way to create mine is to pull the IDs of the individuals I need to report on and then fill in the new data for my report. However, there is static data that I would like to use formulas to auto-populate.
Essentially I would like to enter a list of IDs, and then the formula in each column searches the database for a matching ID and, if it finds a match, returns the corresponding cell data from the same row, different column. I have attached a screen shot.
We have 6 individuals, 3 of which I am reporting on. So, for ID 123, the formula in phone would search Sheet 2 (the database) for ID 123, and if it finds, it, populate the phone number listed in the same row.
I can easily manipulate a formula to align with the information I need from each column, but I cannot seem to get the base formula right. does anyone have suggestions?
Comments
-
Try something like this...
=INDEX({Sheet 2 Range to Pull From}, MATCH([ID Column]@row, {Sheet 2 ID Column}, 0))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!