My feed
Premium

Please
or
to access all these features

Geeky stuff

Help desperately needed, excel formulae!

11 replies

Feelingworriednow · 20/04/2017 11:10

What kind of formulae would I use if I need to average figures from a list but ONLY if they fulfill another criteria? I have attached a picture of a very simple version of a much, much bigger spreadsheet to illustrate what I am trying to do. Other people will be adding more children now and again and I want the formulae to be able to search for a criteria so that the others don't have to change the formulae as they have even less idea what they are doing to me!

So where I have put "???" in red, I want the formulae to average the Year 1 Autumn mark from the data immediately above but ONLY if the data is from a boy, which can been seen from the letter B or G in the gender column next to the names.

I'm the only person in school with any idea of how to use excel even at a simple level and this is doing my head in! My15yo DD has just told me to ask the hive mind since just googling an answer comes up with some very confusing answers! Your help would be very much appreciated!

Help desperately needed, excel formulae!
OP posts:
Report
ImperialBlether · 20/04/2017 11:12

Wouldn't it be IF... then AVERAGE?

Report
ImperialBlether · 20/04/2017 11:13

I'm going to PM you.

Report
UniversallyUnchallenged · 20/04/2017 11:13

You need "IF" statements, goggle them, cut and paste and then change them to the column labels you are using

Report
Feelingworriednow · 20/04/2017 11:16

I can do an average formula but don't know how to link it to the IF.

OP posts:
Report
Reow · 20/04/2017 11:17
Report
NatalieRushman · 20/04/2017 11:26

Use AVERAGEIF.

The formula you would use in this case is =AVERAGEIF(Range of gender cells,"B",Range of marks you want to average"

Example: in the data you have pictured, presuming the first column at the top of the screen is 1, the formula would be:
=AVERAGEIF(E5:E12,"B",K5:K12)

Report
NatalieRushman · 20/04/2017 11:27

The "B" can obviously be substituted by "G" or even "1" when you get to calculating FSM or PP.

Report
Feelingworriednow · 20/04/2017 12:30

There really is nothing MN can't solve! Many, many thanks and Flowers to ImperialBlether for working her magic on my spreadsheet and to the super advice and links from everyone else. I know where to come next time! Thank you, thank you, thank you.

OP posts:
Report
eeyore2 · 20/04/2017 14:39

You can also use 'Sumif' and then 'countif' and divide one by the other if you want to show your working in a more step by step way.

Report
exceltutorialonline · 07/10/2018 22:28
Report
synkronizerexcelcomparetool · 25/10/2018 07:02

Hi, If anyone Compare Multiple ExcelSheet Data Without using any Excel formula's Then Try Synkronizer Excel Comparing Tool. www.synkronizer.com/

Report
Please create an account

To comment on this thread you need to create a Mumsnet account.