Showing posts with label Microsoft Excel-Formula. Show all posts
Showing posts with label Microsoft Excel-Formula. Show all posts

Wednesday, February 12, 2020

How to use the ISBLANK Function in Microsoft Excel?

Brief Introduction

           The Microsoft Excel ISBLANK Function returns TRUE when the cell contains not any value (empty) & returns FALSE when a cell is not empty (Having any type of value).

Purpose:

Test if a cell is empty or not.

Syntax of ISBLANK Functions:

The syntax of ISBLANK Function in Excel is as follows;

  • =ISBLANK(value)


Return value:

TRUE or FALSE (Logical value)

Arguments:

  • Value – To check the value of a specific cell.




You can download free the Complete Practice of Concern Topic of Microsoft Excel File, Click on the below download icon,

  

          
              This article explains in simple terms how to use ISBLANK Function during multiple criteria. It takes a step-by-step approach, & following below contents we will touch in this post.

  1. Microsoft Excel ISBLANK Function explanation through various examples.


Let’s start to learn something new about the ISBLANK Function of Microsoft Excel.

1.  Microsoft Excel ISBLANK Function - Example 1.
          
        Microsoft Excel ISBLANK Function returns TRUE when a cell contains not any value (empty) & returns FALSE when a cell is not empty (Having any type of value), as we explain this function through a given below example,

Explanation: - In this example we have taken different values like Text, Numbers, Date, question marks?, percentage, empty cells & the last "C" column contains the formula that how we can use the ISBLANK Function to get our specific return. As we see that the cell "C6" contains the ISBLANK Function & "B6" is our given information, so we want to check or find out that is there the cell "B6" empty or having any value, when we use the ISBLANK Function as you see, the return is TRUE, it means that cell "B6" is empty (Blank) & having not any value, while other results are FALSE, they having some reasons, so read the note section.

In this scenario, we have used a formula like below,
=ISBLANK(B6)

Example 2.

          If in the case when we use the IF & ISBLANK Functions jointly then see their result in below example, 

Explanation: - In this example we have taken the information like Start from, End & the last "D" column contains the formula that how we can use the combo of IF & ISBLANK Functions to get our specific return. As we see that the cell "C7" contains the combo of IF & ISBLANK Functions & "B7 & C7" are our given information, so we want to check or find out that according to formula, if in column C any cell in range of "C3:C11" is empty then the answer will be TRUE, otherwise, it works according to given criteria cell "C-B", so as the selected cell "D7" return TRUE because of the cell "C7" is empty.

In this scenario, we have used a formula like below,
=IF(C7<>"", C7-B7,ISBLANK(C7))

Example 3.
  
         If in the case when we use the IF, OR & ISBLANK Functions jointly then see their result in below example,

Explanation: - In this example we have taken the information of a School result, which contains the information about ID Numbers, Student Name, Marks & the last "E" column contains the formula that how we can use the combo of IF, OR & ISBLANK Functions to get our specific return. As we see that the cell "E7" contains the combo of IF, OR & ISBLANK Functions & "B7, C7  & D7" are our given information, so we want to check or find out that according to formula, if in column C or in column D any cell in range of "C3:D11" is empty then the answer will be Fail, otherwise it return the answer as "Pass", so as the selected cell "E7" return "Fail" because the cell "D7" is empty (Qasim Ali having no Marks therefore he is Failed).

In this scenario, we have used a formula like below,
=IF(OR(ISBLANK(C7),ISBLANK(D7)),"Fail","Pass")






Tuesday, February 11, 2020

LEN, SEARCH & TRIM Functions in Microsoft Excel

Brief Introduction

            Microsoft Excel LEN, SEARCH & TRIM Functions are mostly used to find out the length of text, location of the text string inside another text & for removing the extra spaces within the text.
        
        The Microsoft Excel LEN function returns the length of a given text as by the number of characters & also count the character in numbers.
       
         The Microsoft Excel SEARCH function returns the location of a specific text portion inside another text. This function shows us the position of text & also allows wildcards (*,?).
    
         The Microsoft Excel TRIM function is used to remove the extra spaces, leaving only one space between words & no space in the start or at the end of the text.

