Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
I recently conducted a poll on Vingtaine, where I asked one of my followers and connections to let
me know which functions in Excel, they find the most useful and by far the clear winner was count votes
and some ifs.
And both of these functions, as well as their sister functions, average if men f and Max F are effectively
if statements which have conditions or have criteria.
And there's a really important distinction to make here in this lesson, we're going to talk about count.
If some f and average is in the next lesson, we're going to talk about count, if plural.
Some ifs, average ifs and those latter three are newer additions to excel.
The original functions that we've had for quite a while now are the singular count.
If some, if average.
If so, let's start out in this lesson by taking a look at how those work, and then we'll add a bit
of complexity to it in the next lesson.
What we have here is a small table.
We have some sales team members, we have the company that they work for.
We've just got two companies in here.
We have their job titles, so they're either a sales rep or a sales manager, and then we have the total
amount in dollars that they've sold.
Now what I want to find out is some information, but based on criteria.
So if we take a look at this first table and just concentrate on this first one, my criteria is going
to be micro world because what I want to work out here are the total sales for Micro World.
So we're adding in a condition where we have to tell the formula, perform a sum calculation of the
total sales, but only when the company is equal to micro world.
So we only want to add up those total sales.
So in this scenario, where we have one piece of criteria, which is micro world, we use the singular
form.
Some if and this is a fairly straightforward calculation to do so, let's type in equals some if.
What arguments do we have here?
Well, our first argument is range.
A second argument is criteria.
And then we have a third optional argument.
How do I know this is an optional argument?
Well, it's enclosed in square brackets.
So every time you see an argument that has square brackets around the outside, it means it's not a
mandatory piece of criteria.
You don't have to include it in order to get this formula to work.
Now we are going to include some range in this calculation, so we're going to use all of the arguments.
Now our first argument here is range and then we have criteria.
Now I like to work backwards when I'm thinking about this.
What is my criteria in this formula?
Well, my criteria is micro world.
So my range is going to be wherever I'm going to find the word microLED, so I'm going to find that
in the company range.
So my first argument here is the range, and then I can specify the criteria that I'm looking for.
So the criteria I have listed in Cell F six.
Now again, I could have hardcoded in the word micro world in quote marks, of course.
But as I said, wherever possible, try and use cell references.
Now the final argument here is that optional argument of some range.
Now in this case, I do need this because otherwise excel isn't going to know what I want to add up.
I haven't told it to add up the total sales yet.
So my some range is going to be total sales.
Close the bracket, enter and there is my result.
So let's review.
We're saying some if the company range equals micro world, if it does sum the total sales.
So that is some f where we use a single piece of criteria in this case micro world.
Let's take a look at how this would work if we're counting as opposed to something.
So in this second example, again, we have one piece of criteria I want to work out the total number
of employees at Computex.
So effectively, I want it to look through this table and wherever it finds computer, I want it to
count the number of entries, and that's effectively going to give me the number of employees that work
that.
So for this, we have one piece of criteria.
So we're using count, if singular.
This time we have two arguments, range and criteria.
Again, I like to work backwards.
My criteria is going to be comp tech.
Which range am I going to find that n?
I'm going to find it in the company range comma.
My criteria is can't be tech effectively sell F-14.
Close the bracket, hit enter, it's telling me there are six employees at Columbia Tech, and because
my dataset is reasonably small, I can just do a quick visual check just there.
And yes, I do have six employees.
It's also worth noting that down in the status bar, if you take a look over on the right hand side,
it's telling me the count is six.
And if you can't see that information, a little quick tip here if you right click in the state as far.
Make sure you have average count, numerical count min, max and some turned on so that when you start
selecting things in your worksheet, you can see all of those values in the status bar at the bottom.
So let's do the final calculation down here.
This is just doing an average.
So this time I want to find the average sales for comp tech again, one piece of criteria.
So this time we're going to use average.
If in its singular form, we have three arguments just here.
My criteria is computer.
So the range is going to be company.
The criteria is comp tech and the average range.
Well, I'm looking for the average of the sales, so I want to use the sales range.
Close the bracket answer and now I get my average.
So that is how we can use those three super useful formulas to return results based on one piece of
criteria.
In the next lesson, I'm going to show you how you can do the same thing for how we can incorporate
multiple pieces of criteria.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.