Link to home
Start Free TrialLog in
Avatar of Ian Bell
Ian BellFlag for United Kingdom of Great Britain and Northern Ireland

asked on

correct sqrt formula and roundup

Hi,
I would like a correction to attached formula and roundup to nearest 5
Please refer to sheet
many thanks
Ian
ROUNDUP.xlsx
Avatar of Rgonzo1971
Rgonzo1971

Hi,

pls try
=IF(AND(H13>0,E$3>D$3),H13+ROUNDUP(((SQRT(E11-D11))/5),0)*5)

Open in new window

Regards
Avatar of Ian Bell

ASKER

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
then try for B5

=IF(AND(H5>0,E$3>D$3),ROUNDUP(((H5+SQRT(E3-D3))/5),0)*5)
The else part is missing   (H5+D$3*0.0025)/2) also needs rounding
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Perfect
Thanks Rgonzo :)
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
or 30 rounded up