IF/AND Function Across Different Sheets
Hello,
I am trying to get information from one sheet to populate another sheet.
The formula I am trying to use is: =IF(AND({Equipment} = "MIGU-1", {Status} = "Open"), "Deployed", "Available")
I get an #Invalid Operation error.
On sheet 1 is the data I'm trying to separate out...
using the "Type of Equipment" column and the "Mission Status" column and placing the result in sheet 2...
Suggestions?
Thanks,
Mike B.
Best Answer
-
Hello @Beckstrm
Querying IFs across sheets require a different approach and some different functions.
Try this
=IF(COUNTIFS({Equipment}, "MIGU-1", {Status},"Open")>0, "Deployed", "Available")
This says if COUNTIFS (using your criteria) is greater than zero, it must have found something so return the true result, otherwise return the false result.
Kelly
Answers
-
Hello @Beckstrm
Querying IFs across sheets require a different approach and some different functions.
Try this
=IF(COUNTIFS({Equipment}, "MIGU-1", {Status},"Open")>0, "Deployed", "Available")
This says if COUNTIFS (using your criteria) is greater than zero, it must have found something so return the true result, otherwise return the false result.
Kelly
-
THANK YOU!!!
It works!
Mike
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!