Link to home
Start Free TrialLog in
Avatar of Moiz Saifuddin
Moiz Saifuddin

asked on

Excel Function

I work for a company that completes Service Orders as a task and the team needs to complete atleast 30 S.O to receive money.

I need a function in excel that computes the math.

So if the number is > than 30 then 30/6 where 6 is the number of working days which is equivalent to 5/day then 5*30 is the amount they receive which is 150. I need a function to compute the math to output 150$
Although if the number of input is 31 then 31/6 is 5.1666 which should be rounded to 5

Another function similar to above should be used
((30/6)*40%)*30
Avatar of Runrigger
Runrigger
Flag of United Kingdom of Great Britain and Northern Ireland image

Moizsaif, sorry your question isn't very clear, especially the bit about "another" formula.

When do you round up, if ever? What happens if the SO total gets to say 50?
Avatar of Moiz Saifuddin
Moiz Saifuddin

ASKER

round up only on the division part of the function portion so say if total is 50 then 50/6=8.33 rounded up to 8

My condition states for a total below 30 should not be considered and the output is 0.
ASKER CERTIFIED SOLUTION
Avatar of Runrigger
Runrigger
Flag of United Kingdom of Great Britain and Northern Ireland image

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
let's assume u have your SO count in cell "A1"

Formula 1:
========
then the function should read" =rounddown($A$1/6,0)*30


Formula 2:
========
=(rounddown((30/6),0)*40%)*30

let me know if it helps!!!

Thanks,
Bala