Purpose:

To find out the length of text, location of text string inside another text & for removing the extra spaces within the text.

Syntaxes of LEN, SEARCH & TRIM Functions:

The syntaxes of LEN, SEARCH & TRIM Functions in Excel are as follows;

  • =LEN(text)
  • =SEARCH(find_text, within_text, [start_num])
  • =TRIM(text)


Return value:

Number of Characters, location of text & removing extra spaces.

Arguments:

  • Text - The text for which we want to calculate length & remove extra spaces.
  • Find_Text – Specific portion of text to find out.
  • Within_Text – The text to search within.
  • Start_Num – (optional) Starting position in the text to search, while the default is 1.




You can download free the Complete Practice of Concern Topic of Microsoft Excel File, Click on the below download icon,
   

          
              This article explains in simple terms how to use LEN, SEARCH & TRIM Functions. It takes a step-by-step approach, & following the below contents, we will touch in this post.

  1. Microsoft Excel LEN Function explanation through example.
  2. Microsoft Excel SEARCH Function explanation through example.
  3. Microsoft Excel TRIM Function explanation through various examples.


Let’s start to learn something new about the LEN, SEARCH & TRIM Functions of Microsoft Excel.

1.  Microsoft Excel LEN Function.

             Microsoft Excel LEN Function returns the length of a given text as by a number of characters & also count the character in numbers, So now we explain LEN Function through example, as shown in below example,

Explanation: - In this example we have taken the information of a company chart of accounts, from "Row 2" to "Row 11" which contains the information of Budget Code, Description & the last "D" column contains a formula that how we can use the LEN Function to get our specific return. As we see that the cell "D8" contains the LEN Function & "B8 & C8” are our given information, so we want to check or find out the number of characters in cell "C8", when we use the LEN Function, it returns in cell "D8" the answer is 8, while we see that the text "stove" have five characters but the result is 8, actually 3 other spaces available in cell "C8" instead of characters.              

In this scenario, we have used a formula like below,
=LEN(C8)


2. Microsoft Excel SEARCH Function.

         Microsoft Excel SEARCH Function returns the location of a specific text portion inside another text. This function shows us the position of text & also allow wildcards (*,?), so now we explain SEARCH Function through example, see the below example,

Explanation: - In this example we have taken the information of a company chart of accounts, from "Row 2" to "Row 11" which contains the information of Find Characters, Description, Start from & the last "E" column contains a formula that how we can use the SEARCH Function to get our specific return. As we see that the cell "E7" contains the SEARCH Function & "B7, C7 & D7” are our given information, so we want to check or find out the "V?" characters inside the cell "C7", when we use the SEARCH Function, it returns in cell "E7" the answer is 8, while we see that in the text "Microwave Oven" the first "V?" characters are available after 8 characters. The symbol of "?" is wildcard which represents a variable character.

In this scenario, we have used a formula like below,
=SEARCH(B7,C7,D7)

3. Microsoft Excel TRIM Function - Example 1.

      Microsoft Excel TRIM Function is used to remove the extra spaces, leaving only one space between words & no space in the start or at the end of the text, so now we explain TRIM Function through various examples, see the below examples,

Explanation: - In this example we have taken the information of a company chart of accounts, from "Row 2" to "Row 11" which contains the information of Budget Code, Description & the last "D" column contains formula that how we can use the TRIM Function to get our specific return. As we see that the cell "D6" contains the TRIM Function & "B6 & C6" are our given information, so we want to remove extra spaces from cell "C6" when we use the TRIM Function, it returns in cell "D6" the answer is "Television", while we see that the text "  Television" in cell "C6" have two space in the start of a word, so TRIM Function removed the extra space from the start of a word.

