What exactly is in A1, the TEXT String "January"
Or a DATE within the month of january, formatted to show just the month?
Use this to test
=ISNUMBER(A1)
Is it true or false?
If it's a text string, (Isnumber(A1) returned false)
Use
=(A1&1)+0
If it's a date (Isnumber(A1) returned true)
Use
=A1-DAY(A1)+1
Hi it bring back the correct day and month but gives me a year of 2001 when I need for it to be 2011 (or current year)
If A1 is a TEXT String of "January" (or any month) then this
=(A1&1)+0
Will return the 1st day of that month in the current year.
What does this formula return
=ISNUMBER(A1)
I'm uncertain as to what the OP means by "current year".If A1 is a TEXT String of "January" (or any month) then this
=(A1&1)+0
Will return the 1st day of that month in the current year.
What does this formula return
=ISNUMBER(A1)
Today is May 13 2011. So, that formula will return Jan 1 2011.=(A1&1)+0