Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default Formula for Changing low number of "-"

Folks
One of my users would like to know if its possible to automatically have
numbers lower than 0.049 be changed so the cell displays a dash " - "
instead. I've tried using autocorrect, but that will only change a specific
number and not every number below 0.049.

Does anyone have any ideas?

Thanks.

--
Janet
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Formula for Changing low number of "-"

Hi Janet

You could try FormatCellsNumberCustom [<0.05]"-";General

Play about with different combinations to get what you want for the normal
format when not less than 0.05
--
Regards
Roger Govier

"Janet" wrote in message
...
Folks
One of my users would like to know if its possible to automatically have
numbers lower than 0.049 be changed so the cell displays a dash " - "
instead. I've tried using autocorrect, but that will only change a
specific
number and not every number below 0.049.

Does anyone have any ideas?

Thanks.

--
Janet


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Formula for Changing low number of "-"

Would a Custom format of

[<0.05]"-";General

in the potentially affected cells do what you want?

This will not change what held in the cell, it will still have the same
value.

If it is the result of a calculation - say A1*B1 - then use:

=IF(A1*B1<0.05,0,A1*B1)

and format as accounting to get a true zero in the cell.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Janet" wrote in message
...
Folks
One of my users would like to know if its possible to automatically have
numbers lower than 0.049 be changed so the cell displays a dash " - "
instead. I've tried using autocorrect, but that will only change a
specific
number and not every number below 0.049.

Does anyone have any ideas?

Thanks.

--
Janet



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
HLOOKUP copied across rows with "row index number" changing KUMPFfrog Excel Worksheet Functions 3 March 13th 08 03:15 PM
How to keep "text" number from changing to date.... Julie Willems New Users to Excel 2 January 17th 06 06:40 PM
" / " Changing Decimal number format to Fraction on Protected Cell laudie Excel Worksheet Functions 0 November 15th 05 02:13 AM
" / " Changing Decimal number format to Fraction on Protected Cell laudie Excel Worksheet Functions 0 November 15th 05 01:12 AM
Changing "returned" values from "0" to "blank" LATATC Excel Worksheet Functions 2 October 20th 05 04:41 PM


All times are GMT +1. The time now is 12:36 PM.

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

About Us

"It's about Microsoft Excel"