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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 10:49 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com