LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Month function yields incorrect solution

I have a worksheet, admittedly of suspect background, it was extracted from
an older one with lots if errors in it. I have mostly cleaned it up and it
works fine except for extracting month from a date field. I have two date
fields in the worksheet and one works just fine. It is formatted as alpha
month, day, and four digit year. I enter a column "=month(g4)" and I get the
correct month. The second date column appears to be formatted exactly the
same and =month gives me a date in January, 1900. So I tried creating a new
date column, formatted the same and entered random dates in it. I then
entered a new "=month" column and I get the dates in January, 1900. So I
opened a new file and tried it again and the month function yields the
correct answer. I suspect the software that created the base file I started
with is pre-Y2K but when I enter dates as, say, 2/3/78, they appear as
February 3, 1978. It does not appear to make any difference if the dates are
before or after 2000. Any ideas on what is happening and how it might be
fixed?
--
TIA,
Al the Computer Pal
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Substitute function yields #VALUE! when add the instance_number Bob F Excel Worksheet Functions 7 November 30th 07 03:08 AM
Datedif incorrect month count - February problem?? JMKCT Excel Worksheet Functions 4 December 14th 05 03:36 PM
=Month function in Excel gives incorrect month jbmx New Users to Excel 1 September 14th 05 07:58 PM
ACCRINT formula yields incorrect result Onurali_k Excel Worksheet Functions 7 March 24th 05 05:47 PM
"Is Between" Function Solution --- Many Thanks Cindi Excel Worksheet Functions 2 November 4th 04 10:04 PM


All times are GMT +1. The time now is 04:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"