How to Highlight Odd and Even Number in Excel

Описание к видео How to Highlight Odd and Even Number in Excel

How to Highlight Odd or Even Numbers in Excel
In this intermediate excel tutorial I’ll show you how to mark odd and even numbers from a date list in Microsoft Excel. I’ll be using formula and conditional formatting to solve this. Let’s follow the procedure below and you’ll be able to highlight odd and even numbers.

Similar Videos:
How to apply color banded rows or columns in excel:    • How to apply color banded rows or col...  
How to Highlight Odd or Even Days in Excel:    • How to Highlight Odd or Even Days in ...  
How to Highlight the Odd or Even Months in Excel:    • How to Highlight the Odd or Even Mont...  
How to Highlight Odd and Even Year in Excel:    • How to Highlight Odd and Even Year in...  

Highlight Odd Numbers:
Here our formula will be =MOD($A1,2) that we will be using inside Conditional Formatting.
Let's break down the formula =MOD($A1,2):
$A1: This refers to cell A1. The $ sign before the column letter and row number makes the reference absolute, which means that when you copy the formula to other cells, it will always refer to column A.
MOD(): This function calculates the remainder of a division operation. It takes two arguments: the number you want to divide and the divisor.
MOD($A1,2): This part of the formula divides the Number extracted from cell A1 by 2 and returns the remainder. So, if the Number is odd, the remainder will be 1; if the Number is even, the remainder will be 0.
Now 1 = True and 0 will be False is a universal rule and we will be using this in the conditional formatting and thus highlight odd Numbers in Excel.

Highlight Odd Number using Conditional Formatting:
Step 1: Select the range where you have numbers and need to highlight.
Step 2: From the “Home” tab click on “Conditional Formatting” and then “New Rule”
Step 3: Click on “Use Formula to Determine Which Cells to Format” and Paste the Formula inside the box. For odd numbers the formula will be =MOD($A1,2)
Step 4: Now click on format and Select your preferred formatting.
Step 5: Click ok and ok again
Done. You have successfully formatted all the odd numbers inside your selection.

Now what if you need to highlight all the Even Numbers?
You need to change the formula a bit. If we reverse the result in the previous formula it will work. To do that we can use the NOT function to wrap the above formula. NOT function converts True to False and False to True and thus 0 to 1 and 1 to 0. This will now help us to reverse the formula above.
So, if you need to highlight all the Even number follow the exact procedure and just use this formula =NOT(MOD($A1,2)) inside conditional formatting instead of above one.

#Highlight #OddEven #Numbers

Thanks for watching.
----------------------------------------------------------------------------------------
Support the channel with as low as $5
  / excel10tutorial  
----------------------------------------------------------------------------------------
Please subscribe to #excel10tutorial
https://goo.gl/uL8fqQ

Here goes the most recent video of the channel:
https://bit.ly/2UngIwS

Playlists:

Excel Tutorial for Beginners: https://goo.gl/UDrDcA
Intermediate Excel Tutorial: https://tinyurl.com/59a837py
Advance Excel Tutorial: https://goo.gl/ExYy7v
Excel Text Case Conversion Techniques: https://goo.gl/xiP3tv
Combine Workbook & Worksheets: https://bit.ly/2Tpf7DB
All About Comments in Excel: https://bit.ly/excelcomments
Excel VBA Programming Course: http://bit.ly/excelvbacourse
ChatGPT Excel Mastermind: https://tinyurl.com/46kn7tmd

Social media:
Facebook:   / excel10tutorial  
Twitter:   / excel10tutorial  
Blogger: https://excel10tutorial.blogspot.com
Tumblr:   / excel10tutorial  
Instagram:   / excel_10_tutorial  
Hubpages: https://hubpages.com/@excel10tutorial
Quora: https://bit.ly/3bxB8JG
Website: https://msexceltutorial.com/ Become a member and enjoy exclusive perks while supporting the channel you love!
   / @excel10tutorial  

Комментарии

Информация по комментариям в разработке