=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
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 61 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!