I want Excel to return a week number for a specific date

PGFamilyMan

New Member
Joined
May 24, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
I want Excel to return a value of 1,2,3,4, or 5 denoting that a specific date is the 1st, 2nd, 3rd, 4th, or 5th day of the month. For example. I'd like to enter "11/22/2023", and then have the adjacent column return a '3', meaning that it's the 3rd Wednesday of the month. I know how to return 'Wednesday", but how do I return specifically the THIRD Wednesday?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
How about
Excel Formula:
=INT(DAY(A2)/7)+1
Also the 22nd Nov 23 was the 4th Wednesday. ;)
 
Upvote 0
On second thought... this isn't working. I'm using this formula for '6/7/2023', and it's showing a '2'. This date is the 1st Wednsday, so I'd want it to return a '1'.
 
Upvote 0
How about
Excel Formula:
=INT((DAY(A2)-1)/7)+1
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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