If formula with a range of data

Ladkisson
Ladkisson used Ask the Experts™
on
This is my formula: =IF(B2='Control Stores'!B2,"control", "test") I have a list of control stores in the control stores tab B2:B341. How can I incorporate this range into my original formula?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
So do you want to see if 'B2' is in the range on the other sheets?

One way is

=IF(COUNTIF('Control Stores'!$B$2:$B$341,B2)>0,"Control","Test")

Open in new window

Author

Commented:
Thank you!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial