MrExcel's Learn Excel #816 - Total Red Cells

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Jan 12, 2009.
Say that you need to add up all of the red cells. This is easier in Excel 2007 using Filter by Color. Episode 816 will show you how to do this in Excel 2007 as well as a clever trick using find by format to do the same thing in Excel 2003.

This blog is the video podcast companion to the book, Learn Excel 97-2007 from MrExcel. Download a new two minute video every workday to learn one of the 377 tips from the book!
maxresdefault.jpg


Transcript of the video:
Hey. Welcome back to the MrExcel netcast. I'm Bill Jelen.
Well, today, I have a cool trick, brand new in Excel 2007 but an amazing way to do the same thing in Excel 2003.
We have a list of invoices here, and someone has gone through and flagged some invoices in red and they say add up the red ones.
Well, gee, that's tough to do, but, in Excel 2007, what you can do is right-click one of the red cells and go to FILTER and say FILTER BY SLECTED CELL’S COLOR or FONT COLOR.
So, I'll choose COLOR.
That will get me all the red cells, and then, once you've applied a filter to the data set, go to the cell immediately below the data set, the first visible cell -- so, in this case, row 25 -- and use ALT+=, and instead of creating the SUM function, like ALT+= usually does, it's going to create the version that shows the total of just the selected cells -- so, 499619.
[ =SUBTOTAL(9,B2:B24) ] Now, what if you haven't upgraded to Excel 2007?
What if you’re back in Excel 2003?
Well, there's a cool thing to do where you choose all of column B, and we'll go to EDIT, FIND, and I'm going to choose the OPTIONS.
OPTIONS allows me to look for a certain format.
So, I'll click the FORMAT button, and say CHOOSE FORMAT FROM CELL, and basically go click on one of my red cells.
Now, I'm going to do FIND ALL and that gets me a list down here at the bottom of the dialog box of all of those cells.
What I'm going to do is press CONTROL+A. That will select only those red cells, and then we’re going to look down in the quick sum area down here in the status bar.
It'll show me that the total of those selected red cells is 499619 -- exactly the same answer we got in Excel 2007.
So, easy way to do it in 2007, but certainly a clever way to do it in Excel 2003.
I want to thank you for stopping by.
We'll see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,224,862
Messages
6,181,465
Members
453,045
Latest member
Abraxas_X

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top