Date Formulas

%3CLINGO-SUB%20id%3D%22lingo-sub-1496212%22%20slang%3D%22en-US%22%3EDate%20Formulas%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1496212%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%E2%80%99m%20trying%20to%20calculate%20the%20years%20between%20two%20dates%20and%20I%20keep%20getting%20%23NUM!%20as%20a%20response.%26nbsp%3B%20The%20formula%20I%E2%80%99m%20using%20is%20%3DDATEDIF(P3%2CO3%2C%22Y%22).%26nbsp%3B%20What%20I%E2%80%99m%20I%20doing%20wrong%3F%3CBR%20%2F%3E%3CBR%20%2F%3EAs%20additional%20information%2C%20I%20have%20Office%20Professional%20Plus%202019.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3EIsh%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1496212%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1496268%22%20slang%3D%22en-US%22%3ERe%3A%20Date%20Formulas%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1496268%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F713339%22%20target%3D%22_blank%22%3E%40Ish_Moorman%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPerhaps%20you%20start%20date%20is%20in%20O3.%20If%20not%20it%20shall%20work%20as%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20246px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F201850i4FABC01192A8DF94%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1496282%22%20slang%3D%22en-US%22%3ERe%3A%20Date%20Formulas%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1496282%22%20slang%3D%22en-US%22%3EOK%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,

I’m trying to calculate the years between two dates and I keep getting #NUM! as a response.  The formula I’m using is =DATEDIF(P3,O3,"Y").  What I’m I doing wrong?

As additional information, I have Office Professional Plus 2019.

Thanks,
Ish

1 Reply

@Ish_Moorman 

Perhaps you start date is in O3. If not it shall work as

image.png