Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm trying to pull only the month from a date in cell A-1 and display it in
the adjacent cell. when using the formula =LEFT(A1,FIND("/",A1)-1) i am getting a # value! error. if i go through the solver macro, the formula is solving the date entered in cell A-1 as a number, rather than a date. A-1 is formatted to display a date. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
use
=MONTH(A1) A1 is held in date format (and internally as a number) so you cannot use your formula. "pls" wrote: I'm trying to pull only the month from a date in cell A-1 and display it in the adjacent cell. when using the formula =LEFT(A1,FIND("/",A1)-1) i am getting a # value! error. if i go through the solver macro, the formula is solving the date entered in cell A-1 as a number, rather than a date. A-1 is formatted to display a date. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try =MONTH(A1)
Hope this helps, Hutch "pls" wrote: I'm trying to pull only the month from a date in cell A-1 and display it in the adjacent cell. when using the formula =LEFT(A1,FIND("/",A1)-1) i am getting a # value! error. if i go through the solver macro, the formula is solving the date entered in cell A-1 as a number, rather than a date. A-1 is formatted to display a date. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
i should have known it would have been that easy... thanks guys.
"Tom Hutchins" wrote: Try =MONTH(A1) Hope this helps, Hutch "pls" wrote: I'm trying to pull only the month from a date in cell A-1 and display it in the adjacent cell. when using the formula =LEFT(A1,FIND("/",A1)-1) i am getting a # value! error. if i go through the solver macro, the formula is solving the date entered in cell A-1 as a number, rather than a date. A-1 is formatted to display a date. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Creating a check mark box | Setting up and Configuration of Excel | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |