Worknum on concatinated date format

bonbrian

New Member
Joined
Feb 13, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Please help on how to get the workweek using worknum function on a concatinated date format
=CONCATENATE(A1," ",B1," ",C1)
how can i use the worknum function for this formula?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
whats worknum ?
do you mean WeekNUM()


where do you want to add the weeknum()

You could use text join () as you have 365 version and join a range together as well as the weeknum

i need a little more info then provided

heres an example

Kitchen-Order-ETAF.xlsx
ABCDEFGHIJK
1Concatenatetext joinConcat using &
2This is5/1/21Week NumberThis is 18 Week NumberThis is 18 Week NumberThis is 18 Week Number
Sheet5
Cell Formulas
RangeFormula
E2E2=CONCATENATE(A2," ",WEEKNUM(B2)," ",C2)
H2H2=TEXTJOIN(" ",1,A2, WEEKNUM(B2),C2)
K2K2=A2&" "&WEEKNUM(B2)&" "&C2
 
Upvote 0
Upvote 0
Thank you, yeah it should be WeekNUM()
What i mean is if i combine the cells with month day year using concatinate or textjoin, how can i convert it to workweek.

1613220014370.png
 
Upvote 0
you would need to concatenate the cells and then use datevalue() to change to a date and then weeknum() to get the weeknumber

I'm in UK and used DD/MMMM/YYYY type of format - so C2 & B2 & D2

OR with a textjoin

Kitchen-Order-ETAF.xlsx
ABCDEFG
1MonthDayyearWORKWEEK
2December25199952
3
4TEXTJOIN52
5
Sheet6
Cell Formulas
RangeFormula
F2F2=WEEKNUM(DATEVALUE(C2&" "&B2&" "&D2))
F4F4=WEEKNUM(DATEVALUE(TEXTJOIN("-",1,C2,B2,D2)))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,413
Members
449,082
Latest member
tish101

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