Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
This might be a very simple question to most of you, but I am a novice user. If A1 has date in the format 04-Jan-06, then how do I have B1 display only the first two characters "04" in number format, which means 4? Cheers Sunny |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
Just use =A1 in B1 and format B1 as dd Andy. "DB Explorer" wrote in message oups.com... Hi This might be a very simple question to most of you, but I am a novice user. If A1 has date in the format 04-Jan-06, then how do I have B1 display only the first two characters "04" in number format, which means 4? Cheers Sunny |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Andy,
This works, and displays 04, but I am unable to use this for mathematical functions, it needs to be a number format |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
THis is a bit cumbersome, but it works: =VALUE(TEXT(A1,"dd")) Andy. "DB Explorer" wrote in message oups.com... Thanks Andy, This works, and displays 04, but I am unable to use this for mathematical functions, it needs to be a number format |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Andy, this works perfectly, fine.
Sunny |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Sunny
Or you could simplify it to just =DAY(A1) -- Regards Roger Govier "DB Explorer" wrote in message oups.com... Thanks Andy, this works perfectly, fine. Sunny |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I knew there would be a smarter way!!
Andy. "Roger Govier" wrote in message ... Hi Sunny Or you could simplify it to just =DAY(A1) -- Regards Roger Govier "DB Explorer" wrote in message oups.com... Thanks Andy, this works perfectly, fine. Sunny |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
format a cell to accept a date or a whole number | Excel Discussion (Misc queries) | |||
Arrays Take too long. VERY HARD QUESTION. my head hurts : / | Excel Worksheet Functions | |||
date format in excel not in line with control panel regional setti | Excel Discussion (Misc queries) | |||
How do I format a cell for a custom part number? | Excel Discussion (Misc queries) | |||
How do I format the date in a footer to display the month in lett. | Excel Discussion (Misc queries) |