Forum Discussion

dquack's avatar
dquack
Copper Contributor
Oct 23, 2020
Solved

Use If formula to subtract different numbers according to a specific word

I am trying to build a tracker for award timelines but we have different awards with different time requirements for submission. For a service award it needs to be to HR 15 days prior to today but if...
  • HansVogelaar's avatar
    Oct 23, 2020

    dquack 

    Create a lookup table, for example on another sheet:

     

    You can then use VLOOKUP:

     

     

    The formula in D3 is

     

    =C3-VLOOKUP(B3,Sheet2!$A$2:$B$3,2,FALSE)

Resources