Forum Discussion
stephurso
Jan 21, 2022Copper Contributor
Auto-populate a cell with the contains from another cell
Hello: I have a spreadsheet that I would like to auto-populate information to a cell from another cell. Example. In B2 I type in 4122 and select Enter. The text description for item 4122 (...
- Jan 21, 2022
stephurso In te file I sent you the formula would become:
=IFERROR(VLOOKUP(B2,Parts,2,FALSE),"")
See attached.
Riny_van_Eekelen
Jan 21, 2022Platinum Contributor
stephurso Create a lookup table as demonstrated in the attached file. Depending on your Excel version you might be able to use XLOOKUP. Otherwise you'll have VLOOKUP or INDEX/MATCH at your disposal.
- stephursoJan 21, 2022Copper Contributor
Hello: Riny_van_Eekelen
This worked great! I used the VLOOKUP formula. Just one question. When there is no part number in B2, C2 displays #N/A. Is there a way to suppress that so it's just blank until someone actually puts in a part number into B2?
- Riny_van_EekelenJan 21, 2022Platinum Contributor
- stephursoJan 21, 2022Copper ContributorLike this? =IFERROR(VLOOKUP(B2,Parts,2,FALSE)
I keep getting an error message.