I need help dragging a formula down

  • Thread starter Thread starter tarabull
  • Start date Start date
T

tarabull

I am using:

=IF(P53>M53/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?
 
Hi,

You don't need the quotes or the = sign

=IF(P53>M53/0.85,P53,CEILING(P53,0.05))

Mike
 
actually this if command isn't working... if p53 is NOT greater than
m53/.85, then i am not getting the NUMBER ceiling(p53,.0.05) I am getting the
text "ceiling(p53,0.05)"

how can i get the false result to =ceiling(p53,0.05)??
 
Tarabull,

Mike H has the answer to that. You are returning the string
=ceiling(P53,0.05) and not the result of it. Basically, Mike stated, that
your formula should be
=IF(P53>M53/0.85,P53,CEILING(P53,0.05))
 
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?
 
You *asked* for the text string.
That's what the quote marks do in the formula.

If you don't want it as a text string, don't put it inside quote marks. You
don't need the equals sign either.
 
but i need it to round up to the nearest .05, say if p53 was 2.30 but not
 
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
 
in situation #1, i would want answer to be 2.35
in situation #2, i would want answer to be 2.40
 
Those were the answers that I returned with the current situations and formula.
 
The resulting answer is 2.35 in both cases when i use the formula that Thomas
gave. Since 2.35 ends in .05, the ceiling of .05 keeps it at 2.35

Thomas said:
Those were the answers that I returned with the current situations and formula.
--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


tarabull said:
in situation #1, i would want answer to be 2.35
in situation #2, i would want answer to be 2.40
 
Tarabull,

Try replacing CEILING with ROUNDUP.

--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


tarabull said:
The resulting answer is 2.35 in both cases when i use the formula that Thomas
gave. Since 2.35 ends in .05, the ceiling of .05 keeps it at 2.35

Thomas said:
Those were the answers that I returned with the current situations and formula.
--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


tarabull said:
in situation #1, i would want answer to be 2.35
in situation #2, i would want answer to be 2.40

:

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

:

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

:

Maybe

=IF(P53>M53/0.85,P53,CEILING(P53,0.1))


Mike

:

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?

:

Hi,

You don't need the quotes or the = sign

=IF(P53>M53/0.85,P53,CEILING(P53,0.05))

Mike

:

I am using:

=IF(P53>M53/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?
 
Then it rounds it up to 3.00

Thomas said:
Tarabull,

Try replacing CEILING with ROUNDUP.

--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


tarabull said:
The resulting answer is 2.35 in both cases when i use the formula that Thomas
gave. Since 2.35 ends in .05, the ceiling of .05 keeps it at 2.35

Thomas said:
Those were the answers that I returned with the current situations and formula.
--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


:

in situation #1, i would want answer to be 2.35
in situation #2, i would want answer to be 2.40

:

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

:

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

:

Maybe

=IF(P53>M53/0.85,P53,CEILING(P53,0.1))


Mike

:

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?

:

Hi,

You don't need the quotes or the = sign

=IF(P53>M53/0.85,P53,CEILING(P53,0.05))

Mike

:

I am using:

=IF(P53>M53/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?
 
My mistake, ROUNDUP(P53,1)
--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


tarabull said:
Then it rounds it up to 3.00

Thomas said:
Tarabull,

Try replacing CEILING with ROUNDUP.

--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


tarabull said:
The resulting answer is 2.35 in both cases when i use the formula that Thomas
gave. Since 2.35 ends in .05, the ceiling of .05 keeps it at 2.35

:

Those were the answers that I returned with the current situations and formula.
--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


:

in situation #1, i would want answer to be 2.35
in situation #2, i would want answer to be 2.40

:

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

:

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

:

Maybe

=IF(P53>M53/0.85,P53,CEILING(P53,0.1))


Mike

:

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?

:

Hi,

You don't need the quotes or the = sign

=IF(P53>M53/0.85,P53,CEILING(P53,0.05))

Mike

:

I am using:

=IF(P53>M53/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?
 
nope, still 3.00

Thomas said:
My mistake, ROUNDUP(P53,1)
--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


tarabull said:
Then it rounds it up to 3.00

Thomas said:
Tarabull,

Try replacing CEILING with ROUNDUP.

--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


:

The resulting answer is 2.35 in both cases when i use the formula that Thomas
gave. Since 2.35 ends in .05, the ceiling of .05 keeps it at 2.35

:

Those were the answers that I returned with the current situations and formula.
--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


:

in situation #1, i would want answer to be 2.35
in situation #2, i would want answer to be 2.40

:

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

:

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

:

Maybe

=IF(P53>M53/0.85,P53,CEILING(P53,0.1))


Mike

:

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?

:

Hi,

You don't need the quotes or the = sign

=IF(P53>M53/0.85,P53,CEILING(P53,0.05))

Mike

:

I am using:

=IF(P53>M53/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?
 
That's odd. I run it on mine and it says 2.35 >> Roundup(P53,1) = 2.4

I get three when I put .1 in the second criteria...

--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


tarabull said:
nope, still 3.00

Thomas said:
My mistake, ROUNDUP(P53,1)
--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


tarabull said:
Then it rounds it up to 3.00

:

Tarabull,

Try replacing CEILING with ROUNDUP.

--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


:

The resulting answer is 2.35 in both cases when i use the formula that Thomas
gave. Since 2.35 ends in .05, the ceiling of .05 keeps it at 2.35

:

Those were the answers that I returned with the current situations and formula.
--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


:

in situation #1, i would want answer to be 2.35
in situation #2, i would want answer to be 2.40

:

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

:

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

:

Maybe

=IF(P53>M53/0.85,P53,CEILING(P53,0.1))


Mike

:

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?

:

Hi,

You don't need the quotes or the = sign

=IF(P53>M53/0.85,P53,CEILING(P53,0.05))

Mike

:

I am using:

=IF(P53>M53/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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top