Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

formula dates

ResolvedVersion 2007

Dawn has attended:
PowerPoint Intermediate Advanced course

Formula for dates

If i create a formula for dates with one column reading date from: and another column date to: and i want to see how many days are inbetween i.e. a simple formula = a minus b. does the date have to be written in a particular way in order for excel to understand how to work out how many days there are between the two dates?

RE: formula for dates

Hello Dawn,

Thank you for your question. The best way to calculate number of days between two dates is to type in the start and end dates as you proposed, into their own columns, in the format, for example: 12/01/2014. Then, in the third column, you enter the formula =B2-A2 (assuming the start date is in cell A2 and the end date is in cell B2) in cell C2. This will tell you the number of days between the two dates. Make sure cell C2 is formatted as "General".

I hope this is helpful.

Kind regards
Marius Barnard
Excel Trainer
Best STL

RE: formula for dates

Thank you Maruis

Excel tip:

Creating a range of monthly payments as text

You could use a formula to create a range of payment ie. payment amount for x% to y% rate with fixed terms and principle.

The text that would be "between Xamount and Yamount".

Here is how to do it.

1 Use the PMT function to get your monthly payments figure or whatever frequency of payments that you choose he start range.

See PMT under Excel Help

2. Nest these in the ROUND function to round decimals see ROUND under Excel Help


3. Concatenate this using "&" and concatenate " to " and concatenate "Between ".

4. Concatenate the above to PMT function for the end range

ie.

="Between "&ROUND((PMT1),decimal places)&" and "&ROUND((PMT2),decimal places)

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.