Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Rounding in If Formula

I am making a formula to copy and paste from excel and post it into an
accounting application, I ran into a problem that I need help with.


It is a rounding problem. For instance in Cell A1 I have 106.12

So in A2 my formula reads... =A1*.1

The output is 10.612

I know I can adjust the number to show after the decimal but the number is
truly still there.

Here is what I run into.. I have a formula that reads... =if(A1<0,A2,"")

But I cant have 3 numbers after the decimal, because when I copy and paste
it into my application it reads 3 places after the decimal even though
cosmetically it is not there....

Can someone please help me?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Rounding in If Formula

What about using this formula instead of your =A1*.1 formula?

=ROUND(A1*0.1,2)

Rick


"Hamed parhizkar" wrote in
message ...
I am making a formula to copy and paste from excel and post it into an
accounting application, I ran into a problem that I need help with.


It is a rounding problem. For instance in Cell A1 I have 106.12

So in A2 my formula reads... =A1*.1

The output is 10.612

I know I can adjust the number to show after the decimal but the number is
truly still there.

Here is what I run into.. I have a formula that reads... =if(A1<0,A2,"")

But I cant have 3 numbers after the decimal, because when I copy and paste
it into my application it reads 3 places after the decimal even though
cosmetically it is not there....

Can someone please help me?


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
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH SunshineinFt.Myers[_2_] Excel Worksheet Functions 7 March 5th 09 06:41 PM
I need a formula with rounding up & rounding down to the nearest . Tony Kay Excel Worksheet Functions 3 May 29th 07 11:13 PM
rounding a formula in a cell, then replace the formula Don Guillett[_4_] Excel Programming 0 July 13th 04 03:59 PM
rounding a formula in a cell, then replace the formula Frank Kabel Excel Programming 0 July 13th 04 03:52 PM
formula for rounding Patty Hatridge Excel Programming 2 January 7th 04 08:14 PM


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