Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default Custom Format syntax Q

Hi, tyrying to format cells so combinations of following look like:
1M 15B (possibly 1.5M) thanks.

samples how received:

1.551M
..071B
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Custom Format syntax Q

Not clear what you get or what you want

Do you want to see 1,500,000 as 1.5M, 1,000,000,000 as 1B etc

or

1.551M as 1,551,000, etc.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"nastech" wrote in message
...
Hi, tyrying to format cells so combinations of following look like:
1M 15B (possibly 1.5M) thanks.

samples how received:

1.551M
.071B



  #3   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default Custom Format syntax Q

hi, want to see 1.511B as 1B (would also like to see as 1.5B). thanks

"Bob Phillips" wrote:

Not clear what you get or what you want

Do you want to see 1,500,000 as 1.5M, 1,000,000,000 as 1B etc

or

1.551M as 1,551,000, etc.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"nastech" wrote in message
...
Hi, tyrying to format cells so combinations of following look like:
1M 15B (possibly 1.5M) thanks.

samples how received:

1.551M
.071B




  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Custom Format syntax Q

I think you are going to struggle here, as the 1.511B will be text, and text
cannot be formatted. You could extract it like so

=IF(ISNUMBER(FIND(".",A1)),LEFT(A1,FIND(".",A1))+R OUND(MID(A1,FIND(".",A1),L
EN(A1)-1-FIND(".",A1)+1),1)&RIGHT(A1))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"nastech" wrote in message
...
hi, want to see 1.511B as 1B (would also like to see as 1.5B). thanks

"Bob Phillips" wrote:

Not clear what you get or what you want

Do you want to see 1,500,000 as 1.5M, 1,000,000,000 as 1B etc

or

1.551M as 1,551,000, etc.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"nastech" wrote in message
...
Hi, tyrying to format cells so combinations of following look like:
1M 15B (possibly 1.5M) thanks.

samples how received:

1.551M
.071B






  #5   Report Post  
Posted to microsoft.public.excel.misc
nastech
 
Posts: n/a
Default Custom Format syntax Q

thankyou that probably would work. I am not that quick at excel, but apply
some time to it, came up with:
=IF(OR(CE138=0,BZ138={0,"n/a"}),"",(LEFT(BZ138,LEN(BZ138)-1)*IF(RIGHT(BZ138,1)="b",10^9,1)/CE138*$BV$4))

Apologize if did not ask question quite right, for cell where item resides
in (e.g. 1.511B, want custom formatting to make appear as either: 1B or
1.5B; as some figures are 1.5M etc., am pretty sure there is some
combination that would do it.
example type: ##,0.0*


"Bob Phillips" wrote:

I think you are going to struggle here, as the 1.511B will be text, and text
cannot be formatted. You could extract it like so

=IF(ISNUMBER(FIND(".",A1)),LEFT(A1,FIND(".",A1))+R OUND(MID(A1,FIND(".",A1),L
EN(A1)-1-FIND(".",A1)+1),1)&RIGHT(A1))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"nastech" wrote in message
...
hi, want to see 1.511B as 1B (would also like to see as 1.5B). thanks

"Bob Phillips" wrote:

Not clear what you get or what you want

Do you want to see 1,500,000 as 1.5M, 1,000,000,000 as 1B etc

or

1.551M as 1,551,000, etc.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"nastech" wrote in message
...
Hi, tyrying to format cells so combinations of following look like:
1M 15B (possibly 1.5M) thanks.

samples how received:

1.551M
.071B








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
Custom Number Format Text Frank & Pam Hayes Excel Discussion (Misc queries) 3 December 3rd 05 05:36 PM
Is it possible to create your own custom format? Scott Steiner Excel Discussion (Misc queries) 5 November 22nd 05 05:46 PM
Custom number format button Ken G. Excel Discussion (Misc queries) 4 November 17th 05 05:59 AM
Custom Format to divide by 10 Ailish Excel Discussion (Misc queries) 2 October 26th 05 05:04 PM
Custom Time Format doesn't work for me chuck Excel Discussion (Misc queries) 1 February 13th 05 04:12 AM


All times are GMT +1. The time now is 03:12 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"