按日期获取周数

时间:2014-02-20 08:00:20

标签: excel google-sheets excel-formula spreadsheet

我在电子表格中有几个日期:

enter image description here

我想在欧洲时间列B列中的第C栏中获取周数。

我尝试了类似的东西(以及上面的内容):

= MID(TEXT(C2,"dd.m.yyyy"), 3, 2)

但是,这只会在.2列中显示B ...

有关如何实施/启动的任何建议?

我非常感谢你的回答!

PS。:我还添加了excel tags,因为它与google spreadsheet类似。我可能有机会在excel

中实施google spreadsheet中的内容

2 个答案:

答案 0 :(得分:0)

in excel for get week number use

=WEEKNUM(C2)

答案 1 :(得分:0)

使用以下公式

WeekDay(c2)

它将返回工作日数字。