#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 174
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default 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
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
Number format in cells Jim Excel Worksheet Functions 3 June 7th 06 04:57 PM
Convert [h]:mm sum total format to number format Guy Excel Worksheet Functions 1 August 5th 05 05:56 AM
Number format for Combobox MBlake Excel Discussion (Misc queries) 1 June 29th 05 03:25 AM
16 digit number wont keep alteration unless format cell to text Croc001 Excel Discussion (Misc queries) 3 March 30th 05 09:12 AM
How do i change numbers in text format to number format? Greg New Users to Excel 1 December 14th 04 05:22 PM


All times are GMT +1. The time now is 08:47 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"