dates

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Dates

Dates

resolvedResolved · Urgent Priority · Version 2016

Weston has attended:
Excel Advanced course

Dates

I am trying to subtract between two dates but the result I am getting is #value. Please how do i resolve this.

RE: dates

Hi,

A #value error means that you are doing something that doesn't make sense to Excel for the data type. It's like trying to add up a text string. You can add up numbers but not text.

My first thought would be that excel doesn't recognise on of the dates you are using in your calculation as a date.

Are you holding the dates in separate cells? This is the most reliable was to do this type of calculation.
If so then your formula would be something like this:
=A1 - B1
where A1 has the more recent or future date and B2 the older date.

Do you have all the information in the formula like this:
= 10/5/2019 - 1/5/2019

this is less reliable as this formula gives an answer so: 0.00089153

This is probably due to Excel interpreting the slashes as division operators.

Can you include your formula? Are your dates displaying correctly?

thanks
Claire

RE: dates

Thanks Claire

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

New Normal Worksheet

Do you want all your worksheets to confirm to a certain look? Then change the Defaults!!!
1. Press Shift+F11 to create a new worksheet
2. Press Ctrl+A to select (higlight) all cells, Press Ctrl+1, make any formatting changes then click OK.
3. Press F12 (Function 12 key) click in the Save As Type, drop down, then select Template (*.xlt)
4. Click in the Save in drop-down, then find the folder; c:_program files_microsoft office_office_start. (For the underscores shown use backslash)
Name your templete sheet.xlt, then press Enter.
Sheet.xlt is used when you insert a new worksheet (Shift+F11)

Note: These changes are permanent changes on your PC.

View all Excel hints and tips


Server loaded in 0.06 secs.