Number Format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top