Hello
I have an 'Internal Resource Rates' sheet set up which shows Service Line and Role: on here I have a UK and US rate for each of these roles:
My resourcing sheet - below - looks at the above via a formula: the 'Internal Rate' value changes based on the 'Currency' value:
I have created this formula and it returns the US $ value correctly:
=IFERROR(IF(Location@row = "US", (INDEX(COLLECT({Internal Resource Rates | US $}, {Internal Resource Rates | Service Line}, CONTAINS([Service Line]@row, @cell), {Internal Resource Rates | Internal Role}, [Internal Role]@row), 1))), "")
When I add (what I think) should be an additional argument to return the UK value when the locations isnt US, I get an error:
=IFERROR(IF(Location@row = "US", (INDEX(COLLECT({Internal Resource Rates | US $}, {Internal Resource Rates | Service Line}, CONTAINS([Service Line]@row, @cell), {Internal Resource Rates | Internal Role}, [Internal Role]@row), (INDEX(COLLECT({Internal Resource Rates | UK £}, {Internal Resource Rates | Service Line}, CONTAINS([Service Line]@row, @cell), {Internal Resource Rates | Internal Role}, [Internal Role]@row), 1)))), "")
Am I missing the obvious?! I'm relatively new to formulas btw!