# correct sqrt formula and roundup

Hi,
I would like a correction to attached formula and roundup to nearest 5
many thanks
Ian
ROUNDUP.xlsx
###### Who is Participating?

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
Hi,

pls try
``````=IF(AND(H13>0,E\$3>D\$3),H13+ROUNDUP(((SQRT(E11-D11))/5),0)*5)
``````
Regards
2
retiredAuthor Commented:
Hi Rgonzo,

Actually, I was ideally wanting the formula supplied in either cell B5 or B13 to be modified
as there are other criteria like adding H5 or H13.
Thanks
0
Commented:
then try for B5

=IF(AND(H5>0,E\$3>D\$3),ROUNDUP(((H5+SQRT(E3-D3))/5),0)*5)
1
retiredAuthor Commented:
The else part is missing   (H5+D\$3*0.0025)/2) also needs rounding
0
Commented:
then try
``````=IF(AND(H13>0,E\$3>D\$3),ROUNDUP((H13+(SQRT(E11-D11)))/5,0)*5,ROUNDUP((H13+D\$3)/5,0)*5)
``````
1

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

retiredAuthor Commented:
Perfect
Thanks Rgonzo :)
0
retiredAuthor Commented:
OOPS  sorry I didn't check the else. It produced a value of 5020 instead of   H6+E\$3*.0025 which should equal 27.5
Thanks if you don't mind correcting.
Ian
0
retiredAuthor Commented:
or 30 rounded up
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.