Solved

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

Posted on 2011-09-11
2
244 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
  • 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

773 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