Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / May 2005

Tip: Looking for answers? Try searching our database.

Custom Number Format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KLondike-5 - 23 May 2005 22:41 GMT
I'm trying to set a cell format to either $ or % determined by the value
input by the selection of one of two lists dependent on a $ or % selection
criteria in another cell.  If the value input is within the range of -1 to
1, I need it to display in a percentage format.  If it is less than -1 or
greater than 1, it needs to display as a currency format (or comma w/ 2
decimals).

I prefer using data validation lists on this sheet instead of other controls
due to their larger size.  The version is Excel 2000.  Any assistance is
appreciated.
Dave Peterson - 23 May 2005 23:15 GMT
You could use a helper cell to show the format:
=TEXT(A1,IF(ABS(A1)>1,"$#,##0.00","0.00%"))

Or you could use a custom format:
[<-1]$#,##0.00;[<=1]0.00%;$#,##0.00

(I'd turn off tools|options|Edit tab|"enable automatic percent entry", though.)

> I'm trying to set a cell format to either $ or % determined by the value
> input by the selection of one of two lists dependent on a $ or % selection
[quoted text clipped - 6 lines]
> due to their larger size.  The version is Excel 2000.  Any assistance is
> appreciated.

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.