Professional Documents
Culture Documents
04a Countifvlookup
04a Countifvlookup
04a Countifvlookup
Conditional Formatting
Select Sheet1
Select Column G
Click OK
Challenge
Highlight any cells with a Price less than 50
Want to find summary stats for Market Cap Type in the following headings
Tell Excel what column you want to count: Go to Sheet 1 and select Column E
Select Column E
Tell Excel what to Sum: Select Sheet1 then Column E and press Enter
Have now calculated the total market capitalisation of all 2496 companies
Challenge
For market capitalisation calculate: Average Maximum Minimum
For Range choose Sheet1 Column D to count the number of observations per country
Click Column D
Click Criteria
Click OK
For cell E8 select Formulas -> Math & Trig -> SUMIF
Select Column D
Click Criteria
Click Sum_range
Select Column E
Click OK
Challenge
For France, Britain and Ireland use:
Countif to calculate number of companies in each country Sumif to calculate the total market capitalisation of these companies in each country
Vlookup
Select Sheet2
Click OK
We have now extracted the P/E ratio for BP from our main dataset
A5 is the value that we want to search for Sheet1!B:I is the dataset that we look in (the first column of your dataset should always be the one which contains the name you are looking for) 6 is the column number in the dataset that we want to find
Challenge
Use Vlookup to obtain TotalReturn for your company Repeat for some other companies