SOLVED

Subtract days in the past, from today, to show a past due message.

%3CLINGO-SUB%20id%3D%22lingo-sub-2175533%22%20slang%3D%22en-US%22%3ESubtract%20days%20in%20the%20past%2C%20from%20today%2C%20to%20show%20a%20past%20due%20message.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175533%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22NoraJJ_0-1614630569141.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F259275i4AA18F979F7AB9B6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22NoraJJ_0-1614630569141.png%22%20alt%3D%22NoraJJ_0-1614630569141.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20expiry%20warning%20is%20todays%20date%20against%20the%20date%20in%20column%20E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20a%20message%20to%20populate%20in%20column%20F%20with%20one%20of%20the%20three%20options.%3C%2FP%3E%3CP%3E%22Past%20due%22%3C%2FP%3E%3CP%3E%22Due%20in%20less%20than%2010%20days%22%3C%2FP%3E%3CP%3E%22More%20than%2010%20days%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2175533%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2175607%22%20slang%3D%22en-US%22%3ERe%3A%20Subtract%20days%20in%20the%20past%2C%20from%20today%2C%20to%20show%20a%20past%20due%20message.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175607%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F980108%22%20target%3D%22_blank%22%3E%40NoraJJ%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20F2%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3DIF(E2%3D%22%22%2C%22%22%2CIF(E2%3CTODAY%3E%0A%3C%2FTODAY%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFill%20down.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2175633%22%20slang%3D%22en-US%22%3ERe%3A%20Subtract%20days%20in%20the%20past%2C%20from%20today%2C%20to%20show%20a%20past%20due%20message.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175633%22%20slang%3D%22en-US%22%3EHans%2C%20you%20are%20so%20smart%20with%20excel%20functions%2C%20I%20am%20learning%20good%20things%20from%20the%20formula%20help.%20Thanks%20for%20taking%20your%20time%20to%20help%20me%20with%20something%20I%20was%20not%20able%20to%20discover%20on%20my%20own.%3C%2FLINGO-BODY%3E
Occasional Contributor

NoraJJ_0-1614630569141.png

The expiry warning is todays date against the date in column E.

 

I need a message to populate in column F with one of the three options.

"Past due"

"Due in less than 10 days"

"More than 10 days"

3 Replies
best response confirmed by NoraJJ (Occasional Contributor)
Solution

@NoraJJ 

In F2:

 

=IF(E2="","",IF(E2<TODAY(),"Past due",IF(E2<TODAY()+10,"Due in less than 10 days","Due in 10 days or more")))

 

Fill down.

Hans, you are so smart with excel functions, I am learning good things from the formula help. Thanks for taking your time to help me with something I was not able to discover on my own.
Hi,

You can apply the below formula in column F
=IF((G2-E2)>0,"Past Due",IF((G2-E2)>-10,"Due in less than 10 days","More than 10 days"))
Hope this will help you.