Forum Discussion

curiouslearner70's avatar
curiouslearner70
Copper Contributor
Nov 20, 2022
Solved

Help with IF Conditional formatting

Hi I am not an excel expert so pardon if my question sounds confusing. I am trying to set multiple conditions using free text as validation and want to build a formula to calculate. Here is what I di...
  • Riny_van_Eekelen's avatar
    Nov 20, 2022

    curiouslearner70 

    Keeping the same logic as what you stated with, try this:

    =IF(M11>="TJO",D5+45,IF(M11>="RfR",D5+60,IF(M11>="PJSO",D5+120, "")))

     

    No need for the AND bits and you need the check the texts in descending alphabetical order.

     

    Edit: And no need for the quotation marks and the = sign where you want to perform a calculation as it just creates a text like =D5+60 as you discovered.

Resources