PC Review


Reply
Thread Tools Rate Thread

Changing Number Formats based upon value

 
 
DaveyC
Guest
Posts: n/a
 
      14th May 2008
Hi

Is it possible to change the format of a number from a general status to a
scientific one based upon its value. For example if the value exceeds 100000
the value display would change to 1.00E+05

I am using Excel 2003.

Any help greatly appreciated.
Many thanks
Dave
 
Reply With Quote
 
 
 
 
Ron Rosenfeld
Guest
Posts: n/a
 
      14th May 2008
On Wed, 14 May 2008 07:15:01 -0700, DaveyC <(E-Mail Removed)>
wrote:

>Hi
>
>Is it possible to change the format of a number from a general status to a
>scientific one based upon its value. For example if the value exceeds 100000
>the value display would change to 1.00E+05
>
>I am using Excel 2003.
>
>Any help greatly appreciated.
>Many thanks
>Dave


Your request is clear but I'm not sure you mean what you wrote.

To provide just what you request, format the cell as:

(Format/Cells/Number/Custom Type: )

[>100000]"1.00E+05";General

However, if what you "mean" is that you want the actual value displayed in
Scientific format similar to your example, then format the cells as:

[>100000]0.00E+00;General

And, furthermore, if what you really mean is that you want values *equal* to or
greater than 100000 as above, then change the condition part to:

[>=100000]

--ron
 
Reply With Quote
 
DaveyC
Guest
Posts: n/a
 
      14th May 2008
Ron, that's great. Thank you.

"Ron Rosenfeld" wrote:

> On Wed, 14 May 2008 07:15:01 -0700, DaveyC <(E-Mail Removed)>
> wrote:
>
> >Hi
> >
> >Is it possible to change the format of a number from a general status to a
> >scientific one based upon its value. For example if the value exceeds 100000
> >the value display would change to 1.00E+05
> >
> >I am using Excel 2003.
> >
> >Any help greatly appreciated.
> >Many thanks
> >Dave

>
> Your request is clear but I'm not sure you mean what you wrote.
>
> To provide just what you request, format the cell as:
>
> (Format/Cells/Number/Custom Type: )
>
> [>100000]"1.00E+05";General
>
> However, if what you "mean" is that you want the actual value displayed in
> Scientific format similar to your example, then format the cells as:
>
> [>100000]0.00E+00;General
>
> And, furthermore, if what you really mean is that you want values *equal* to or
> greater than 100000 as above, then change the condition part to:
>
> [>=100000]
>
> --ron
>

 
Reply With Quote
 
Ron Rosenfeld
Guest
Posts: n/a
 
      14th May 2008
On Wed, 14 May 2008 08:01:01 -0700, DaveyC <(E-Mail Removed)>
wrote:

>Ron, that's great. Thank you.


You're welcome. Glad to help.
--ron
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Changing number formats without rebuilding worksheet Jon Peltier Microsoft Excel Misc 0 17th Jan 2007 01:37 PM
changing number formats in VBA John Milward Microsoft Access Reports 1 17th Mar 2006 02:24 PM
Changing Phone Number Formats Tha BeatMaker Microsoft Excel Programming 8 15th Jul 2005 12:14 AM
Changing Number Formats =?Utf-8?B?U00=?= Microsoft Access 1 15th Feb 2005 04:39 PM
Help - number formats changing MSL Microsoft Excel Misc 1 6th Dec 2003 12:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:02 AM.