Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Date format and weeknum formel

Hi

I`ve got a couple of "nice" excel sheets at work, made by an ex-employe. Now
I have to make them work for 2007. The sheet has an auto update when started,
imports data fra a database.

This fomel =WEEKNUM(A1;2) returns #value!. A1 shows 11.01.2007, and should
have returned 2(as weeknumber 2). If I write the date again av 2007-01-11, it
shows 11.01.2007 and the weeknum formel shows 2.

What could be the problem? wrong time/date setup?

I have added the analysis toolpak.

/svemor
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Date format and weeknum formel

Perhaps your calculations are not set to automatic.

Tools--Options--Calculations-_Automatic

Dave
--
Brevity is the soul of wit.


"svemor" wrote:

Hi

I`ve got a couple of "nice" excel sheets at work, made by an ex-employe. Now
I have to make them work for 2007. The sheet has an auto update when started,
imports data fra a database.

This fomel =WEEKNUM(A1;2) returns #value!. A1 shows 11.01.2007, and should
have returned 2(as weeknumber 2). If I write the date again av 2007-01-11, it
shows 11.01.2007 and the weeknum formel shows 2.

What could be the problem? wrong time/date setup?

I have added the analysis toolpak.

/svemor

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Date format and weeknum formel

Its set to Automatic, but it doesn`t do any updates other then automatic
refresh when started. I clicked the "update" now button but nothing happend..

"Dave F" wrote:

Perhaps your calculations are not set to automatic.

Tools--Options--Calculations-_Automatic

Dave
--
Brevity is the soul of wit.


"svemor" wrote:

Hi

I`ve got a couple of "nice" excel sheets at work, made by an ex-employe. Now
I have to make them work for 2007. The sheet has an auto update when started,
imports data fra a database.

This fomel =WEEKNUM(A1;2) returns #value!. A1 shows 11.01.2007, and should
have returned 2(as weeknumber 2). If I write the date again av 2007-01-11, it
shows 11.01.2007 and the weeknum formel shows 2.

What could be the problem? wrong time/date setup?

I have added the analysis toolpak.

/svemor

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Date format and weeknum formel

Weeknum is a ATP function

ToolsAdd-ins and check the Analysis Toolpak

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"svemor" wrote in message ...
Hi

I`ve got a couple of "nice" excel sheets at work, made by an ex-employe. Now
I have to make them work for 2007. The sheet has an auto update when started,
imports data fra a database.

This fomel =WEEKNUM(A1;2) returns #value!. A1 shows 11.01.2007, and should
have returned 2(as weeknumber 2). If I write the date again av 2007-01-11, it
shows 11.01.2007 and the weeknum formel shows 2.

What could be the problem? wrong time/date setup?

I have added the analysis toolpak.

/svemor

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Date format and weeknum formel

The OP says the ATP is installed...
--
Brevity is the soul of wit.


"Ron de Bruin" wrote:

Weeknum is a ATP function

ToolsAdd-ins and check the Analysis Toolpak

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"svemor" wrote in message ...
Hi

I`ve got a couple of "nice" excel sheets at work, made by an ex-employe. Now
I have to make them work for 2007. The sheet has an auto update when started,
imports data fra a database.

This fomel =WEEKNUM(A1;2) returns #value!. A1 shows 11.01.2007, and should
have returned 2(as weeknumber 2). If I write the date again av 2007-01-11, it
shows 11.01.2007 and the weeknum formel shows 2.

What could be the problem? wrong time/date setup?

I have added the analysis toolpak.

/svemor




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Date format and weeknum formel

Analysis Toolkpak already checked

"Ron de Bruin" wrote:

Weeknum is a ATP function

ToolsAdd-ins and check the Analysis Toolpak

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"svemor" wrote in message ...
Hi

I`ve got a couple of "nice" excel sheets at work, made by an ex-employe. Now
I have to make them work for 2007. The sheet has an auto update when started,
imports data fra a database.

This fomel =WEEKNUM(A1;2) returns #value!. A1 shows 11.01.2007, and should
have returned 2(as weeknumber 2). If I write the date again av 2007-01-11, it
shows 11.01.2007 and the weeknum formel shows 2.

What could be the problem? wrong time/date setup?

I have added the analysis toolpak.

/svemor


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Date format and weeknum formel

Do you have a English Excel version ??
You use ;

See this page for a normal function (no ATP needed)
http://www.rondebruin.nl/weeknumber.htm




--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"svemor" wrote in message ...
Analysis Toolkpak already checked

"Ron de Bruin" wrote:

Weeknum is a ATP function

ToolsAdd-ins and check the Analysis Toolpak

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"svemor" wrote in message ...
Hi

I`ve got a couple of "nice" excel sheets at work, made by an ex-employe. Now
I have to make them work for 2007. The sheet has an auto update when started,
imports data fra a database.

This fomel =WEEKNUM(A1;2) returns #value!. A1 shows 11.01.2007, and should
have returned 2(as weeknumber 2). If I write the date again av 2007-01-11, it
shows 11.01.2007 and the weeknum formel shows 2.

What could be the problem? wrong time/date setup?

I have added the analysis toolpak.

/svemor


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Date format and weeknum formel

If you reenter that value and the formula works, then I'm betting that the
original value isn't really a date--I'm thinking that it's a string that looks
like a date.

If the dates are all in one column, you can try to convert them by using:

Select the range (single column)
data|text to columns

and choose mdy (or dmy???) and finish up.

Then see if the formula updates ok.

svemor wrote:

Hi

I`ve got a couple of "nice" excel sheets at work, made by an ex-employe. Now
I have to make them work for 2007. The sheet has an auto update when started,
imports data fra a database.

This fomel =WEEKNUM(A1;2) returns #value!. A1 shows 11.01.2007, and should
have returned 2(as weeknumber 2). If I write the date again av 2007-01-11, it
shows 11.01.2007 and the weeknum formel shows 2.

What could be the problem? wrong time/date setup?

I have added the analysis toolpak.

/svemor


--

Dave Peterson
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Date format and weeknum formel

Thanks. I think thats the problem, I`m gonna try it tomorrow at work.
I will let you know if it works.

"Dave Peterson" wrote:

If you reenter that value and the formula works, then I'm betting that the
original value isn't really a date--I'm thinking that it's a string that looks
like a date.

If the dates are all in one column, you can try to convert them by using:

Select the range (single column)
data|text to columns

and choose mdy (or dmy???) and finish up.

Then see if the formula updates ok.

svemor wrote:

Hi

I`ve got a couple of "nice" excel sheets at work, made by an ex-employe. Now
I have to make them work for 2007. The sheet has an auto update when started,
imports data fra a database.

This fomel =WEEKNUM(A1;2) returns #value!. A1 shows 11.01.2007, and should
have returned 2(as weeknumber 2). If I write the date again av 2007-01-11, it
shows 11.01.2007 and the weeknum formel shows 2.

What could be the problem? wrong time/date setup?

I have added the analysis toolpak.

/svemor


--

Dave Peterson

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
Conditional Formatting using Formulas and WEEKNUM Kirk Excel Discussion (Misc queries) 7 April 16th 09 03:19 PM
Weeknum help SoSoExcelGuy Excel Worksheet Functions 2 August 1st 06 03:14 PM
weeknum formatting Terri Excel Discussion (Misc queries) 2 May 3rd 06 03:13 AM
Translate WEEKNUM result into a date Wil Excel Worksheet Functions 2 September 8th 05 01:26 PM
Custom Format for WEEKNUM(Today()) RonB Excel Discussion (Misc queries) 2 January 12th 05 06:13 PM


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