是否可以从给定的星期编号和日期名称中获取日期?
例如,如果以下条件匹配,则结果将为日期
Year: 2019
Week Number: 45
Day Name: Friday
Outcome: 8/11/19
这怎么可能?
答案 0 :(得分:2)
尝试以下公式:
=DATE(B1,1,1)+(B2-1)*7+MATCH(B3,{"Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"},0)-WEEKDAY(DATE(B1,1,1)+(B2-1)*7,2)
有关输入单元格的含义,请参见此图:
答案 1 :(得分:0)