I have to convert month in short form (Jan, Feb etc) to number. I´m using DateValue formula. It returns correct values for few months & error for few. Not sure why the results are inconsistent. Can the experts advise what is going wrong please?
Book1 | ||||
---|---|---|---|---|
B | C | |||
2 | Jan | #VALUE! | ||
3 | Feb | 2 | ||
4 | Mar | 3 | ||
5 | Apr | #VALUE! | ||
6 | May | 5 | ||
7 | Jun | 6 | ||
8 | Jul | 7 | ||
9 | Aug | #VALUE! | ||
10 | Sep | 9 | ||
11 | Oct | 10 | ||
12 | Nov | 11 | ||
13 | Dec | #VALUE! | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C2:C13 | C2 | =MONTH(DATEVALUE(B2&"1")) |