Ever stared at a big spreadsheet in Excel and felt your eyes blur trying to follow the data across a row? It happens to the best of us. Making your spreadsheets easier to read is a game-changer, and one of the simplest yet most effective tricks is to highlight every other row. This guide will walk you through exactly how to do that, step by step, using a super clever Excel feature called Conditional Formatting. Trust me, once you learn this, you’ll wonder how you ever lived without it. It’s quick, it’s easy, and it makes your data pop, improving readability and reducing eye strain significantly.
Tutorial – How to Highlight Every Other Row in Excel
Alright, let’s get into the nitty-gritty of making your Excel sheets much prettier and easier to handle. This process uses conditional formatting, which basically means you’re telling Excel, “Hey, if a cell meets this specific condition, make it look a certain way.” For our task, the condition is whether a row is even or odd. Follow these steps, and you’ll have beautifully striped data in no time.
Step 1: Select the range of cells you want to format.
This is your starting point, like picking which canvas you want to paint on.
You’ve got to tell Excel exactly where you want this cool new formatting to appear. You can select a small block of data, an entire column, or even the whole sheet if you want! Just click and drag your mouse over the cells, or click the column letter to select a whole column. If you pick just a few cells, only those will get the stripes. If you select entire columns, any new data you add to those columns will automatically receive alternating colors, which is a neat little bonus.
Step 2: Navigate to the Conditional Formatting button on the Home tab.
This is where all the magic starts for creating rules that change how your cells look.
Once you have your data selected, look at the ribbon at the top of your Excel window. You’ll find a section called “Styles,” and within that, there’s a button labeled “Conditional Formatting.” Click that, and a drop-down menu will appear with many options. We’re looking for something specific in there, so don’t get too sidetracked by all the other neat things you can do.
Step 3: From the drop-down menu, choose “New Rule.”
This option opens a dedicated dialog where you can create your own custom formatting rule.
Clicking “New Rule” brings up a box titled “New Formatting Rule.” This is where we tell Excel exactly what kind of condition we want to set. You’ll see a few rule types to choose from, but for highlighting every other row, we need a very specific one that allows us to use a formula. It might sound a bit fancy, but trust me, it’s not as scary as it sounds.
Step 4: Select the rule type “Use a formula to determine which cells to format.”
This is the key step that allows us to use a special Excel function to identify every other row.
Once you’ve clicked “New Rule,” you’ll see a list of rule types. The last one on the list, “Use a formula to determine which cells to format,” is the one we need. This option gives you a small box where you can enter a formula. If the formula evaluates to “true” in a cell, Excel will apply your chosen formatting to that cell. This is super powerful for all sorts of custom formatting tricks.
Step 5: Enter the formula =MOD(ROW(),2)=0 into the formula box.
This formula is the clever bit that tells Excel to select all even-numbered rows.
Let’s break down this formula for a second. ROW() simply tells Excel what row number the current cell is in. MOD(number, divisor) is a function that gives you the remainder after dividing number by divisor. So, MOD(ROW(),2) gives you a remainder of 0 if the row number is even (like 2 divided by 2 has no remainder) and a remainder of 1 if the row number is odd (like 3 divided by 2 has a remainder of 1). By setting it to =0, we’re telling Excel to format only the even rows. If you wanted to highlight odd rows instead, you’d use =MOD(ROW(),2)=1.
Step 6: Click the “Format…” button to select your desired highlighting style.
Here’s where you can pick the color and style for your alternating rows.
After you’ve put in the formula, you need to decide what the highlighted rows will actually look like. Click the “Format…” button, and the “Format Cells” dialog box will open. You can choose a fill color (that’s the background color of the cell), change the font color, make it bold, or even add borders. Most people just pick a nice, light fill color that contrasts well with their data but isn’t too distracting. A light gray or pale blue often works wonders.
Step 7: Click “OK” on the “Format Cells” box, then “OK” again on the “New Formatting Rule” box.
These clicks will apply your rule and make your spreadsheet instantly more readable.
Once you’ve selected your desired formatting, such as a pale green fill, click “OK” in the “Format Cells” window to confirm your choices. Then, click “OK” again in the “New Formatting Rule” window to apply the conditional formatting rule to your selected range. Boom! Just like that, your rows will transform, making your data much easier to follow.
After you complete these steps, you’ll immediately see every other row in your selected data range highlighted with the color you chose. The best part? This formatting is dynamic. If you add new rows within your selected range, or delete existing rows, Excel automatically updates the highlighting to maintain the “every other row” pattern. It’s truly a set-it-and-forget-it solution for better data presentation.
Tips for Highlighting Every Other Row in Excel
- Consider your color choice carefully. While a bright pink might seem fun, a subtler, lighter color like pale gray, light blue, or pale yellow will make your data easier to read over extended periods without causing eye strain.
- Apply the rule to entire columns. Instead of selecting your current data, select the entire column (e.g., A:Z) before applying conditional formatting. This way, any new data you add to those columns in the future will automatically get the alternating row highlighting without you needing to do anything extra.
- Understand the
MODfunction. TheMODfunction is super versatile. If you wanted to highlight every third row, you could change the formula to=MOD(ROW(),3)=1(or=2or=0depending on your starting point.) - Use Excel Tables for a simpler alternative. If your data is structured as an Excel Table (Insert tab, Table), Excel automatically applies alternating row shading without any conditional formatting formulas. It’s often the easiest approach when starting a new dataset.
- Manage your rules effectively. If you ever want to change the color or remove the highlighting, go back to Conditional Formatting, then “Manage Rules.” You can edit an existing rule or delete it entirely from there.
- Combine with other formatting. You can have multiple conditional formatting rules active at once. For instance, you could highlight every other row and also highlight cells with values above a certain number in red. Just make sure your rules don’t conflict in a way that makes your data unreadable.
Frequently Asked Questions
Why would I want to highlight every other row in Excel?
Highlighting every other row, often called “zebra striping,” greatly improves readability, especially in large datasets. It helps your eyes track across a row of data more easily, preventing you from accidentally looking at the row above or below the one you’re focused on. This reduces errors when entering or reviewing data and generally makes your spreadsheets much more user-friendly.
Can I highlight every third or fourth row instead of every other?
Absolutely, you can! The trick is to adjust the MOD function in your formula. For example, to highlight every third row, you would use a formula like =MOD(ROW(),3)=0. The number “3” inside the MOD function tells Excel to check for every third row. You can set this value to “4” to display every fourth row, and so on.
What if I add or delete rows after applying this formatting? Does it update automatically?
Yes, that’s one of the best features of using conditional formatting with a dynamic formula like ROW(). If you insert new rows or delete existing ones within your formatted range, Excel is smart enough to re-evaluate the formula for each row. This means your alternating row highlighting will automatically adjust and remain consistent without you lifting a finger.
How do I remove this conditional formatting if I no longer want it?
Removing the formatting is just as easy as applying it. Simply select the range of cells where the formatting is applied (or the entire sheet if you applied it everywhere). Go to the “Conditional Formatting” button on the Home tab, then choose “Clear Rules.” You’ll then have the option to clear rules from selected cells or from the entire sheet.
Can I use different colors for the alternating rows, like light blue and light gray?
Yes, you can achieve this, but it requires creating two separate conditional formatting rules. You would create one rule using =MOD(ROW(),2)=0 and apply a light blue fill. Then, you’d create a second rule using =MOD(ROW(),2)=1 and apply a light gray fill. Just make sure the order of your rules in the “Conditional Formatting Rules Manager” doesn’t cause any unexpected overrides, though for simple alternating colors, this usually isn’t an issue.
Summary of Highlighting Every Other Row
- Select your data range.
- Go to Conditional Formatting.
- Choose New Rule.
- Select “Use a formula…”
- Enter
=MOD(ROW(),2)=0. - Pick a fill color.
- Click OK twice.
Conclusion
There you have it, folks! Mastering the art of highlighting every other row in Excel is a small but incredibly impactful skill that transforms your spreadsheets from daunting walls of numbers into organized, visually appealing, and highly functional data tables. We’ve journeyed through the simple yet powerful steps of using Conditional Formatting, a tool that might seem a bit intimidating at first glance, but as you’ve seen, it’s actually quite user-friendly once you understand its logic. Think of it as giving your data a much-needed makeover, making it not just presentable, but genuinely a pleasure to work with.
The beauty of this technique lies in its dynamic nature. No more manually coloring rows every time your data changes, which is a huge time-saver and a big win for accuracy. When you add new entries or delete old ones, Excel intelligently maintains your chosen pattern, ensuring your spreadsheet always looks neat and professional. This isn’t just about aesthetics, though; it’s about reducing eye strain, improving focus, and ultimately making better, faster decisions based on your data. It’s about taking control of your Excel environment and making it work for you, rather than against you. I encourage you to try this right away in your own spreadsheets. Pick a light, subtle color that suits your style, apply the rule, and then just watch how much easier it becomes to navigate your information. This simple trick is a gateway to exploring even more advanced conditional formatting rules that can unlock incredible insights from your data. Keep practicing, keep experimenting, and remember that every little Excel trick you learn adds to your overall data wizardry.

Matthew Burleigh has been writing tech tutorials since 2008. His writing has appeared on dozens of different websites and been read over 50 million times.
After receiving his Bachelor’s and Master’s degrees in Computer Science he spent several years working in IT management for small businesses. However, he now works full time writing content online and creating websites.
His main writing topics include iPhones, Microsoft Office, Google Apps, Android, and Photoshop, but he has also written about many other tech topics as well.