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
- Smartsheet Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 464 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 60 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 40 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!