Round up formula

Asw091

New Member
Joined
May 28, 2017
Messages
24
Hello, I have a formula that is kind of working but is out.



ResponsesPositive93%NeedNeutral Negative
1009392%061

<tbody>
</tbody>

The responses are Positive + Neutral + Negative and the results are calculated by Positive(B2) - Negative(F2) / Responses(A1).

The Formula for that is returning the correct result, but Need(D2) should still be showing 15, as it’s 93% I need, not 92%.

Te formula I’m using is D2 is (ROUNDUP(((LEFT(C1,2)÷100×$A2)−B2)÷(1−(LEFT(C1,2)÷100)),0)

Can anyone notice a mistake?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I am not sure where you get 15 from, but perhaps this will help you identify your issue.

92% is really equal to 0.92. So I don't you want to divide by 100 and take the two left-most characters (it will return "0.0").
Break your formula down in smaller chunks like that to see what each part is doing and confirm it is doing what you want.
 
Upvote 0
Thanks for your response, I found out the Formula was trying to do -B2, not -(B2-F2).

Something so small eh.

Finished formula is (ROUNDUP(((LEFT(C1,2)÷100×$A2)−(B2-F2))÷(1−(LEFT(C1,2)÷100)),0)

Red marks the corrections.
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,254
Members
448,556
Latest member
peterhess2002

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top