There are lots of different ways to count things in Excel – maybe you need to count the numbers in a column, or all the data, or just the blank cells. Fortunately, there is a function for each of those:
COUNT COUNTA COUNTBLANK
For example, to count the blank cells in the range A1:A5, use the following formula in cell A7:
More Complicated Counting
If you have more complicated things that you need to count, there are other functions to do the job:
COUNTIF COUNTIFS SUBTOTAL AGGREGATE
For example, to count only the visible numbers, after filtering and/or
Continue reading How to Count in Excel
From what I've seen in workbooks over the years, SUM is the most frequently used Excel function, and AVERAGE is the runner-up. Would you agree, or do you see other functions used more often than those two?
Last week, a client asked about excluding some of the highest and lowest numbers from a data set, to give a better average. It looked like some of those outliers had been incorrectly entered (an extra zero, or a mistyped numbers), and they were throwing off the results.
So, we did some tests with the TRIMMEAN function, to compare the results with a
Continue reading Ignore Outliers with Excel TRIMMEAN
This Sunday is Super Bowl XLIX – the last one that will start with "XL". Next year, it will be Super Bowl L – that doesn't exactly roll off the tongue!
In 2011, I showed how you can use the ROMAN function in Excel, to change a number into a Roman numeral. That year, they were playing for the 45th time, which was XLV.
Other Football Functions
There are other Excel functions that sound like they could be used in a football game. Here are a few, and I'm sure you can think of others:
CONVERT RECEIVE YIELD
Continue reading Football Fun in Excel
Today's challenge is to count how many guests stayed at a hotel, in a specific date range, based on the guest arrival and departure dates.
Continue reading Count Activities in a Date Range
Last week, I was creating an Excel file with sample data, to use for a few experiments. But don’t worry, they weren’t mad-scientist-type experiments – I was doing Power Pivot experiments, and needed some data to play with.
I needed 2 types of data:
Numbers: sample test scores in one column Text: random Region names and Gender in other columns.
Continue reading Create Random Text in Excel
Thanks to AlexJ for suggesting a great use for the REPT function – setting a minimum row height. He uses this technique to add a bit of spacing in his tables, so they’re easier to read.
You can watch the steps in this video (or watch it on YouTube), and the step-by-step instructions are below the video.
Add Space in an Excel List
For example, here is my To Do list, with a few items to work on, around the house. Most of the Task Descriptions are short, and fit in a single line.
Continue reading Set Row Height With REPT Function
For the past couple of weeks I’ve had lots of trouble with this blog. It’s been up and down, and I’m sorry if you’ve come to visit, and found the doors closed! The sturdy-looking door shown below is at Brock’s Monument, in Niagara-on-the-Lake, which I visited earlier this month.
So, I’ve turned off a few things on the blog, like subscribing to comments, to see if that helps. Maybe Dick Kusleika, at Daily Dose of Excel, has some tips for me, if he’s sorted out his blog problems.
Continue reading Auditing Excel Formulas Quick Tips
If you want to embed a YouTube video on your website, YouTube will create some IFRAME code for you. If you want to embed content from somewhere else, you might have to create your own IFRAME code, or find a free generator somewhere in the interwebs.
But now you won’t have to wander the Internet hallways, looking for a solution, dodging scam artists at every intersection. Instead, you can download my sample file, and create your code in the safety of your own Excel file.
Continue reading Create IFRAME Code in Excel
I’ve been experimenting with the new SHEET and SHEETS functions in Excel 2013, to see how they could be used.
The SHEETS function counts all the sheets in a reference The SHEET function returns the sheet number for a reference
You can see a demo of these functions in the video at the end of this post.
How Do You Use These Functions?
Have you found any practical uses for these functions? I came up with a few formulas that let you do some troubleshooting.
Continue reading SHEET and SHEETS Functions in Excel 2013
If you’ve been anywhere online in the past couple of years, you’ve probably seen those quizzes, such as Which Star Wars Character Are You?
Now, it’s time to play a new game – Which Excel Function Are You?
We don’t need an online service to create our quiz – we can build it in Excel.
Pick the Five Functions
Most of these games have 5 or 6 possible outcomes, so I’ll pick 5 Excel functions that have distinctive personalities.
ROUND VLOOKUP MATCH EXACT COUNT
On a worksheet named Admin_Data, I created a table with a list of the
Continue reading Which Excel Function Are You?