Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Format for making date calculations

I have gotten a new
computer and had all my programs and documents etc copied over to it. For
some reason, in excel, all my date formats were changed from dd/mm/yyyy to
mm/dd/yyyy and my date calculations are not working now. I have gone in to
"format cells" and set the format to custom which changed my date fields back
to dd/mm/yyyy, but my calculations still don't work.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Format for making date calculations

In Start | Control Panel, open Regional Setting and set the date format the
way you want it.
The actual format of dates in Excel should have no effect on how functions
works since dates are actually stored as numbers like 39869.
Tell us about the non-working formulas
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Cassidy1" wrote in message
...
I have gotten a new
computer and had all my programs and documents etc copied over to it. For
some reason, in excel, all my date formats were changed from dd/mm/yyyy to
mm/dd/yyyy and my date calculations are not working now. I have gone in to
"format cells" and set the format to custom which changed my date fields
back
to dd/mm/yyyy, but my calculations still don't work.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Format for making date calculations

Have you checked that your really have dates (not text)?

Also you might try
=SUMPRODUCT((MONTH(J2:J147) =3)*(Year(J2:J147)=2008)*(K2:K147="V"))
to test for a March date in 2008

Happy to look at a file (remove TRUENORTH. from my email address)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Cassidy1" wrote in message
...
This is the formula I'm using (below)- it calculates the number of entries
for a certain month and in a certain community. My dates are entered as
dd/mm/yyyy and the community is entered as either "N" or "D"
=SUMPRODUCT((TEXT(J2:J147,"mmmyy")="Mar08")*(K2:K1 47="V"))

"Bernard Liengme" wrote:

In Start | Control Panel, open Regional Setting and set the date format
the
way you want it.
The actual format of dates in Excel should have no effect on how
functions
works since dates are actually stored as numbers like 39869.
Tell us about the non-working formulas
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Cassidy1" wrote in message
...
I have gotten a new
computer and had all my programs and documents etc copied over to it.
For
some reason, in excel, all my date formats were changed from dd/mm/yyyy
to
mm/dd/yyyy and my date calculations are not working now. I have gone in
to
"format cells" and set the format to custom which changed my date
fields
back
to dd/mm/yyyy, but my calculations still don't work.






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Format for making date calculations

Hi again,
I shut down my excel and reopened the program (which I didn't do after I
changed the date format in the cells) and it seems to be working correctly
now. I also changed the date format in the regional settings so I'm not
really sure what fixed this problem, but it's definitely working now. Thanks
for everyone's help!

"Bernard Liengme" wrote:

Have you checked that your really have dates (not text)?

Also you might try
=SUMPRODUCT((MONTH(J2:J147) =3)*(Year(J2:J147)=2008)*(K2:K147="V"))
to test for a March date in 2008

Happy to look at a file (remove TRUENORTH. from my email address)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Cassidy1" wrote in message
...
This is the formula I'm using (below)- it calculates the number of entries
for a certain month and in a certain community. My dates are entered as
dd/mm/yyyy and the community is entered as either "N" or "D"
=SUMPRODUCT((TEXT(J2:J147,"mmmyy")="Mar08")*(K2:K1 47="V"))

"Bernard Liengme" wrote:

In Start | Control Panel, open Regional Setting and set the date format
the
way you want it.
The actual format of dates in Excel should have no effect on how
functions
works since dates are actually stored as numbers like 39869.
Tell us about the non-working formulas
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Cassidy1" wrote in message
...
I have gotten a new
computer and had all my programs and documents etc copied over to it.
For
some reason, in excel, all my date formats were changed from dd/mm/yyyy
to
mm/dd/yyyy and my date calculations are not working now. I have gone in
to
"format cells" and set the format to custom which changed my date
fields
back
to dd/mm/yyyy, but my calculations still don't work.







Reply
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
making numerical date return mmmm format [email protected] Excel Worksheet Functions 7 February 9th 09 07:16 PM
Making a date go red, if date passes todays date. Jamie Excel Worksheet Functions 2 September 9th 08 02:14 PM
Does Excel keep track of leap years when making date calculations Rickmilv Excel Worksheet Functions 1 January 30th 07 11:23 PM
making daily calculations p-nut Excel Discussion (Misc queries) 1 November 2nd 06 06:53 AM
24 time format and calculations Bob Phillips Excel Worksheet Functions 1 January 25th 06 05:04 PM


All times are GMT +1. The time now is 08:52 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"