Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2016, 09:08 AM
MikeM3 MikeM3 is offline Addition Formula is Giving a Date!!! Windows 10 Addition Formula is Giving a Date!!! Office 2003
Novice
Addition Formula is Giving a Date!!!
 
Join Date: Jan 2016
Posts: 5
MikeM3 is on a distinguished road
Default Addition Formula is Giving a Date!!!

Good afternoon.

I am new here looking for some guidance please.

While working on a cash flow page of Excel, I am gettig a strange
result.
Attempting to add a few cells together I entered the formula =SUM(B4:F4),
press enter and I get a date 18/03/1900, to try and fix it, I deleted all
and in 3 different columns I entered 100, 50, 50 then in the "G" I put the
above formula and got 19/07/1900.

I started with an old sheet and saved as, then deleted evrything from


it, but also lost the formula, so I pulled the original to copy them across,
the first one I wrote was =SUM(A4:E4), a being the column where the
date had been deleted from and got a date appear. If I put the formula
anywhere else on the sheet, it works properly.

I know very little about Excel, but I was shown many years ago how to
write formulas and how to move around a page, but that is all that I know.

Can somebody tell me what is wrong or what I am doing/not doing that
is causing this.

Mike.
Reply With Quote
  #2  
Old 01-12-2016, 10:19 AM
Kevin@Radstock Kevin@Radstock is offline Addition Formula is Giving a Date!!! Windows 10 Addition Formula is Giving a Date!!! Office 2016
Office 365
 
Join Date: Feb 2012
Posts: 94
Kevin@Radstock is on a distinguished road
Default

Hi Mike

The cell which has the formula in, is it General formatting and not as a date!
Reply With Quote
  #3  
Old 01-12-2016, 02:07 PM
MikeM3 MikeM3 is offline Addition Formula is Giving a Date!!! Windows 10 Addition Formula is Giving a Date!!! Office 2003
Novice
Addition Formula is Giving a Date!!!
 
Join Date: Jan 2016
Posts: 5
MikeM3 is on a distinguished road
Default

Quote:
Originally Posted by Kevin@Radstock View Post
Hi Mike

The cell which has the formula in, is it General formatting and not as a date!
Hi Kevin, thank you for reading this.

I think it is general formatting.

Columns "A" to "G" are on the income side, with "A" being
the Date and G being the total, "B" to "F" are the income
streams.

Te formula =SUM(B4:F4) is in the "G" column, but it is not
doing the job.

There must be some hidden text or instructions in that cell
I think.

If all fails, I will just have to start with a fresh spreadsheet,
I tried to help myself by using an old one, but deleted all the
formula in the cells, so a fresh sheet will be clean.

Mike.
Reply With Quote
  #4  
Old 01-13-2016, 04:25 AM
Debaser's Avatar
Debaser Debaser is offline Addition Formula is Giving a Date!!! Windows 7 64bit Addition Formula is Giving a Date!!! Office 2010 32bit
Competent Performer
 
Join Date: Oct 2015
Location: UK
Posts: 221
Debaser will become famous soon enough
Default

Select the cell with the formula in. Press Ctrl+1. On the number format tab is it set to Date?
Reply With Quote
  #5  
Old 01-13-2016, 02:59 PM
MikeM3 MikeM3 is offline Addition Formula is Giving a Date!!! Windows 10 Addition Formula is Giving a Date!!! Office 2003
Novice
Addition Formula is Giving a Date!!!
 
Join Date: Jan 2016
Posts: 5
MikeM3 is on a distinguished road
Default

Thank you all for your suggestions and advice.

Being an engineer, I have dumped the offending sheet/page
and started with a fresh one that works as it should.

I am still confused with the faulty sheet and cannot think
how such an error can happen, I could understand a cash
sum being wrong, but not a date over 100 years popping up.

Thank you once again.

Mike.
Reply With Quote
  #6  
