lionginass
New Member
- Joined
- Jul 29, 2016
- Messages
- 24
Hello,
I have 4 month: January, February, March and April in range A2:D2
January actually means 1; February - 2; march - 3 and April 4
I need a code, that converts month name to number and return number
Lets say row 3:
February, february, April, April = 12 (2+2+4+4)
row 4:
January, April, January, March = 9 (1+4+1+3
replace all doesnt fit here, because i need those names in my worksheet
something with vlookop would work fine, but i dont need additional sheets or cells.. in other words i need that only month names and answer would be seen.
thanks for help
I have 4 month: January, February, March and April in range A2:D2
January actually means 1; February - 2; march - 3 and April 4
I need a code, that converts month name to number and return number
Lets say row 3:
February, february, April, April = 12 (2+2+4+4)
row 4:
January, April, January, March = 9 (1+4+1+3
replace all doesnt fit here, because i need those names in my worksheet
something with vlookop would work fine, but i dont need additional sheets or cells.. in other words i need that only month names and answer would be seen.
thanks for help