Calculate a deadline

%3CLINGO-SUB%20id%3D%22lingo-sub-3010325%22%20slang%3D%22en-US%22%3ECalculate%20a%20deadline%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3010325%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I%20was%20wondering%20if%20anyone%20could%20help%20me%20with%20an%20issue%20I'm%20having.%20I%20would%20like%20excel%20to%20automatically%20calculate%20a%20deadline%20for%20me%20based%20on%20information%20in%20another%20cell.%3C%2FP%3E%3CP%3EI%20would%20like%20column%20D%20to%20calculate%20the%20deadline%20based%20on%20the%20time%20frame%20given%20to%20complete%20the%20action%20in%20Row%20C%20(or%20even%20better%20to%20know%20automatically%20what%20the%20time%20frame%20is%20from%20the%20information%20in%20column%20B%20and%20calculate%20it%20that%20way)%3F%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3010325%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3010459%22%20slang%3D%22en-US%22%3ERe%3A%20Calculate%20a%20deadline%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3010459%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1231112%22%20target%3D%22_blank%22%3E%40emilycharlton%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20D2%3A%3C%2FP%3E%0A%3CP%3E%3DIFS(UPPER(RIGHT(C2%2C4))%3D%22DAYS%22%2CA2%2BLEFT(C2%2CLEN(C2)-5)%2CUPPER(RIGHT(C2%2C5))%3D%22HOURS%22%2CA2%2BLEFT(C2%2CLEN(C2)-6)%2F24%2CTRUE%2C%22%3F%3F%3F%22)%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi, I was wondering if anyone could help me with an issue I'm having. I would like excel to automatically calculate a deadline for me based on information in another cell.

I would like column D to calculate the deadline based on the time frame given to complete the action in Row C (or even better to know automatically what the time frame is from the information in column B and calculate it that way)?

Thanks!

 

1 Reply

@emilycharlton 

In D2:

=IFS(UPPER(RIGHT(C2,4))="DAYS",A2+LEFT(C2,LEN(C2)-5),UPPER(RIGHT(C2,5))="HOURS",A2+LEFT(C2,LEN(C2)-6)/24,TRUE,"???")