Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jmorris305
 
Posts: n/a
Default Convert displayed number to absolute value


I need to convert a division answer to 2 decimal places and convert the
displayed value to an absolute value. For instance if the result of a
division is .93169. I then need to convert the displayed value (.93)
to an absolute value so that I can then multiply another number by the
absolute value (.93) instead of the actual value (.93169).

My question is how do I convert the division answer to an absolute
valeu?


--
jmorris305
------------------------------------------------------------------------
jmorris305's Profile: http://www.excelforum.com/member.php...o&userid=31977
View this thread: http://www.excelforum.com/showthread...hreadid=517075

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Convert displayed number to absolute value

=round(a1/b1,2)

There's a whole family of rounding functions in excel...

=floor()
=ceiling()
=roundup()
=rounddown()
and more.

Check out excel's help for more info.

Or post back with how you want rounding to take place for .9351 vs .9349 vs
..9350.



jmorris305 wrote:

I need to convert a division answer to 2 decimal places and convert the
displayed value to an absolute value. For instance if the result of a
division is .93169. I then need to convert the displayed value (.93)
to an absolute value so that I can then multiply another number by the
absolute value (.93) instead of the actual value (.93169).

My question is how do I convert the division answer to an absolute
valeu?

--
jmorris305
------------------------------------------------------------------------
jmorris305's Profile: http://www.excelforum.com/member.php...o&userid=31977
View this thread: http://www.excelforum.com/showthread...hreadid=517075


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
BigPig
 
Posts: n/a
Default Convert displayed number to absolute value

jmorris,

As I understand your question:

You can change the number of decimal places of the number by using 'format
cells' property. Right click on the cell or cell range, select 'format
cells', ensure the 'Number' tab is selected, under the 'category' select
'Number', and to the right of that adjust the number of decimal places to 2
in your case, but by default it should already be selected. Then under
'Negative numbers' you should select '1234.10'.

If you are going to further use that result, then you will have to format
the subsequent cell or cells to reflect the amount of decimals that you want
displayed by using the above method.

Hope this answers your question.

BigPig


"jmorris305" wrote:


I need to convert a division answer to 2 decimal places and convert the
displayed value to an absolute value. For instance if the result of a
division is .93169. I then need to convert the displayed value (.93)
to an absolute value so that I can then multiply another number by the
absolute value (.93) instead of the actual value (.93169).

My question is how do I convert the division answer to an absolute
valeu?


--
jmorris305
------------------------------------------------------------------------
jmorris305's Profile: http://www.excelforum.com/member.php...o&userid=31977
View this thread: http://www.excelforum.com/showthread...hreadid=517075


  #4   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Convert displayed number to absolute value


Try something like this:

assuming your decimal number is in B1
=ABS(LEFT(B1,FIND(".",B1)+2))

or you can replace B1 in the formula with your division formula... e.i
A1/A2

The formula might return an #VALUE error if your divisions don't have
any decimal places in the result, to correct this try this
=IF(ISERROR(ABS(LEFT(B1,FIND(".",B1)+2))),B1,ABS(L EFT(B1,FIND(".",B1)+2)))


HTH

Jean-Guy


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=517075

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
how can I convert numeric number into text firas Excel Discussion (Misc queries) 1 September 21st 05 07:05 PM
How do i convert number to wording Mohammad Irfan Excel Discussion (Misc queries) 2 August 19th 05 12:10 PM
Absolute Worksheet reference number Tony M Excel Discussion (Misc queries) 4 March 21st 05 06:10 PM
How do I convert a number formated as a date to text in Excel? BrotherNov Excel Discussion (Misc queries) 5 March 2nd 05 03:51 PM
Convert week number into calendar month? WickyWick Excel Worksheet Functions 2 November 9th 04 09:01 PM


All times are GMT +1. The time now is 03:47 AM.

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

About Us

"It's about Microsoft Excel"