Really need some formula help please .....

Ayerighton

New Member
Joined
Mar 25, 2019
Messages
3
Hi folks.

I’m having a major meltdown and need to get this sorted for work. Have asked around the office and our IT dept but they say they don’t have time to work this out ( read it’s too difficult!! )

I am conducting a survey at work and the answer to the questions is either a “yes” or “no”, so that’s easy enough

So I have a simple sheet that divides the number of yes answers by the total number of survey returns to give me a % of yes responses.

What I need to know is how many additional yes surveys I need without any no surveys to get to 70%, 80% and 90%

For example :-

I have received 10 survey responses and 8 were yes, therefore 80% voted yes

How many additional yes surveys do I need to get to 90% ??

The answer is 10 additional yes surveys totalling 18 yes responses out of 20 total responses, therefore 90%

Seems easy, but I can’t for the life of me work out an excel formula to calculate this as the denominator in the calculation is always changing as more surveys come in.

Please help as I’m well and truly stumped with this one.

Many thanks

Aro
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Welcome to the Board!

It's just algebra:

ABCD
1YesNoPercent
28280%
3
4Number of Yeses needed to reach:
570%-3.33
680%0
790%10

<tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
C2=A2/(A2+B2)
B5=ROUND(((A5-1)*$A$2+A5*$B$2)/(1-A5),2)

<tbody>
</tbody>

<tbody>
</tbody>


The formula for a percentage is:

Y / (N+Y) = 80%

where Y is the number of yeses, and N is the number of nos. To get the number of yeses you need to raise the percentage to 90%, call it x, and the formula becomes:

(Y+x) / (N+Y+x) = 90%,

then just solve for x, which becomes

x = [(90%-1)Y + 90%N] / (1-90%)
 
Last edited:
Upvote 0
A little more algebraic manipulation results in the somewhat shorter formula for B5:

=ROUND(A5/(1-A5)*$B$2-$A$2,2)
 
Upvote 0
Eric

You are a superstar ??

That worked a treat

All I need now is a little help to alter the formula so it doesn’t show a number less than zero

Many many thanks

Aro.
 
Upvote 0
Again many thanks

Final thing is that I can’t get the equation to copy to cells below in the table to calculate for other questions, presume it won’t with the $ signs ??
 
Upvote 0
Well, yes. I didn't know your layout, so I created one. If you have a different layout, change the ranges in the formula to your ranges. And if your Y and N cells are in the same columns going down, just remove the $ from those ranges.
 
Upvote 0

Forum statistics

Threads
1,214,412
Messages
6,119,365
Members
448,888
Latest member
Arle8907

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