Created a sample syntax to give an example of what I am looking to create, however I am unfamiliar with coding for java. Used a range for the sample, however if the code needs to exist outside of the range, I have no issue with that.
ARRAYFORMULA(
=ifs(
D2:Y158 = "Y"; Reference!B2;
D2:Y158 = "N"; Reference!B3;
D2:Y158 = "-"; Reference!B4;
true; iferror(1/0)
If someone more familiar knows of a code that can be implemented to automate this with these 3 text inputs as well as other text inputs that I might need to add later, I would be so greatly appreciated. If not, if someone more familiar could help me create one, that would be incredible too.
Thank you,
Bea