Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default ROUND the result of a formula

I have the following formula and need the result to round to two decimal
points:

=IF(ISBLANK(B12),"",IF(AND(D12=IFIS!$C$2,$F$3<"G B"),$D$5*1.056,$D$5))

Currently the result is displaying rounded down to two decimal points but I
need the actual value to be two decimal points since it is used for other
calculations.

Thanks for any assistance.

spence
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default ROUND the result of a formula

=ROUND(YourFormula,2)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"spence" wrote in message ...
|I have the following formula and need the result to round to two decimal
| points:
|
| =IF(ISBLANK(B12),"",IF(AND(D12=IFIS!$C$2,$F$3<"G B"),$D$5*1.056,$D$5))
|
| Currently the result is displaying rounded down to two decimal points but I
| need the actual value to be two decimal points since it is used for other
| calculations.
|
| Thanks for any assistance.
|
| spence


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default ROUND the result of a formula

"Niek Otten" wrote...
=ROUND(YourFormula,2)


In this case, when B12 is blank, the OP's original formula would return "",
and wrapping that inside ROUND would return #VALUE! That's a good idea?

"spence" wrote...
|I have the following formula and need the result to round to two decimal
|points:
|
|=IF(ISBLANK(B12),"",IF(AND(D12=IFIS!$C$2,$F$3< "GB"),$D$5*1.056,$D$5))

....

=IF(ISBLANK(B12),"",
ROUND(IF(AND(D12=IFIS!$C$2,$F$3<"GB"),$D$5*1.056 ,$D$5),2))


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default ROUND the result of a formula

Thank both of you so much for your solution(s). It works perfectly. Now I
just have to create a macro and run it on six thousand worksheets.

"Harlan Grove" wrote:

"Niek Otten" wrote...
=ROUND(YourFormula,2)


In this case, when B12 is blank, the OP's original formula would return "",
and wrapping that inside ROUND would return #VALUE! That's a good idea?

"spence" wrote...
|I have the following formula and need the result to round to two decimal
|points:
|
|=IF(ISBLANK(B12),"",IF(AND(D12=IFIS!$C$2,$F$3< "GB"),$D$5*1.056,$D$5))

....

=IF(ISBLANK(B12),"",
ROUND(IF(AND(D12=IFIS!$C$2,$F$3<"GB"),$D$5*1.056 ,$D$5),2))



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 to round down the result of a formula Desdinova Excel Worksheet Functions 12 April 24th 07 03:56 PM
How do I get formula result of 3.56 to round up to 4 automatic? Sharon D Excel Worksheet Functions 2 September 13th 06 04:33 PM
How do I get formula result of 3.56 to round up to 4 automatic? Sharon D Excel Worksheet Functions 0 September 13th 06 04:11 PM
how do I round up a result of a formula in Excel one of two Excel Worksheet Functions 2 December 2nd 05 04:20 PM
How to round up the result in a cell containing formula Mostropovich Excel Worksheet Functions 2 June 15th 05 02:19 PM


All times are GMT +1. The time now is 10:12 AM.

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"