=IF statement referencing an entire column
Hi community,
I'm wondering if there is a way to build an =IF formula while referencing an entire column. for example:
=IF([any value in column B]=A1, true, false)
Thanks!
Best Answer
-
The formula is totally possible! To reference an entire column just use [Column Name]:[Column Name]
You might need to do something like
= IF(CONTAINS(A1, [Column B]:[Column B]), 1, 0)
Kelly Drake (she/her/hers)
STARBUCKS COFFEE COMPANY| business optimization product manager
Answers
-
The formula is totally possible! To reference an entire column just use [Column Name]:[Column Name]
You might need to do something like
= IF(CONTAINS(A1, [Column B]:[Column B]), 1, 0)
Kelly Drake (she/her/hers)
STARBUCKS COFFEE COMPANY| business optimization product manager
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!