Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Number Format
I need to hide part of a number.
Example: I would like to multiply B1 by A1 (A1 contains the number "130%") but would like A1 to show the number as "30%". Is there a way to hide the 1 in 130% using the custom number format? Or is there another workaround? Thanks in advance for any assistance. -- Dewayne |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Number Format
Perhaps you can just have 30% in A1 but use
=B1*(A1+1) "Dewayne" wrote: I need to hide part of a number. Example: I would like to multiply B1 by A1 (A1 contains the number "130%") but would like A1 to show the number as "30%". Is there a way to hide the 1 in 130% using the custom number format? Or is there another workaround? Thanks in advance for any assistance. -- Dewayne |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Number Format
With your cell A1 being a percentage, 1-130% will give -30%, so your formula
can be =ABS(B1*(1-A1)). The '=ABS' (absolute) function gives a positive result if the result is negative and a positive result if the result is positive. This ensures you get a positive result if your percentage in cell A1 is greater than 100 or less than 100. "Dewayne" wrote: I need to hide part of a number. Example: I would like to multiply B1 by A1 (A1 contains the number "130%") but would like A1 to show the number as "30%". Is there a way to hide the 1 in 130% using the custom number format? Or is there another workaround? Thanks in advance for any assistance. -- Dewayne |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Number Format
Thanks to both of you for your help!
-- Dewayne "Dewayne" wrote: I need to hide part of a number. Example: I would like to multiply B1 by A1 (A1 contains the number "130%") but would like A1 to show the number as "30%". Is there a way to hide the 1 in 130% using the custom number format? Or is there another workaround? Thanks in advance for any assistance. -- Dewayne |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Number format in cells | Excel Worksheet Functions | |||
Convert [h]:mm sum total format to number format | Excel Worksheet Functions | |||
Number format for Combobox | Excel Discussion (Misc queries) | |||
16 digit number wont keep alteration unless format cell to text | Excel Discussion (Misc queries) | |||
How do i change numbers in text format to number format? | New Users to Excel |