Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Standard index form - Generating leading number (before *10^x part

"Neil Goldwasser" ha scritto nel
messaggio ...
Hi all! Here is a challenge for you...

Does anybody know how to combine worksheet functions to generate the
leading
number from the Standard Index Form version of a "normal number"?

For example,...
...if the input was 340000, the output would be 3.4
...if the input was 0.00278, the output would be 2.78


your number in [A1]
in [B1]
=A1/10^INT(LOG(A1))
or
=TEXT(A1/10^(INT(LOG(A1))),"0.00") & "E" &TEXT(INT(LOG(A1)),"000")
.f


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Standard index form - Generating leading number (before *10^x

Thanks everyone! Problem solved... and much appreciated!
Neil Goldwasser



"fernando cinquegrani" wrote:

"Neil Goldwasser" ha scritto nel
messaggio ...
Hi all! Here is a challenge for you...

Does anybody know how to combine worksheet functions to generate the
leading
number from the Standard Index Form version of a "normal number"?

For example,...
...if the input was 340000, the output would be 3.4
...if the input was 0.00278, the output would be 2.78


your number in [A1]
in [B1]
=A1/10^INT(LOG(A1))
or
=TEXT(A1/10^(INT(LOG(A1))),"0.00") & "E" &TEXT(INT(LOG(A1)),"000")
.f



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Standard index form - Generating leading number (before *10^x

PS - The "winner" was.....

your number in [A1]
in [B1]
=A1/10^INT(LOG(A1))

This was the only one that took account of ALL decimal places needed, as
well as taking account of zeros sandwiched between non-zero digits and
therefore still needed (i.e. zeros that are NOT at the end of the number).
For example, the leading number for 10203000 should be 1.0203, and this was
the only formula to produce this.

Again, many thanks for all your help!
Neil Goldwasser




"Neil Goldwasser" wrote:

Thanks everyone! Problem solved... and much appreciated!
Neil Goldwasser



"fernando cinquegrani" wrote:

"Neil Goldwasser" ha scritto nel
messaggio ...
Hi all! Here is a challenge for you...

Does anybody know how to combine worksheet functions to generate the
leading
number from the Standard Index Form version of a "normal number"?

For example,...
...if the input was 340000, the output would be 3.4
...if the input was 0.00278, the output would be 2.78


your number in [A1]
in [B1]
=A1/10^INT(LOG(A1))
or
=TEXT(A1/10^(INT(LOG(A1))),"0.00") & "E" &TEXT(INT(LOG(A1)),"000")
.f



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Standard index form - Generating leading number (before *10^x

Fair enough. You're right.


"Neil Goldwasser" wrote in
message ...
PS - The "winner" was.....

your number in [A1]
in [B1]
=A1/10^INT(LOG(A1))

This was the only one that took account of ALL decimal places needed, as
well as taking account of zeros sandwiched between non-zero digits and
therefore still needed (i.e. zeros that are NOT at the end of the number).
For example, the leading number for 10203000 should be 1.0203, and this
was
the only formula to produce this.

Again, many thanks for all your help!
Neil Goldwasser




"Neil Goldwasser" wrote:

Thanks everyone! Problem solved... and much appreciated!
Neil Goldwasser



"fernando cinquegrani" wrote:

"Neil Goldwasser" ha scritto
nel
messaggio ...
Hi all! Here is a challenge for you...

Does anybody know how to combine worksheet functions to generate the
leading
number from the Standard Index Form version of a "normal number"?

For example,...
...if the input was 340000, the output would be 3.4
...if the input was 0.00278, the output would be 2.78

your number in [A1]
in [B1]
=A1/10^INT(LOG(A1))
or
=TEXT(A1/10^(INT(LOG(A1))),"0.00") & "E" &TEXT(INT(LOG(A1)),"000")
.f




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Standard index form - Generating leading number (before *10^x

Many thanks for your help though, I really appreciate it!
Neil



"Castell" wrote:

Fair enough. You're right.


"Neil Goldwasser" wrote in
message ...
PS - The "winner" was.....

your number in [A1]
in [B1]
=A1/10^INT(LOG(A1))

This was the only one that took account of ALL decimal places needed, as
well as taking account of zeros sandwiched between non-zero digits and
therefore still needed (i.e. zeros that are NOT at the end of the number).
For example, the leading number for 10203000 should be 1.0203, and this
was
the only formula to produce this.

Again, many thanks for all your help!
Neil Goldwasser




"Neil Goldwasser" wrote:

Thanks everyone! Problem solved... and much appreciated!
Neil Goldwasser



"fernando cinquegrani" wrote:

"Neil Goldwasser" ha scritto
nel
messaggio ...
Hi all! Here is a challenge for you...

Does anybody know how to combine worksheet functions to generate the
leading
number from the Standard Index Form version of a "normal number"?

For example,...
...if the input was 340000, the output would be 3.4
...if the input was 0.00278, the output would be 2.78

your number in [A1]
in [B1]
=A1/10^INT(LOG(A1))
or
=TEXT(A1/10^(INT(LOG(A1))),"0.00") & "E" &TEXT(INT(LOG(A1)),"000")
.f






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
Three new functions that should be part of your standard set Darren Oakey Excel Worksheet Functions 4 May 12th 06 11:56 PM
Can a standard data entry form be used to change formats of cells? BarryW Excel Discussion (Misc queries) 0 January 21st 06 03:06 PM
Replace/modify standard data form? Axel Excel Discussion (Misc queries) 3 August 24th 05 02:44 PM
standard form sammy Excel Discussion (Misc queries) 1 July 4th 05 03:16 PM
How do I set up a standard form showing incentive calculations KeithB Excel Discussion (Misc queries) 2 May 30th 05 09:41 AM


All times are GMT +1. The time now is 09:37 AM.

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"