weeknum

avinashraste

Board Regular
Dear friends,

I want to use weeknum function for the entries from 1st of September. But I want the entries, starting from 1st of September as Week 1.

Where as the function returns the week number 35. So my query is, can we have customized weeknum ? I mean, can I start 1st Of September as Week 1 and then Week 2 from September 8 and so on ?

Regards,
AR

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Scott Huish

MrExcel MVP
With date in A1, does this work for you?

=WEEKNUM(EDATE(A1,-8))

avinashraste

Board Regular
With date in A1, does this work for you?

=WEEKNUM(EDATE(A1,-8))

Dear Scott Huish,

First of all thank you very much for the kind reply.
The solution you've suggested worked like a charm. Thank you very much once again for this reply with fantastic solution.

Regards,
AR

avinashraste

Board Regular
Dear friends,

I want to use weeknum function for the entries from 1st of September. But I want the entries, starting from 1st of September as Week 1.

Where as the function returns the week number 35. So my query is, can we have customized weeknum ? I mean, can I start 1st Of September as Week 1 and then Week 2 from September 8 and so on ?

Regards,
AR

Dear Scott,

Your suggestion worked very well ( You have suggested "=WEEKNUM(EDATE(A1,-8)" ) with the date 01/09/2017 as week 1.

What can I do if I want to keep 28/12/2017 as week 1 ?

Thanks & Regards

A Raste

Nishant94

Well-known Member
 A B 1 28-12-2017​ 1 2 05-01-2018​ 2 3 10-01-2018​ 2 4 14-01-2018​ 3

<tbody>
</tbody>

In A1:
Code:
``=int(max(1,a1-\$a\$1)/7)+1``

Replies
3
Views
208
Replies
7
Views
807
Replies
4
Views
138
Replies
1
Views
360
Replies
1
Views
188

1,130,042
Messages
5,639,725
Members
417,108
Latest member
Thein Than

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.

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

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