If, Round down help

  • Thread starter Thread starter natei6
  • Start date Start date
N

natei6

Hey to all,

I'm needing a formula that says:

=IF(A1>4,A1/5) rounded down to the nearest whole number evenl
divisible by 5. Not sure how to do the last part.

Appreciation,

Nathan Sargean
 
Try

=IF(A1>4,FLOOR(A1/5,5),"")

or did you mean if A1 is greater than 4 round down A1 to the nearest number
divisible by 5, is
so use

=IF(A1>4,FLOOR(A1,5),"")

--

Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)
 
Peo said:
*Try

=IF(A1>4,FLOOR(A1/5,5),"")

or did you mean if A1 is greater than 4 round down A1 to the neares
number
divisible by 5, is
so use

=IF(A1>4,FLOOR(A1,5),"")

--

Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)

Hi Peo,

I need A1/5 if A1 is greater than 4. But I need the result to b
rounded down to the nearest whole number evenly divisible by 5.

Example: If A1 has the number 9 entered, the result should be 1, or i
A1 has the number 10 in it, the result should be 2.

All the best,

Nathan Sargean
 
I need A1/5 if A1 is greater than 4. But I need the result to be
rounded down to the nearest whole number evenly divisible by 5.

Example: If A1 has the number 9 entered, the result should be 1, or if
A1 has the number 10 in it, the result should be 2.

=if(a1>4,INT(A1/5),"undefined")

--ron
 
Got you

try

=IF(A1>4,INT(A1/5),"")

--

Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)
 

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