Playback starts YouTube’s embedded player (privacy-enhanced mode).
How To Shade Every Other Line in Excel with Conditional Formatting
ChannelWheeliePeteDescription from the creator
****Read the comments section for tweaks to the formula that are needed for different regions (and I posted a recent comment about Microsoft 365 (from a viewer in South Africa) down below in these video details.)****
Different versions of the program require different characters (commas vs. semi-colon etc.)
How to shade every other line on an Excel spreadsheet using conditional formatting.
First, select the area of the spreadsheet you wish to have alternating lines shaded.
Then From the Home tab --Conditional Formatting --New Rule --Use a formula to determine which cells to format --Format values where this formula is true:
=MOD(ROW(),2)=0
Select the Format button -- select a color for your alternating line shade --OK --OK
Alternately you can use these formulas:
=ISEVEN(ROW())
Select the Format button -- select a color for your alternating line shade --OK --OK (This will shade EVEN numbered rows)
=ISODD(ROW())
Select the Format button -- select a color for your alternating line shade --OK --OK (This will shade ODD numbered rows)
(October 2018) comment from a viewer regarding Microsoft 365: "On my version of Excel (Microsoft 365) the formula uses a semicolon in place of the comma. This took me a while to figure out. If the formula doesn't work for you try =MOD(ROW();2)=0. "
Different versions of the program require different characters (commas vs. semi-colon etc.)
How to shade every other line on an Excel spreadsheet using conditional formatting.
First, select the area of the spreadsheet you wish to have alternating lines shaded.
Then From the Home tab --Conditional Formatting --New Rule --Use a formula to determine which cells to format --Format values where this formula is true:
=MOD(ROW(),2)=0
Select the Format button -- select a color for your alternating line shade --OK --OK
Alternately you can use these formulas:
=ISEVEN(ROW())
Select the Format button -- select a color for your alternating line shade --OK --OK (This will shade EVEN numbered rows)
=ISODD(ROW())
Select the Format button -- select a color for your alternating line shade --OK --OK (This will shade ODD numbered rows)
(October 2018) comment from a viewer regarding Microsoft 365: "On my version of Excel (Microsoft 365) the formula uses a semicolon in place of the comma. This took me a while to figure out. If the formula doesn't work for you try =MOD(ROW();2)=0. "
About this tutorial
WheeliePete published this 3:58 video tutorial on October 27, 2014. It has been watched 307,923 times on YouTube.
- Channel
- WheeliePete
- Category
- Education
- Duration
- 3:58
- Published
- October 27, 2014
- Views
- 307,923
- Likes
- 3,377
Tags
Share
This tutorial in other languages
- FRComment faire pour ombrer la ligne dans Excel avec mise en forme conditionnelle
- ESCómo sombrear cada dos líneas en Excel con formato condicional
- PTComo sombrear todas as outras Linha em Excel com formatação condicional
- ITCome ombreggiare ogni altra linea in Excel con formattazione condizionale
- DEHow To Shade jeder zweiten Zeile in Excel mit Bedingte Formatierung
- NLHow To Shade elke tweede lijn in Excel met voorwaardelijke opmaak
- RUКак затенения каждой второй строки в Excel Условное форматирование
- PLJak cieniowania co drugiego wiersza w programie Excel z formatowanie warunkowe
- JAどのように条件付き書式を持つExcelのシェード他のすべての行に
- ARكيفية الظل كل سطر أخرى في Excel مع تنسيق شرطي
- HIकैसे करने के लिए सशर्त स्वरूपण के साथ शेड हर दूसरी लाइन Excel में
- IDCara Naungan Setiap Lini lain di Excel dengan Conditional Formatting