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

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
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,214,945
Messages
6,122,395
Members
449,081
Latest member
JAMES KECULAH

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