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.3K Get Help
- 445 Global Discussions
- 144 Industry Talk
- 477 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 151 Just for fun
- 72 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!