Old 01-14-2016, 01:18 AM
Debaser's Avatar
Debaser Debaser is offline Addition Formula is Giving a Date!!! Windows 7 64bit Addition Formula is Giving a Date!!! Office 2010 32bit
Competent Performer
 
Join Date: Oct 2015
Location: UK
Posts: 221
Debaser will become famous soon enough
Default

Quote:
Originally Posted by MikeM3 View Post
Attempting to add a few cells together I entered the formula =SUM(B4:F4),
press enter and I get a date 18/03/1900, to try and fix it, I deleted all
and in 3 different columns I entered 100, 50, 50 then in the "G" I put the
above formula and got 19/07/1900.
Excel stores dates as the number of days since 31/12/1899.

In your example, 100 +50+50 = 200. 200 days from 31/12/1899 is 18 July 1900. Therefore the simple answer is that your formula cell was formatted as a date. All you needed to do was change the number format as mentioned and you would have seen the correct result.
Reply With Quote
  #7  
Old 01-14-2016, 04:55 AM
MikeM3 MikeM3 is offline Addition Formula is Giving a Date!!! Windows 10 Addition Formula is Giving a Date!!! Office 2003
Novice
Addition Formula is Giving a Date!!!
 
Join Date: Jan 2016
Posts: 5
MikeM3 is on a distinguished road
Default

Quote:
Originally Posted by Debaser View Post
Excel stores dates as the number of days since 31/12/1899.

In your example, 100 +50+50 = 200. 200 days from 31/12/1899 is 18 July 1900. Therefore the simple answer is that your formula cell was formatted as a date. All you needed to do was change the number format as mentioned and you would have seen the correct result.
Thank Debaser, I didn't know that, also I don't know how
I managed to put a date formula into a previously empty
cell, or why the formula that I put in didn't overwrite it.

Thank anyway.

Mike.
Reply With Quote
  #8  
Old 01-14-2016, 05:59 AM
Debaser's Avatar
Debaser Debaser is offline Addition Formula is Giving a Date!!! Windows 7 64bit Addition Formula is Giving a Date!!! Office 2010 32bit
Competent Performer
 
Join Date: Oct 2015
Location: UK
Posts: 221
Debaser will become famous soon enough
Default

It's not a date formula. The cell is formatted to display dates. All you needed to do was to select the cell with the SUM formula in it, press Ctrl+1 (or right-click it and choose Format Cells) and change the format on the Number tab from Date to something else.
Reply With Quote
  #9  
Old 01-15-2016, 02:31 AM
MikeM3 MikeM3 is offline Addition Formula is Giving a Date!!! Windows 10 Addition Formula is Giving a Date!!! Office 2003
Novice
Addition Formula is Giving a Date!!!
 
Join Date: Jan 2016
Posts: 5
MikeM3 is on a distinguished road
Default

Thank you once again Debaser, I will try to remember that
for another time.
I am not used to using excel and get lost occassionally.

Mike.
Reply With Quote
  #10  
Old 01-15-2016, 02:41 AM
Debaser's Avatar
Debaser Debaser is offline Addition Formula is Giving a Date!!! Windows 7 64bit Addition Formula is Giving a Date!!! Office 2010 32bit
Competent Performer
 
Join Date: Oct 2015
Location: UK
Posts: 221
Debaser will become famous soon enough
Default

You're welcome.

Excel can be hard to fathom - especially if you don't use it often!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Addition Formula is Giving a Date!!! Formula to return a date caz46 Excel 3 04-15-2015 08:59 AM
Addition Formula is Giving a Date!!! Date specific formula Query Mukiwi Excel 4 03-20-2014 06:33 AM
Addition Formula is Giving a Date!!! VLookup is giving me #N/A error, help with data or formula? ladygogo78 Excel 3 10-22-2012 12:28 AM
Index Addition Leaves Hidden Codes On SQLUSA Word 3 07-23-2012 02:58 AM
Addition Formula is Giving a Date!!! Need a date formula MPAVLAS Excel 3 08-12-2010 10:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft