Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Probably a simple one, but I can't think of an easy way of rounding up to the next number in a set - eg the set is 305, 610 and 915. The calculation will produce an answer which I want rounded up to one of the 3 numbers above - eg, 200 is rounded up to 305; 400 is rounded up to 610 etc. Many thanks for any help. Will |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Try this =MIN(IF({305,610,915}=your formula,{305,610,915})) Mike "will" wrote: Hi, Probably a simple one, but I can't think of an easy way of rounding up to the next number in a set - eg the set is 305, 610 and 915. The calculation will produce an answer which I want rounded up to one of the 3 numbers above - eg, 200 is rounded up to 305; 400 is rounded up to 610 etc. Many thanks for any help. Will |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Neglected to mention this is an array formula This is an array formula which must be entered by pressing CTRL+Shift+Enter 'and not just Enter. If you do it correctly then Excel will put curly brackets 'around the formula {}. You can't type these yourself. If you edit the formula 'you must enter it again with CTRL+Shift+Enter. Mike "will" wrote: Hi, Probably a simple one, but I can't think of an easy way of rounding up to the next number in a set - eg the set is 305, 610 and 915. The calculation will produce an answer which I want rounded up to one of the 3 numbers above - eg, 200 is rounded up to 305; 400 is rounded up to 610 etc. Many thanks for any help. Will |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
A1 being 200, 400, etc.
=INDEX({915,610,305},MATCH(A1,{915,610,305},-1)) Regards, Stefi €˛will€¯ ezt Ć*rta: Hi, Probably a simple one, but I can't think of an easy way of rounding up to the next number in a set - eg the set is 305, 610 and 915. The calculation will produce an answer which I want rounded up to one of the 3 numbers above - eg, 200 is rounded up to 305; 400 is rounded up to 610 etc. Many thanks for any help. Will |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No it isn't :(
"Mike H" wrote: Hi, Neglected to mention this is an array formula This is an array formula which must be entered by pressing CTRL+Shift+Enter 'and not just Enter. If you do it correctly then Excel will put curly brackets 'around the formula {}. You can't type these yourself. If you edit the formula 'you must enter it again with CTRL+Shift+Enter. Mike "will" wrote: Hi, Probably a simple one, but I can't think of an easy way of rounding up to the next number in a set - eg the set is 305, 610 and 915. The calculation will produce an answer which I want rounded up to one of the 3 numbers above - eg, 200 is rounded up to 305; 400 is rounded up to 610 etc. Many thanks for any help. Will |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You may try using some IF statements, ie if <305 then 305, if 306 and <610,
then 610, if 611 then 910 It's been a long time since I used something like this, obviously the above is not the exact formula - but someone else may chime in with the right formula "will" wrote: Hi, Probably a simple one, but I can't think of an easy way of rounding up to the next number in a set - eg the set is 305, 610 and 915. The calculation will produce an answer which I want rounded up to one of the 3 numbers above - eg, 200 is rounded up to 305; 400 is rounded up to 610 etc. Many thanks for any help. Will |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=CEILING(A2,305)
-- David Biddulph "Christina" wrote in message ... You may try using some IF statements, ie if <305 then 305, if 306 and <610, then 610, if 611 then 910 It's been a long time since I used something like this, obviously the above is not the exact formula - but someone else may chime in with the right formula "will" wrote: Hi, Probably a simple one, but I can't think of an easy way of rounding up to the next number in a set - eg the set is 305, 610 and 915. The calculation will produce an answer which I want rounded up to one of the 3 numbers above - eg, 200 is rounded up to 305; 400 is rounded up to 610 etc. Many thanks for any help. Will |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Very edifying! One has to try to read the OP's thoughts and notice that
610=2*305 and 915=3*305. Stefi €˛David Biddulph€¯ ezt Ć*rta: =CEILING(A2,305) -- David Biddulph "Christina" wrote in message ... You may try using some IF statements, ie if <305 then 305, if 306 and <610, then 610, if 611 then 910 It's been a long time since I used something like this, obviously the above is not the exact formula - but someone else may chime in with the right formula "will" wrote: Hi, Probably a simple one, but I can't think of an easy way of rounding up to the next number in a set - eg the set is 305, 610 and 915. The calculation will produce an answer which I want rounded up to one of the 3 numbers above - eg, 200 is rounded up to 305; 400 is rounded up to 610 etc. Many thanks for any help. Will |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Round number to the thousands without changing underlying number | Excel Discussion (Misc queries) | |||
Excel. How to round a number to nearest half number? | Excel Discussion (Misc queries) | |||
Can I increase a number by 5.5% and then round that number to the. | Excel Discussion (Misc queries) | |||
How can i round a number to closest tenth number? | Excel Worksheet Functions | |||
How to make a number round up/down to a set number | Excel Worksheet Functions |