Rounding Question

G

Guest

I am using the roundown function and everything works fine. However, one of
my number when rounded down = 1 when 1 is divided in 1/2 (which I have to do)
the rounddown function takes it to a zero when instead I need it to stay at
1. If there any to test for a greater than or less than value in a cell? or
how would ya'll suggest I handle this situation.

Thank you
Hank
PS, I'm a real excel newbie....
 
G

Guest

If you want anything less than one to be one and you never want any zeros,
try IF(ROUNDDOWN(A1,0)=0,1,ROUNDDOWN(A1,0)). If there are legitimate zero
cells, try IF(A1>0,IF(ROUNDDOWN(A1,0)=0,1,ROUNDDOWN(A1,0)),0)

Hope that helps.

Jane
 
G

Guest

Fantastic, thank you ma'am, that's exactly what I wanted to do. I program
with VFP and couldn't find anything about IF statements in the Excel Doc.

Thanks again.
H
 

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

Similar Threads

conditional rounding 2
Multiple logic tests 0
Conditional Rounding 4
Rounding Up question 2
problem with round down 5
COUNT question 3
Rounding Data Question 1
Rounding Help Please 2

Top