Excel VBA Introduction Part 58.12 - SQL for Excel Files - Aggregation Functions

preview_player
Показать описание


This video teaches you how to use aggregation functions in SQL queries for Excel to summarise data in a column. You'll learn how to use the Sum, Count, Min, Max, Avg, StDev and Var functions to generate aggregated values for all the rows in a dataset. You'll also see how to use the results of aggregation functions to create new calculations and how to deal with Nulls in the columns you're aggregating.

Chapters
00:00 Topic List
00:41 The Basic Setup
02:56 Calculating the Sum of a Column
05:03 Mixing Aggregated and Non-Aggregated Columns
06:23 Counting Values and Rows
08:21 Finding the Minimum and Maximum Values
10:09 Calculating the Average
11:32 Standard Deviation and Variance
13:30 Including a Where Clause in the Query
15:24 Using Aggregates in Other Calculations
16:49 Aggregating a Calculated Value
17:54 Counting Column Values with Nulls
19:10 Averaging a Column with Nulls
21:17 Replacing Nulls with a Value
23:30 Filtering Out Nulls
24:30 What's Next?

Рекомендации по теме
Комментарии
Автор

Good tutorial, you enriched our information, thanks.

youssefsedkey
Автор

Hello once again WiseOwl!
A little bit out of topic of your usual videos, but how can you use the mouse wheel in scroll bars of forms? I actually don't understand what's the point of scroll bars when you can't use the mouse wheel. :D

corneliuzabolotnic
Автор

Thank you very much. Shorter videos are better so as not to lose concentration :)

KhalilYasser
Автор

Baie Dankie Andrew brilliant tutorial as always 👏👌👍 the only downside I have is I didn't want this one to stop 😀 I was on the wrong track with this function by mixing the column 🙄 and couldn't understand why I was getting the alarm, thank you for pointing that out 👌

frikduplessis
Автор

Hi Andrew, thank you for the amazing videos. I was trying to connect to MS SQL installed on my machine when I gave the path for server, it threw an error but when I wrote localhost it worked. The error was something like this ' the machine actively refused to connect'. I tried to google it but no good answer.

tejamarneni
Автор

Thanks a lot sir,

Need help?

Want to set password in access database using excel vba
I have created the database and table using vba but can't set the password
Can you help me on this
Using office 365

minitv