#1   Report Post  
Posted to microsoft.public.excel.misc
PSL PSL is offline
external usenet poster
 
Posts: 8
Default formatting cells

Hi,

I need help for formatting cells in the below format:

Example:

DM04084X6 - This is the text having in a cell and I want to format this to
the below format

DM-0408- -4X6

There is a space between 8- and -4
Please help on this.

Thank You,
PSL.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default formatting cells

See your other post.

PSL wrote:

Hi,

I need help for formatting cells in the below format:

Example:

DM04084X6 - This is the text having in a cell and I want to format this to
the below format

DM-0408- -4X6

There is a space between 8- and -4
Please help on this.

Thank You,
PSL.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default formatting cells

Hi
This can be done by using left, mid, and right formulae....
First take first 2 left digit, add hyphen, again take middle 4 digits using
MID formulae, again add hyphen finally take 3 right digits.

thanks
amit.

"PSL" wrote:

Hi,

I need help for formatting cells in the below format:

Example:

DM04084X6 - This is the text having in a cell and I want to format this to
the below format

DM-0408- -4X6

There is a space between 8- and -4
Please help on this.

Thank You,
PSL.

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
Deferring conditional formatting? Pheasant Plucker® Excel Discussion (Misc queries) 14 March 17th 06 08:17 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 10:55 PM
Excel should allow more options for formatting cells rj123 Excel Worksheet Functions 0 July 23rd 05 03:45 AM
How to copy "edge" formatting to other cells. Sam Excel Discussion (Misc queries) 2 July 21st 05 01:23 PM


All times are GMT +1. The time now is 04:59 PM.

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

About Us

"It's about Microsoft Excel"