Whats wrong with this nested if and vlookup formula?

Hi - I am trying to have my smartsheet return the monthly budgeted cost for each test kit (covid, flu, strep, RSV. Each month has a different budget allocated to each test and these are in a separate sheet. I tried the formula below but it is returning as "unparseable". Can you please help me identify what I am doing wrong?

=IF([Test Type]@row = "Covid", VLOOKUP([Month/Year]@row, {Budgeted Cost Test Kits Range 1}, 2, false)), IF([Test Type]@row = "Flu", VLOOKUP([Month/Year]@row, {Budgeted Cost Test Kits Range 2}, 3, false)), IF([Test Type]@row = "Strep", VLOOKUP([Month/Year]@row, {Budgeted Cost Test Kits Range 3}, 4, false)), IF([Test Type]@row = "RSV", VLOOKUP([Month/Year]@row, {Budgeted Cost Test Kits Range 4}, 5, false))

Thanks

Comments

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!