In this scenario, we have used a formula like below,
=TRIM(C6)

Example 2.

         If in the case when the text has so many spaces between the words, so then see the magic of TRIM Function in the below example, 

Explanation: - In this example we see that from "Row 2" to "Row 11" which contains the information of Budget Code, Description & the last "D" column contains a formula that how we can use the TRIM Function to get our specific return. As we see that the cell "D9" contains the TRIM Function & "B9 & C9" are our given information, so we want to remove extra spaces from cell "C9", when we use the TRIM Function, it returns in cell "D9" the answer is "Water Cooler", while we see that the text in the cell "C6" is like this " Water              Cooler" which have so many spaces between the words, so TRIM Function removed the extra space from between two words.

In this scenario, we have used a formula like below,
=TRIM(C9)

Example 3.

         If in the case when the text have line breaks & spaces at the same time, so then see how we use the TRIM Function in the below example,

Explanation: - In this example we see that from "Row 2" to "Row 11" which contains the information of Budget Code, Description & the last "D" column contains formula that how we can use the TRIM Function to get our specific return. As we see that the cell "D5" contains the TRIM Function & "B5 & C5" are our given information, so we want to remove line breaks & extra spaces at same time from cell "C5", when we use the TRIM Function, it return in cell "D5" the answer is " Water & Cooler", while we see that the text have a line breaks in cell "C6" & having also extra spaces, so TRIM Function removed the line breaks & the extra space from cell "C6".

In this scenario, we have used a formula like below,
=TRIM(C5)


COUNT, COUNTIF & COUNTIFS Functions in Microsoft Excel

Brief Introduction

           Microsoft Excel COUNT, COUNTIF & COUNTIFS Functions are mostly used to count the cells, range, one or multiple criteria, these functions used the logical operator & wildcards (*,?) for partially matching.
          
         The Microsoft Excel COUNT Function is the most popular member of the counting cells or ranges (which contains the numerical data) functions family. It comes in handy when we have to count cells or ranges which contain the numerical data, those cells which contain text etc. aren’t considered in counting.
          
         The Microsoft Excel COUNTIF Function is also one of the member of the counting cells or ranges based on one criteria functions family, this one criteria may be date, text, number or other condition & it also support the logical operator & wildcard (*,?) for partially matching.
       
       As well as COUNT & COUNTIF Functions, the Microsoft Excel COUNTIFS Function is another most popular counting cells function, which based on multiple criteria, these multiple criteria maybe dates, texts, numbers or other conditions & it also support the logical operator & wildcard (*,?) for partially matching.

Purpose:

To count the cells, ranges, one or multiple criteria.

Syntaxes of COUNT, COUNTIF & COUNTIFS Functions:

The syntaxes of COUNT, COUNTIF & COUNTIFS Functions in Excel are as follows; 

  • =COUNT(value1, [value2],…)
  • =COUNTIF(range, criteria)
  • =COUNTIFS(criteria_range1, criteria1, …)


Return value:

The number of times criteria are met.

Arguments: 

  • Value – numerical figure in one or multiple cells.
  • Range - The range of cells for evaluation.
  • Criteria - The criteria which we apply on the range.


Logical operators

          When you are using a test with Microsoft Excel COUNTIF & COUNTIFS Functions, we can use any of the following logical operators:

Comparison operator
Meaning
Example
=
equal to
A1=D1
> 
greater than
A1>D1
>=
greater & or equal to
A1>=D1
< 
less than
A1<d1
<=
less than & or equal to
A1<=D1
<> 
not equal to
A1<>D1



You can download free the Complete Practice of Concern Topic of Microsoft Excel File, Click on the below download icon,
   

          
          This article explains in simple terms how to use COUNT, COUNTIF & COUNTIFS Functions. It takes a step-by-step approach, & following the below contents, we will touch in this post.

  1. Microsoft Excel COUNT Function explanation through various examples.
  2. Microsoft Excel COUNTIF Function explanation through example.
  3. Microsoft Excel COUNTIFS Function explanation through example.


