Link to home
Start Free TrialLog in
Avatar of Brad Rubin
Brad RubinFlag for United States of America

asked on

Can I get a formula for identifying the date of the last day of the week?

I would like to run a formula across a spreadsheet to breakup data into weekly segments for a pivot table. I want to graph that data by the date of the last day for a week.

I want to make a week equal to Monday - Sunday. I can do this with a Weeknum function below.

Example:
=WEEKNUM("1/1/14", 2) to get a value of "1"

Question:
I need help with a formula where the value would represent the date of the Sunday at the end of the week. So in the example above, the result of "1" would be equal to 1/5/14. I would like to use this formula across a lot of data for an entire year so an ability to fill down is desired.
ASKER CERTIFIED SOLUTION
Avatar of Richard Obenchain
Richard Obenchain

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brad Rubin

ASKER

Much appreciated...worked well.