Cross Referencing Data Between Sheets
I need to find a function that I can use to simplify some enrollment data reporting. Rather than entering it in manually...every day...it should auto-update based on what enrollment data is entered in another sheet.
Looking at the pictures provided...in the ENRL (Experimental) column, I would like it to return the enrollment number from a different sheet if the CRN in column 1 matches the CRN in the enrollment sheet.
Is this possible? Thanks!
Best Answer
-
INDEX/MATCH can handle this for you.
As your begin your INDEX formula, Smartsheet will pop up a helper screen. Click Reference Another sheet, and select your enrollment sheet, then select the Enrolled column. You can choose to name this range if so desired. Same thing for the CRN column. This process creates the references for your formula.
=INDEX({Enrollment Sheet Range 1}, MATCH([Course/CRN]@row, {Enrollment Sheet Range 2}, 0))
In English, Get me the value in the Enrolled column from the Enrollment sheet where the Course/CRN number on this row = the CRN number on the Enrollment sheet.
Since it appears you don't have a valid entry for Course/CRN on every row, you'll want to wrap the formula in IFERROR to prevent #NO MATCH errors.
=IFERROR(INDEX({Enrollment Sheet Range 1}, MATCH([Course/CRN]@row, {Enrollment Sheet Range 2}, 0))"")
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
INDEX/MATCH can handle this for you.
As your begin your INDEX formula, Smartsheet will pop up a helper screen. Click Reference Another sheet, and select your enrollment sheet, then select the Enrolled column. You can choose to name this range if so desired. Same thing for the CRN column. This process creates the references for your formula.
=INDEX({Enrollment Sheet Range 1}, MATCH([Course/CRN]@row, {Enrollment Sheet Range 2}, 0))
In English, Get me the value in the Enrolled column from the Enrollment sheet where the Course/CRN number on this row = the CRN number on the Enrollment sheet.
Since it appears you don't have a valid entry for Course/CRN on every row, you'll want to wrap the formula in IFERROR to prevent #NO MATCH errors.
=IFERROR(INDEX({Enrollment Sheet Range 1}, MATCH([Course/CRN]@row, {Enrollment Sheet Range 2}, 0))"")
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
-
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!