Forum Discussion
rcklein2
Oct 25, 2021Copper Contributor
Writing an IF function with multiple values in one cell
Hello, This is my first post here. Please let me know if this is correct! Device: PC/Windows 10 Pro 64-bit (Version 21H1 Build 19043) Excel version: Microsoft® Excel® for Microsoft 365 MS...
- Oct 25, 2021
In B2:
=IF($A2="","",--ISNUMBER(FIND(","&COLUMN()-1&",",","&$A2&",")))
Fill to the right, then down (or vice versa) as far as needed.
See the attached version.
rcklein2
Oct 26, 2021Copper Contributor
Hi Hans! This is fantastic! Thank you. I figured out how to use the formula in other columns- my actual data is in column "I" instead of "A". I just changed the number in COLUMN()-1 to COLUMN()-10. Is that a proper way?
Also, do you know a way to populate the cell with the actual value instead of the formula listed?
Also, do you know a way to populate the cell with the actual value instead of the formula listed?
rcklein2
Oct 26, 2021Copper Contributor
One other thing- would you be able to walk me through the syntax and what each component does? Thanks so much!