Let’s start to learn something new about the COUNT, COUNIF & COUNTIFS Functions of Microsoft Excel.                

1.  Microsoft Excel COUNT Function - Example 1.

         Microsoft Excel COUNT Function is used to count cells or ranges which contains the numerical data, those cells which contains text etc. aren’t consider in counting, so now we explain COUNT Function through various examples, as shown in below example,

Explanation: - In this example we have taken the information of a company which have A to I Projects, from "Row 2" to "Row 11" which contains the information of Project Names, Start day, End day, Progress & the last "F" column contains a formula that how we can use the COUNT Function to get our specific return. As we see that the cell "F8" contains the COUNT Function & "B8, C8, D8 & E8” are our given information, as we see that cell "B8" contains text, cell "C8" Contains the numerical figure & cells "D8" and "E8" are haven’t contained any data, so according to COUNT Function the result is "1" because in the selected range only one cell contains the numerical data.                

In this scenario, we have used a formula like below,
=COUNT(B8:E8)

Example 2.

               If in the case when we use COUNT Function vertically, so then see the below example,

Explanation: - In this example we see that from "Row 2" to "Row 11" which contains the information of Project Names, Start day, End day, Progress & the last "Row 13" contains formula that how we can use the COUNT Function to get our specific return. As we see that the cell "C13" contains the COUNT Function & "C3:C11” are our given information, as we see that cells "C4 & C7" are haven’t contained any data while other cells Contain the numerical figures, so according to COUNT Function the result is "7" because in selected range "C3:C11” only 7 cells contains the numerical data.

In this scenario, we have used a formula like below,       
=COUNT(C3:C11)

2. Microsoft Excel COUNTIF Function.

          Microsoft Excel COUNTIF Function is used to count cells or ranges based on one criteria, this one criteria maybe a date, text, number or other condition & it also support the logical operator & wildcard (*,?) for partially matching, see the below example,

Explanation: - In this example we have taken the information of a School monthly receipt of the fee record, from "Row 2" to "Row 11" which contains the information of Month, Student Name, Father Name, Fee Paid & the last cell "H6" contains a formula that how we can use the COUNTIF Function to get our specific return. As we see that the cell "H6" contains the COUNTIF Function, "C3:C11" is our range & "G6” is our given criteria, as we see that our criteria meet four times in selected range, so according to COUNTIF Function the result is "4" because in selected range the criteria "Mohammad" meet four times.

In this scenario, we have used a formula like below,

=COUNTIF(C3:C11,G6)


3. Microsoft Excel COUNTIFS Function.

          Microsoft Excel COUNTIFS Function is used to count range based on multiple criteria, these multiple criteria may be dates, texts, numbers or other conditions & it also supports the logical operator & wildcard (*,?) for partially matching, as shown below example, 

Explanation: - In this example we see that from "Row 2" to "Row 11" which contains the information of Month, Student Name, Father Name, Fee Paid & the last cell "I6" contains formula that how we can use the COUNTIFS Function to get our specific return. As we see that the cell "I6" contains the COUNTIFS Function, "C3:C11" & "D3:D11" are our two ranges & "G6” & "H6” are our given criteria, as we see that our criteria meet Five times in selected ranges, so according to COUNTIFS Function the result is "5" because in selected ranges the criteria "Mohammad" & "Hashim" meet five times.

In this scenario, we have used a formula like below,
=COUNTIFS(C3:C11,"Mohammad",D3:D11,H6)


COLUMN & COLUMNS Functions in Microsoft Excel

Brief Introduction

           The Microsoft Excel COLUMN & COLUMNS functions are Lookup or Reference functions, which are useful for look up and providing the column number of a given cell reference or range.
           
       The Microsoft Excel COLUMN function is the most popular member of the Reference functions family. This function is useful for lookup & providing the column number of a specific cell reference.
        
         As well as COLUMN Function, the Microsoft Excel COLUMNS function is another important reference function that is used to receive an Excel range or reference of specific cell and returns the number of columns that are contained within the range or specific cell.

