Associating Data with a Calendar Week

Ute4Life

New Member
Joined
Mar 16, 2009
Messages
21
I have data arrayed in a spreadsheet, with individual orders in rows, and order dates (daily) and revenue in columns. I need to associate the daily orders and revenue with the calendar weeks (by number), where Week 1 is Jan4 - Jan10, Week 2 is Jan11 - Jan16, and so on. I would like to see, by Week #, how many and how much revenue is associated with the orders. Is there a function in Excel to accomplish this?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Welcome to the board.

You can use the formula:

=WEEKNUM(F1,1)-1 where your date is in cell F1

The 1 after the comma in the brackets is for weeks beginning Sunday.
Use 2 for week start Monday.

Microsoft start the weeknumbers from the 1st of Jan, so for your weeks the last '-1' corrects to your needs.

Kelbo
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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