Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
weeclaire
 
Posts: n/a
Default avoiding multiplication


Hi
This is a bit of a stange one. I have some formula in a spreadsheet
and the results are currently showing with 2 decimal places e.g. 0.75,
1.25, 5.60. However I would like this to display without the decimal
places e.g. 75, 125, 560 without the need to include *100 in the
formula. Unfortunately it is not a percentage so I cannot use that
option as it then displays with the percentage symbol.
Anyone any ideas?



--
weeclaire
------------------------------------------------------------------------
weeclaire's Profile: http://www.excelforum.com/member.php...o&userid=28738
View this thread: http://www.excelforum.com/showthread...hreadid=529140

  #2   Report Post  
Posted to microsoft.public.excel.misc
robert111
 
Posts: n/a
Default avoiding multiplication


consider 1.25 as a number

convert it to text =1.25

do a global search for the decimal point, replacing it with nothing
=125

OR embed this in your formula


A1 = B1 / C1 B1=5 C1 = 4 therefore A1=1.25


A1=text((B1/C1),"0.00") = 1.25

A1=left(text((B1/C1),"0.00"),1) & right(text((B1/C1),"0.00"),2)

this only w0rks if all numbers are to 2 decimal places,you can make it
universal by testing for where the decimal point is within the text
string.

Why do you need to do this? eople may have a better idea for you.


--
robert111
------------------------------------------------------------------------
robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=529140

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme
 
Posts: n/a
Default avoiding multiplication

You could type 100 in an used cell and copy it; select the 'problem' cells
and use Edit | Paste Special-Multiply.
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"weeclaire" wrote
in message ...

Hi
This is a bit of a stange one. I have some formula in a spreadsheet
and the results are currently showing with 2 decimal places e.g. 0.75,
1.25, 5.60. However I would like this to display without the decimal
places e.g. 75, 125, 560 without the need to include *100 in the
formula. Unfortunately it is not a percentage so I cannot use that
option as it then displays with the percentage symbol.
Anyone any ideas?



--
weeclaire
------------------------------------------------------------------------
weeclaire's Profile:
http://www.excelforum.com/member.php...o&userid=28738
View this thread: http://www.excelforum.com/showthread...hreadid=529140



  #4   Report Post  
Posted to microsoft.public.excel.misc
weeclaire
 
Posts: n/a
Default avoiding multiplication


Thanks Robert111.

It is a preference of my employer.

Will give this a go at some point this afternoon or early tom.


--
weeclaire
------------------------------------------------------------------------
weeclaire's Profile: http://www.excelforum.com/member.php...o&userid=28738
View this thread: http://www.excelforum.com/showthread...hreadid=529140

  #5   Report Post  
Posted to microsoft.public.excel.misc
robert111
 
Posts: n/a
Default avoiding multiplication


say your data is
1.25
25
0.75

and these are calculated by "your formula"

if(yourformula-int(yourformula)=0,yourformula,100*yourformula)

this tests for a whole number and leaves it as it is, otherwise
multiplies by 100

It won't work for one decimal place but that doesn't matter.


--
robert111
------------------------------------------------------------------------
robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=529140

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
Multiplication problem- Please Help! millzenator Excel Discussion (Misc queries) 8 May 17th 06 03:28 PM
Excel vs. calculator multiplication product discrepancy... Jray Excel Worksheet Functions 3 October 5th 05 10:40 PM
multiplication table Robbi777 Excel Discussion (Misc queries) 1 March 3rd 05 04:36 AM
Multiplication Table Faehnfare Setting up and Configuration of Excel 2 January 16th 05 05:40 PM
Help Excel97 gives incorrect multiplication response DrivenOG Excel Worksheet Functions 2 November 15th 04 03:29 PM


All times are GMT +1. The time now is 04:32 PM.

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"