I have an issue with my current If, Index, and Collect formula.
I have two sheets. One for data collection, and another for the Reviewer's Agency, Schedule, and Email address. I want to automate this process where if I have a TFD C shift, the Reviewers email address will be added into the data collection sheet. Here's my formula:
=IF(Agency@row = "TFD", INDEX(COLLECT({Reviewers Emails}, {Reviewers Schedule}, Schedule@row), 1), IF(Agency@row = "NWFD", INDEX(COLLECT({Reviewers Emails}, {Reviewers Schedule}, Schedule@row), 1), IF(Agency@row = "GRFD", INDEX(COLLECT({Reviewers Emails}, {Reviewers Schedule}, Schedule@row), 1))))
So I have a list of Reviewers:
If TFD C schedule, then Phil is the reviewer
If TFD B schedule, then Joe is the reviewer
If NWFD A, B or C schedule, Rachel is the reviewer
If GRFD B schedule, Mary is the reviewer
If GRFD C schedule, Tyrel is the reviewer
With my current formula, only the TFD reviewers are working, but not any of the NWFD or GRFD. The NWFD and GRFD Reviewers are just blank. Below is a screen shot of my reference sheet:
What am I doing wrong? Any assistance would be greatly appreciated, and thank you in advance!
Thanks,
Adrienne