Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

If formula with a range of data

Posted on 2012-12-27
2
Medium Priority
?
301 Views
Last Modified: 2012-12-27
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?
0
Comment
Question by:Ladkisson
2 Comments
 
LVL 13

Accepted Solution

by:
Shanan212 earned 800 total points
ID: 38723902
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

0
 

Author Closing Comment

by:Ladkisson
ID: 38723975
Thank you!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question