Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default =IF(B25="",ROUND(O25,-2),"")

I am trying to write a formula which rounds O25 to the nearest thousand, with
a minimum of one thousand.

So 330 would be 1000
1565 would be 2000
1321 would be 1000

Thanks in advance

Nick
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default =IF(B25="",ROUND(O25,-2),"")

Give this formula a try...

=MAX(1000,ROUND(O25,-3))

Rick


"Nick C" wrote in message
...
I am trying to write a formula which rounds O25 to the nearest thousand,
with
a minimum of one thousand.

So 330 would be 1000
1565 would be 2000
1321 would be 1000

Thanks in advance

Nick


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default =IF(B25="",ROUND(O25,-2),"")

Rick,

Can this be combined into the original IF formula?

Nick

"Rick Rothstein (MVP - VB)" wrote:

Give this formula a try...

=MAX(1000,ROUND(O25,-3))

Rick


"Nick C" wrote in message
...
I am trying to write a formula which rounds O25 to the nearest thousand,
with
a minimum of one thousand.

So 330 would be 1000
1565 would be 2000
1321 would be 1000

Thanks in advance

Nick



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default =IF(B25="",ROUND(O25,-2),"")

Whenever you have a formula in a cell, you can always copy everything after
the equal sign and use it in any other function (although sometimes you
might need to add surrounding parentheses). Now, for your question, I assume
you mean the formula in the Subject line and I further assume you want to
replace your ROUND function with what I posted. Is this what you want?

=IF(B25="",MAX(1000,ROUND(O25,-3)),"")

Rick


"Nick C" wrote in message
...
Rick,

Can this be combined into the original IF formula?

Nick

"Rick Rothstein (MVP - VB)" wrote:

Give this formula a try...

=MAX(1000,ROUND(O25,-3))

Rick


"Nick C" wrote in message
...
I am trying to write a formula which rounds O25 to the nearest thousand,
with
a minimum of one thousand.

So 330 would be 1000
1565 would be 2000
1321 would be 1000

Thanks in advance

Nick




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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


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