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
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!