I need help dragging a formula down

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?
 
M

Mike H

Hi,

You don't need the quotes or the = sign

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

Mike
 
T

tarabull

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)??
 
T

Thomas [PBD]

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))
 
T

tarabull

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?
 
D

David Biddulph

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.
 
M

Mike H

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
 
T

tarabull

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

Thomas [PBD]

Those were the answers that I returned with the current situations and formula.
 
T

tarabull

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
 
T

Thomas [PBD]

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?
 
T

tarabull

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?
 
T

Thomas [PBD]

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?
 
T

tarabull

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?
 
T

Thomas [PBD]

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?
 
Top