Making referencing another sheet dynamic
Hello I want to have the following sentence work. If Fname "Tom" is a match on sheet 1 & sheet 2 sheets, then import food allergies from sheet 2 to sheet 1.
I actually managed to write the code that worked!
=IF(FNAME@row = {NHO Demo Form Range 3}, {NHO Demo Form Range 4}, 0)
The problem is when I drag the code down to the next line it does not work. It pulls a zero and I'm not understanding why?
Answers
-
Hi @ForrestPRIM
I believe the INDEX/MATCH is the formula set you are looking for. The IFERROR function allows us to avoid having #NOMATCH appear in a cell if a match is not found.
=IFERROR(INDEX({NHO Demo Form Range 4}, MATCH(FNAME@row, {NHO Demo Form Range 3},0)),"")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!