USE

Опубликовано: 20 Март 2026
на канале: TheDataScientist
213
5

You can easily shade every third #COLUMN of a table or dataset using Microsoft #excel's MOD and #COLUMN functions. These functions are used together to determine which cells to shade based on their position in the table and to apply a shading format to those cells. It can be a useful tool to visualize data and make it easier to understand and analyze.

The #excel MOD function is used to return the remainder of a division calculation. This is useful for determining whether or not a number is divisible by another number.If you shade every third #COLUMN, you can use the MOD function to determine if the #COLUMN number is divisible by three. When the calculation result is zero, the #COLUMN number is divisible by three and can be shaded.

The #excel #COLUMN function returns the #COLUMN number of a specified cell. This can be useful for determining the position of a cell in a table. Along with the MOD function, you can use the #COLUMN function to determine whether a given cell is in a #COLUMN that needs to be shaded.

To hide every third #COLUMN in #excel, you need to create a conditional formatting rule. This rule determines which cells to shade based on the result of the MOD and #COLUMN functions. To create this rule, do the following:

Select the cells you want to shade.
Go to the Home tab of the ribbon and click the Conditional Formatting button.
Select New Rule from the drop down menu.
Select "Use a formula to determine which cells to format".
Enter the following formula in the formula field: =MOD(#COLUMN(),3)=0
Click the Format button to choose the shadow format you want to apply to the cells.
Click OK to close the Format Cells dialog box.
Click OK to close the New Formatting Rule dialog box.
The conditional formatting rule is now applied to the selected cells and every third #COLUMN is shaded.The formula used in the rule =MOD(#COLUMN(),3)=0 determines whether the #COLUMN number in a cell is divisible by three. If so, the cell will be shaded.

Note that this method only works to shade every third #COLUMN of the table. If you want to shade every nth #COLUMN, you need to change the formula to =MOD(#COLUMN(),n)=0, where n is the number of #COLUMNs you want to shade.
In summary, you can easily obfuscate every third #COLUMN of a table or data set using the MOD and #COLUMN functions in #excel in combination with conditional formatting.It can be a useful tool to visualize data and make it easier to understand and analyze. Whether you're working with a small or large dataset, using these functions can help you better understand and understand your data.

Statistics With Excel and python Part 1 Excel Tutorial of Statistics for Beginner & Professionals -    • Statistics With Excel and python Part 1   ...  
Excel Calculate Number of days between 2 dates: Excel #shorts for beginners tutorial tutoring-    • Excel Calculate Number of days between 2 d...  
Excel VLOOKUP Function #shorts Excel Functions and Formulas For Beginners -    • Excel VLOOKUP Function #shorts Excel Funct...  
Excel XLOOKUP Function #shorts - Excel Functions and Formulas - Excel Tutorial For Beginner -    • Excel XLOOKUP Function #shorts - Excel Fun...  
Excel Proper Function: Convert First Character To Upper Case -    • Excel Proper Function: Convert First Chara...  
Excel Basics For Beginners - Excel Tutoring    • Master #Excel Beginner Crash Course: Learn...  
How To Read multiple excel files data from folder and subfolders with Python -    • How To Read multiple excel files data from...  
How to Convert Miles To Kilometers in Excel - Excel Tutorial #shorts -    • How to Convert Miles To Kilometers in Exce...  
Upper Function in Excel: Make Data in Capital Letters    • How to Write Data in excel with to_excel M...  
Excel Trips, Tricks and Shortcuts:    • Most Frequently Used Excel Tricks, Tips an...  
Create Pivot Table with the help of Excel VBA:    • From Beginner to Pro: Mastering Excel Pivo...  
Excel VBA For..Next Loop and Control Statements:    • Excel VBA - FOR...NEXT Loop - Tutorial Com...  
Why should you learn VBA Before Python:    • Don't Ignore | Why You Must Learn #Excel #...  

CONTACT: [email protected]