Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
VDU VDU is offline
external usenet poster
 
Posts: 16
Default custom formating a cell

Hello, I have a problem in creating a custom format and I'm running out of
time, could you please help me.
I have a cell containing a series of concatenated formulas and text
sections.
The formula is something like this

Day(A2) &" "& Month(A2)&" - "&Day(A3)&" "&month(A3).

this displays correct in numbers unfortunately, I need to display the month
in mmm format. so that it looks like
1 Jan - 2 Jan instead of 1 1 - 2 1
Should I use a custom number format (if so then how does it looks like) or
is there a function in which I could set the format I want a section to be
displayed in (something like format(month(A3, mmm) which IMO would be usefull
if it isn't in excel yet)

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default custom formating a cell

Try this:

=TEXT(A2,"d mmm")&" - "&TEXT(A3,"d mmm")


"VDU" wrote:

Hello, I have a problem in creating a custom format and I'm running out of
time, could you please help me.
I have a cell containing a series of concatenated formulas and text
sections.
The formula is something like this

Day(A2) &" "& Month(A2)&" - "&Day(A3)&" "&month(A3).

this displays correct in numbers unfortunately, I need to display the month
in mmm format. so that it looks like
1 Jan - 2 Jan instead of 1 1 - 2 1
Should I use a custom number format (if so then how does it looks like) or
is there a function in which I could set the format I want a section to be
displayed in (something like format(month(A3, mmm) which IMO would be usefull
if it isn't in excel yet)

Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
VDU VDU is offline
external usenet poster
 
Posts: 16
Default custom formating a cell

Worked perfectlly, thank you. Looks like the day and month functions are
not the best options in this case.

"Teethless mama" wrote:

Try this:

=TEXT(A2,"d mmm")&" - "&TEXT(A3,"d mmm")


"VDU" wrote:

Hello, I have a problem in creating a custom format and I'm running out of
time, could you please help me.
I have a cell containing a series of concatenated formulas and text
sections.
The formula is something like this

Day(A2) &" "& Month(A2)&" - "&Day(A3)&" "&month(A3).

this displays correct in numbers unfortunately, I need to display the month
in mmm format. so that it looks like
1 Jan - 2 Jan instead of 1 1 - 2 1
Should I use a custom number format (if so then how does it looks like) or
is there a function in which I could set the format I want a section to be
displayed in (something like format(month(A3, mmm) which IMO would be usefull
if it isn't in excel yet)

Thank you.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Conditional Formating for a cell based on another cell's value steve-o Excel Discussion (Misc queries) 1 October 6th 05 09:50 PM
Cell to follow content AND/OR formating of another cell 0-0 Wai Wai ^-^ Excel Discussion (Misc queries) 1 September 8th 05 02:00 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 11:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"