770 likes | 1.08k Views
04. Excel Countif and Vlookup. File -> Open -> 04b-datastart.xlsx. Click on new tab icon to insert new sheet. Conditional Formatting. Select Sheet1. Select Column G. We want to highlight any cells with a P/E greater than 15. Select Home -> Conditional Formatting.
E N D
Challenge • Highlight any cells with a Price less than 50
Want to find summary stats for Market CapType in the following headings
Tell Excel what column you want to count:Go to Sheet 1 and select Column E
There are 2496 companies with market capitalisation information in dataset
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
We sometimes want summary statistics for different groups e.g. countries
For Range choose Sheet1 Column D to count the number of observations per country
For Sum_Range choose Sheet1 Column E as it contains market capitalisation
Calculates the total market capitalisation of companies based in Germany
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