SOLVED

Data to days

%3CLINGO-SUB%20id%3D%22lingo-sub-2808328%22%20slang%3D%22en-US%22%3EData%20to%20days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2808328%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20i%20get%20the%20numbers%20of%20days%20between%202%20dates%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExample%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E17-06-2021%20-%2019-06-2021%20i%20want%20to%20count%20the%20days%20between%20the%202%20dates(numbers%20of%20days%202).%20And%20if%20possible%20to%20always%20use%20the%20date%20of%20the%20day%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20Regards%3C%2FP%3E%3CP%3EHenrik%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2808328%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2808337%22%20slang%3D%22en-US%22%3ERe%3A%20Data%20to%20days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2808337%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1174147%22%20target%3D%22_blank%22%3E%40hschdk%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20dates%20are%20in%20A1%20and%20B1%20that%20will%20be%20%3DB1-A1%3C%2FP%3E%0A%3CP%3ESecond%20didn't%20catch%20what%20do%20you%20mean%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2808375%22%20slang%3D%22en-US%22%3ERe%3A%20Data%20to%20days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2808375%22%20slang%3D%22en-US%22%3EI%20want%20to%20count%20the%20days%20between%202%20date%20format%3CBR%20%2F%3E%3CBR%20%2F%3Eexample%3A%3CBR%20%2F%3E%3CBR%20%2F%3EA1%3B%20entry%20date%3D17-06-2021%3CBR%20%2F%3EB1%3A%20Salesdate%3D%2020-06-2021%3CBR%20%2F%3EC1%3D%20Numbes%20of%20dayes%20between(want%20to%20have%20excel%20to%20return%20the%20numbes)%203%20days%3C%2FLINGO-BODY%3E
New Contributor

Hello

 

How do i get the numbers of days between 2 dates?

 

Example:

 

17-06-2021 - 19-06-2021 i want to count the days between the 2 dates(numbers of days 2). And if possible to always use the date of the day

 

Best Regards

Henrik

8 Replies

@hschdk 

If dates are in A1 and B1 that will be =B1-A1

Second didn't catch what do you mean

I want to count the days between 2 date format

example:

A1; entry date=17-06-2021
B1: Salesdate= 20-06-2021
C1= Numbes of dayes between(want to have excel to return the numbes) 3 days

@hschdk 

Days in Excel are sequential integers numbers starting from 1 which is Jan 01, 1900 (on Windows).  Format only defines how to show such numbers. If you enter =TODAY() and apply General format that will be

image.png

Can't get it to work
best response confirmed by hschdk (New Contributor)
Solution

@hschdk 

Please check in attached file

Now it works thank yo very much for your help

@hschdk , you are welcome, glad to help