I have 2 sheets: 1) contains the study information 2) cost tracker that pulls the Speedtype#, price, etc. from #1
worksheet #1
Worksheet #2
in Worksheet #2, which is our cost tracker, when the IRB# is entered, the information gets pulled from Worksheet #1, including the price rate (if they select the correct type of service). Since the ST# can change yearly, I would like a formula that would also bring the most recent/active speedtype#. In other words, if the "completion date" is between ST# start date and end date (some are blank as the ST# is still active). For example for 18-0479, completion date 10/5/23, ST# should be 63512345.
I was using, "=IFERROR(INDEX({worksheet 1 IRB list ST#}, MATCH([IRB#/Study Name]@row, {worksheet 2 IRB list IRB#}, 0)), ""), but it's pulling 62654321. It should be 63512345.
Is there a formula to add, if completion date is > ST# start date, then pull up that corresponding Study ST#? I've tried , "=IF([Completion Date]@row > {worksheet 1 IRB ST# Start Date}, IFERROR(INDEX(COLLECT({worksheet 1 IRB list Multiple Range}, {worksheet 1 IRB list ST#}, [Study ST#]@row, 0)))), but it's giving me circular referencing error.
There will be multiple entries of the same IRB#/Study Name, but with updated Study ST# (or Speedtype#) which can change yearly. Thank you for your help. I'm totally baffled.