Week numbers

booiboa

New Member
Joined
Apr 1, 2002
Messages
25
Hi there,

We use excel workbooks to report our time in our project. Each person updates his excelfile every friday. In this workbook there are columns for every week and they are numbered 1-52 as the 52 weeks of the year.
Now to my question:
How can I get the total hours of the current week in the same cell, without the previous weeks time included, when that is different column every week?

Thanks guys,
/// Boo Engstrand ///
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi Boo


I am not sure I understand your table layout or where this "Same cell" is but have you tried the SUMIF function?
 
Upvote 0
No, I have not.
I guess that could work, but only if I can get "todays date" and place that in a week number. Is there a function in excel that keeps track of the week numbering?

Thanks for your help!
// Boo //
 
Upvote 0
Hi there
In Excel 2000 there is a function called weeknum that will give you the week number. So you can use the formula =today() in one cell and have the formula =weeknum refer to it to give the number of the week.
regards
Derek
This message was edited by Derek on 2002-04-08 04:41
This message was edited by Derek on 2002-04-08 04:42
 
Upvote 0
Hi Derek,

Sounds like a great function. just what I need. Too bad that I can't change from Excel 97 to Excel 2000. Any ideas to handle that?
// Boo //
 
Upvote 0
On 2002-04-08 07:27, booiboa wrote:
Hi Derek,

Sounds like a great function. just what I need. Too bad that I can't change from Excel 97 to Excel 2000. Any ideas to handle that?
// Boo //

The WEEKNUM worksheet function can be used in Excel 97 once the Analysis ToolPak add-in has been added. See the Help Index topic for "Install and use the Analysis ToolPak".
 
Upvote 0
OK, thanks!

How do I format the cell with this formula?
When I put =WEEKNUM in the cell the output is:
-640155557

I sort of expected something like w.12 but I could not find any good formatting on it.
// Boo //
 
Upvote 0
On 2002-04-08 08:52, booiboa wrote:
OK, thanks!

How do I format the cell with this formula?
When I put =WEEKNUM in the cell the output is:
-640155557

I sort of expected something like w.12 but I could not find any good formatting on it.
// Boo //

See the Excel Help topic for WEEKNUM worksheet function.
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,390
Members
448,957
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top