View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default I need help dragging a formula down

Hi,

I'm confused

M53 =1
P53=2.35
What answer do you expect?

M53=999
P53 =2.35
What answer do you expect?

Mike

"tarabull" wrote:

but i need it to round up to the nearest .05, say if p53 was 2.30 but not
m53/.85 then i would need it to equal 2.35


"Mike H" wrote:

Maybe

=IF(P53M53/0.85,P53,CEILING(P53,0.1))


Mike

"tarabull" wrote:

Thanks Mike,

One more question for you, if p53=2.35 but is not m53/.85, the if command
is still answering 2.35 since it ends in .05. How can I get it to go up to
2.40?

"Mike H" wrote:

Hi,

You don't need the quotes or the = sign

=IF(P53M53/0.85,P53,CEILING(P53,0.05))

Mike

"tarabull" wrote:

I am using:

=IF(P53M53/0.85,P53,"=ceiling(P53,0.05)")

if I copy and paste down, ceiling(p53,0.05) doesn't change to p54, p55, p56
etc... what do i need to do to make this happen?