Excel - Conditional Formatting (feat. Zack Barresse) - Episode 470

907 views · Published 11 May 2009 · 2:42 · Indexed 20 September 2026

Channel: MrExcel.com · 2009 · Education

Watch on YouTube

Microsoft Excel Tutorial - Conditional Formatting (feat. Zack Barresse).

Welcome to another episode of the MrExcel netcast. I'm your host, Bill Jelen, and today we have a special guest, Zach Barresse, who is not only a member of the MrExcel board, but also a firefighter and EMT. He's here to share a cool trick with us using Conditional Formatting in Excel.

As you can see on the screen, we have a table with data and we want to highlight every other row. Instead of manually formatting each row, we can use a formula in Conditional Formatting. We will use the MOD function, which takes two conditions. The first condition is the formula we want to apply, and the second condition is when we want that formula to be true. In this case, we want to highlight every row where the MOD function equals zero.

The beauty of using a formula in Conditional Formatting is that it is a dynamic formula. This means that if you insert or delete a row, the formatting will adjust accordingly. So even if you add more data to your table, the formatting will still highlight every other row. And if you want to highlight every odd row, you can simply change the equal sign in the formula to 1.

Now, let's talk about the ROW function. This function, when used without any parameters, will return the current row of the cell it is in. So if we put the ROW function in cell D1, it will return the number 2, since it is in the second row. And the best part is, this is a dynamic formula as well. So if you fill it down, it will adjust to the current row, and if you insert or delete a row, it will update accordingly.

I hope you found this tip helpful. And don't worry, I won't be replaced by Zach anytime soon. But if you want to see more of him, let us know in the comments below. Thanks for watching and don't forget to subscribe to our channel for more Excel tips and tricks. See you next time on the MrExcel netcast!

Buy Bill Jelen's latest Excel book: https://www.mrexcel.com/products/latest/

You can help my channel by clicking Like or commenting below: https://www.mrexcel.com/like-mrexcel-on-youtube/


Todays guest podcaster is MVP Zack Barresse. Zack shows how to apply a greenbar formatting using a cool conditional formatting formula. Episode 470 shows you how.

Table of Contents:
(00:00) Introduction to MrExcel netcast
(00:10) Host Bill Jelen introduces guest Zach Barresse
(00:20) Zach demonstrates a cool trick with Conditional Formatting in Excel
(00:30) Explanation of the formula used for Conditional Formatting
(01:07) How the formula works for inserting or deleting rows
(01:41) Using the ROW function to dynamically reference the current row
(02:16) Clicking Like really helps the algorithm

#excel #microsoft #microsoftexcel #exceltutorial #exceltips #exceltricks #excelmvp #freeclass #freecourse #freeclasses #excelclasses #microsoftmvp #walkthrough #evergreen #spreadsheetskills #analytics #analysis #dataanalysis #dataanalytics #mrexcel #spreadsheets #spreadsheet #excelhelp #accounting #tutorial 

This video answers these common search terms:
Deleting a row in Excel
Dynamic formula in Excel
Excel conditional formatting
Highlight every other row
Inserting a new row in Excel
Mod formula in conditional formatting
Odd rows in conditional formatting
ROW function in Excel
Tips for using Excel
True condition in conditional formatting
Zach Barresse


Join the MrExcel Message Board discussion about this video at https://www.mrexcel.com/board/threads/1152399/

More from this channel