bilebizzare
New Member
- Joined
- Mar 4, 2019
- Messages
- 2
Hi guys, I've been using this forum for long time, but this is my first time posting .
Recently I got math problem to solve on job interview, which I did on paper, but problem is it was needed to be done in excel. Below is question and the way I did it on paper. Please help me solve it through excel.
[Class did test. If all boys had 3 points more, average points of whole class would increase for 1.2 points. What's the % of girls in class?]
X - boys P - points boys
Y - girls P1 - points girls
(X*P + Y*P1)/(X+Y) = AVERAGE
(X*P + Y*P1 + 3X)/(X+Y) = AVERAGE + 1.2
(X*P + Y*P1)/(X+Y) + 3X/(X+Y) = AVERAGE +1.2
3X/(X+Y) = 1.2
3X = 1.2X + 1.2Y
1.8X = 1.2Y
Y = (1.8/1.2)*X
Y = 1.5X
X+Y = 100%
X+1.5X = 100%
2.5X = 100%
X = 40%
Y=60%
% of girls in class is 60%!
Recently I got math problem to solve on job interview, which I did on paper, but problem is it was needed to be done in excel. Below is question and the way I did it on paper. Please help me solve it through excel.
[Class did test. If all boys had 3 points more, average points of whole class would increase for 1.2 points. What's the % of girls in class?]
X - boys P - points boys
Y - girls P1 - points girls
(X*P + Y*P1)/(X+Y) = AVERAGE
(X*P + Y*P1 + 3X)/(X+Y) = AVERAGE + 1.2
(X*P + Y*P1)/(X+Y) + 3X/(X+Y) = AVERAGE +1.2
3X/(X+Y) = 1.2
3X = 1.2X + 1.2Y
1.8X = 1.2Y
Y = (1.8/1.2)*X
Y = 1.5X
X+Y = 100%
X+1.5X = 100%
2.5X = 100%
X = 40%
Y=60%
% of girls in class is 60%!