Purpose:

To providing the column number of a given cell reference or range.

Syntaxes of COLUMN & COLUMNS Functions:

The syntaxes of COLUMN & COLUMNS Functions in Excel are as follows; 
  • =COLUMN([reference])
  • =COLUMNS(array)


Return value:

The number of reference or range.

Arguments:

  • Range - The range of cells of which we want to find out the number of columns.
  • Reference – The cell or range of cells.
  • Array - An array or array formula, or a reference to a range of cells for which we want to find out the numbers of columns.




You can download free the Complete Practice of Concern Topic of Microsoft Excel File, Click on the below download icon,
   

          
          This article explains in simple terms how to use COLUMN & COLUMNS Functions. It takes a step-by-step approach, & following the below contents, we will touch in this post.

  1. Microsoft Excel COLUMN Function explanation through various examples.
  2. Microsoft Excel COLUMNS Function explanation through various examples.


Let’s start to learn something new about the COLUMN & COLUMNS Functions of Microsoft Excel. 

1.  Microsoft Excel COLUMN Function - Example 1.

            Microsoft Excel COLUMN Function is used to look up and providing the column number of a given cell reference or range, so now we explain COLUMN Function through various examples, let’s see the below example,

Explanation: - In this example we have taken the information, in which from "Row 2" to "Row 11" which contains the information of Reference, Function Used & the last "D" column contains a formula that how we can use the COLUMN Function to get our specific return. As we see that the cell "D6" contains the COLUMN Function & "B6 & C6” are our given information, so we have selected the cell "D6" & " () " it means that we have not provided any reference but actually, the selected cell has the reference of D6, so the Column "D" number is "4" which is the exact answer.               
In this scenario, we have used a formula like below,
=COLUMN()

Example 2.

            If in the case when we use the combo of three functions like SUM, INDEX & COLUMN, so then see the magic of COLUMN Function in the below example,

Explanation: - In this example we see that the "B3:B10" contains the handing of column "C3:C10" & "D3:D10" information or in other words Column 1 & Column 2 is information provided & the combo function is used in "F3:M3" range, through this combo functions we want to sum the Column 1 & Column 2 respectively in the range of "F3:M3", As by using the combo function in selected cell "H3", we find out that this function sum the 3+3 = 6, which is the exact answer.

In this scenario, we have used a formula like below,       
=SUM(INDEX($C$3:$D$10,COLUMN(H3)-COLUMN($E3),0))

2. Microsoft Excel COLUMNS Function - Example 1.

           Microsoft Excel COLUMNS Function is used to return the number of columns that are contained within the range, so now we explain COLUMNS Function through various examples, so see the below example,

Explanation: - In this example we see that from "Row 2" to "Row 11" which contains the information of Reference, Function Used & the last "D" column contains a formula that how we can use the COLUMNS Function to get our specific return. As we see that the cell "D8" contains the COLUMNS Function & "B8 & C8” are our given information, so we have selected the cell "D8" & "(1:1)" it means that the whole ROW # 8 is selected, so I am using Microsoft Office 2013 Version & this version have total 16,384/ Cells in Row # 8, if you use this function in other office versions, maybe the result very with this one.

In this scenario, we have used a formula like below,
=COLUMNS(1:1)

Example 2.

         If in the case when we want to check the number of columns in a specific range, so then see the below example,

Explanation: - In this example we see that from "Row 2" to "Row 11" which contains the information of Reference, Function Used & the last "D" column contains formula that how we can use the COLUMNS Function to get our specific return. As we see that the cell "D7" contains the COLUMNS Function & "B7 & C7” are our given information, so we have selected the cell range of "B4:H11", as the result is 7, actually if we count alphabet from "B to H", the result will be 7 number of Columns.

In this scenario, we have used a formula like below,
=COLUMNS(B4:H11)