Solved

How to write a formula in Excel that will calculate week number?

Posted on 2011-09-11
2
258 Views
Last Modified: 2012-06-27
I've attached a sample workbook. Here is the breakdown.

Column C is the "Event Date" this is the date an event happened.
Column D is the "Followup Activity Date", These are the dates for all of the activity going forward for the "Event Date".
Column E or higher(not in the spreadsheet) would be data that relates to the "Followup Activity Date"

For example the "Event Date"  might be the day someone signed up for a class or even better  started a project. Column E might be what was accomplished and Column D would be the date it was accomplished.

In the workbook you will see two additional columns - A & B. In column A I calculated what number day it is for the entire date range for the Event Date in column C. This was not a problem. What I am stuck on is calculating the week number. The first 7 days will be week 1. The second seven days will be week 2 and so on until we reach the next Event Date which in this workbook would be 6/2/2011

What formula will work? Activity-Report.xlsx
0
Comment
Question by:futr_vision
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 36520167
I don't see any attachment....

but if you have number of days in A2 the try this formula for week number in B2

=INT((A2+6)/7)

regards, barry
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 36520169
....OK, now I see the attachment!

The formula I suggested should work for you, put in B2 and copy down.....

regards, barry
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question