A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

custom number format code using letters and numbers



 
 
Thread Tools Display Modes
  #1  
Old August 17th 09, 03:26 PM posted to microsoft.public.excel.worksheet.functions
Foo Foo Daddy
external usenet poster
 
Posts: 1
Default custom number format code using letters and numbers

How can I format my cell to display letters, a dash, then #s? For example:
ABC-12345678, or 2DE-12347562, or FG3-46518673?
Ads
  #2  
Old August 17th 09, 03:42 PM posted to microsoft.public.excel.worksheet.functions
Eduardo
external usenet poster
 
Posts: 2,276
Default custom number format code using letters and numbers

Hi,
Let's say in column A you have your letters and in column B your numbers
then in column C enter

=A1&"-"&B1

copy formula down

if this helps please click yes, thanks

"Foo Foo Daddy" wrote:

> How can I format my cell to display letters, a dash, then #s? For example:
> ABC-12345678, or 2DE-12347562, or FG3-46518673?

  #3  
Old August 17th 09, 03:50 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 35,218
Default custom number format code using letters and numbers

Number format applies to numbers.

You could type your entry in one column and use a formula in another.

=left(a1,3)&"-"&mid(a1,4,255)

(255 is a big number large enough to retrieve that last portion)



Foo Foo Daddy wrote:
>
> How can I format my cell to display letters, a dash, then #s? For example:
> ABC-12345678, or 2DE-12347562, or FG3-46518673?


--

Dave Peterson
  #5  
Old December 22nd 16, 03:20 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default custom number format code using letters and numbers

On Monday, August 17, 2009 at 7:26:01 AM UTC-7, Foo Foo Foo Daddy wrote:
> How can I format my cell to display letters, a dash, then #s? For example:
> ABC-12345678, or 2DE-12347562, or FG3-46518673?


If the string of numbers after the letters is always the same legnth and the unformatted TEXT Looks like ABC12345678 you could do the following

to format ABC12345678 in Cell A1 as ABC-12345678 in Cell B1: =LEFT(A1,3)&"-"&RIGHT(A1,8)

--
*The information contained in this message is the sole and exclusive
property of **iHerb Inc.** and may be privileged and confidential. It may
not be disseminated or distributed to persons or entities other than the
ones intended without the written authority of **iHerb Inc.* *If you have
received this e-mail in error or are not the intended recipient, you may
not use, copy, disseminate or distribute it. Do not open any attachments.
Please delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.*
  #6  
Old December 22nd 16, 04:20 PM
Thế45363 Thế45363 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2016
Posts: 20
Default

Cho thuê sân khấu - Thi công lắp dựng sân khấu -LH 0911 000 222


Đạt Phương - Đơn vị chuyên cung cấp, cho thuê âm thanh - ánh sáng - cung cấp, lắp đặt sân khấu phục vụ sự kiện chuyên nghiệp. ... Chuyên thiết kế, cung cấp v* lắp đặt hệ thống thiết bị âm thanh, ánh sáng, không gian, ...sân khấu. Liên hệ Mr Đạt 0937 150 220



[center]











  #7  
Old December 23rd 16, 02:24 AM
Thế45363 Thế45363 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2016
Posts: 20
Default

LẮP ĐẶT SÂN KHẤU CHUYÊN NGHIỆP -LH 0907 150 220


Đạt Phương - Đơn vị chuyên cung cấp, cho thuê âm thanh - ánh sáng - cung cấp, lắp đặt sân khấu phục vụ sự kiện chuyên nghiệp. ... Chuyên thiết kế, cung cấp v* lắp đặt hệ thống thiết bị âm thanh, ánh sáng, không gian, ...sân khấu. Liên hệ Mr Đạt 0937 150 220



[center]







  #8  
Old December 23rd 16, 09:02 AM
Thế45363 Thế45363 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2016
Posts: 20
Default

LẮP ĐẶT SÂN KHẤU CHUYÊN NGHIỆP -LH 0911 000 222


Đạt Phương - Đơn vị chuyên cung cấp, cho thuê âm thanh - ánh sáng - cung cấp, lắp đặt sân khấu phục vụ sự kiện chuyên nghiệp. ... Chuyên thiết kế, cung cấp v* lắp đặt hệ thống thiết bị âm thanh, ánh sáng, không gian, ...sân khấu. Liên hệ Mr Đạt 0937 150 220



[center]







  #9  
Old December 23rd 16, 03:37 PM
Thế45363 Thế45363 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2016
Posts: 20
Default

Lắp đặt, d*n dựng sân khấu chuyên nghiệp -LH 0911 000 222


Đạt Phương - Đơn vị chuyên cung cấp, cho thuê âm thanh - ánh sáng - cung cấp, lắp đặt sân khấu phục vụ sự kiện chuyên nghiệp. ... Chuyên thiết kế, cung cấp v* lắp đặt hệ thống thiết bị âm thanh, ánh sáng, không gian, ...sân khấu. Liên hệ Mr Đạt 0937 150 220



[center]







  #10  
Old December 24th 16, 01:20 AM
Thế45363 Thế45363 is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2016
Posts: 20
Default

Cho thuê v* lắp đặt sân khấu chuyên nghiệp tại TPHCM -LH 0907 150 220


Đạt Phương - Đơn vị chuyên cung cấp, cho thuê âm thanh - ánh sáng - cung cấp, lắp đặt sân khấu phục vụ sự kiện chuyên nghiệp. ... Chuyên thiết kế, cung cấp v* lắp đặt hệ thống thiết bị âm thanh, ánh sáng, không gian, ...sân khấu. Liên hệ Mr Đạt 0937 150 220



[center]







 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom number code [conditional] help [email protected] Excel Worksheet Functions 13 January 22nd 08 03:39 AM
Custom number format contain letters? Phillip Excel Discussion (Misc queries) 2 January 23rd 07 04:02 PM
Custom number format codes for negative numbers IJ Excel Discussion (Misc queries) 5 September 7th 06 09:54 PM
how do I add phone number format as a permanent custom format? frustratedagain Excel Discussion (Misc queries) 3 February 4th 06 03:52 AM
How do I change format of page numbers to letters in Excel? DonnaGoof Excel Discussion (Misc queries) 2 November 15th 05 07:35 PM


All times are GMT +1. The time now is 10:43 PM.


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