Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) | |||
Insert "-" in text "1234567890" to have a output like this"123-456-7890" | Excel Discussion (Misc queries) |