=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
- Customer Resources
- 66.2K Get Help
- 431 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!