How to Use IF with Multiple Criteria and then to plug in a date - Cross Sheet Reference
I am trying to write a formula that is referencing another sheet. If a row on 2023 Training Request matches the Location Tracker (where im inputting the formula - the studio code is the identifier) AND the Role dropdown on 2023 Training Request is "General Manager" then show the date in the Location Tracker that is in the 2023 Training Request under the column title "HQ Approved Training Date"
=IF(AND([{2023 NSO Training Requests Range 1}] = [Studio Code]@row, {2023 NSO Training Requests Range 2} = "General Manager", {2023 NSO Training Requests Range 3} " ")
Unparseable
Answers
-
Hey @haley brianne
One needs to use different types of formulas when looking for data in different sheets. Because your request requires more than one criteria to appropriately filter your data (both the studio code and the General Manager role, the Index/Collect is the correct Index/Collection combo.
=INDEX(COLLECT({2023 NSO Training Requests Range 3}, {2023 NSO Training Requests Range 1}, [Studio Code]@row, {2023 NSO Training Requests Range 2}, "General Manager"),1)
Will this work for you?
Kelly
-
hi @Kelly Moore it worked!
one question i do have is, is there a way to show "Not Submitted" when there isn't a date for one? It currently just shows #Invalid Value.
-
Hey @haley brianne
Yes. Try this
=IFERROR(INDEX(COLLECT({2023 NSO Training Requests Range 3}, {2023 NSO Training Requests Range 1}, [Studio Code]@row, {2023 NSO Training Requests Range 2}, "General Manager"),1),"Not Submitted")
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!