User Posts: Masum Mahdy
How to Plot Cumulative Histogram in Excel (with Easy Steps)

A histogram is one kind of graph which we use to show frequency distribution within some prespecified ranges. These data ranges are called ‘bins’. The ...

How to Create Dynamic Range Using Excel INDEX Function

Creating a named range in Excel is an easy task. But, if you want to make the named range dynamic so that whenever you add new data, the named range will ...

How to Do Multidimensional Scaling in Excel (with Detailed Steps)

Multidimensional Scaling is a way to visually present the similarity between objects (brands, product attributes, etc.) in a 2-dimensional scale, i.e. a ...

How to Perform Linear Extrapolation in Excel (with Easy Steps)

Extrapolation is known as extending a current trend into the future or applying sample study findings to the entire population. In this article, we will show ...

How to Separate Odd and Even Numbers in Excel (6 Handy Ways)

This article will show how to separate odd and even numbers in Excel. In addition to that, we will also see how to filter odd and even numbers and see them by ...

How to Fill Odd Numbers in Excel (5 Suitable Examples)

This article will show 5 examples of how to fill in odd numbers in Excel. Download Practice Workbook Before we start, please download the practice ...

Can Excel DGET Return Multiple Records [See 4 Solutions]

The DGET function in Excel is a database function and is designed to return only one record. In case you have multiple matches and need to return multiple ...

How to Use Excel DGET with Dynamic Criteria (with Precise Steps)

Have you ever wondered how to apply the DGET function of Excel for multiple dynamic criteria? The DGET function of Microsoft Excel is one of the database ...

How to Make Thermometer Graphic for Excel (with Detailed Steps)

Thermometer graphic in Excel gives the perception of targeted percentage vs. obtained percentage. We can use this graphic chart to show the progress of a ...

How to Calculate Mean Squared Error in Excel (3 Easy Methods)

In this article, I will show how to calculate Mean Squared Error in Microsoft Excel with quick steps and clear illustrations. In practical life, we may have ...

How to Construct 3D Drawing in Excel (3 Suitable Examples)

Wonder how to make a 3D drawing in Excel? You are in the right place! In this article, I have discussed how to construct a 3-dimensional drawing in Microsoft ...

How to Do Bookkeeping for Small Business in Excel (Step-by-Step)

This article will show how to do bookkeeping for a small business in Excel. The daily management of your books—ensuring that you're tracking your income and ...

How to Find RegEx Patterns in Excel (2 Suitable Methods)

When it comes to finding one substring in another, Microsoft Excel offers users a number of options, including the Find and Replace tool and a few built-in ...

How to Find x-Intercept in Excel (4 Suitable Methods)

In this tutorial, I will discuss 4 suitable methods to find the x-intercept in Excel. Download Practice Workbook Download the following workbook for ...

How to Convert Complex Numbers to Polar Form in Excel

This article will illustrate how to deal with the Polar form of complex numbers in Excel. Download Practice Workbook You can download the following ...

Browsing All Comments By: Masum Mahdy
  1. Thank you for your compliment, David!
    Please click on the following link for more examples of the INDEX-MATCH combo:

  2. Hi Alex, it is a great pleasure for us to know that you are getting benefits from our content (and referring us to your friends too)!

    Now, your answers:
    1. No, you have to use the ROWS function too. Otherwise, you will not get the correct answer in other cases (your guess is true only for this particular set of data).

    2. Yes. You are right. You have to use the COUNTIFS function. Use the following formula.
    If you have two columns only, remove the $D$5:$D$10,D5 part from the formula, i.e. =COUNTIFS($B$5:$B$10,B5,$C$5:$C$10,C5)
    Now, copy the formula down. The output number will say how many times each row is repeated.


    (ExcelDemy Team)

  3. Dear X,
    Thank you so much for following the article. We can still see the Zoom option in the status bar and in the view tab as the author described in this article. So we cannot fully understand what your specific issue is. Would you please post your problem with a screenshot on our Excel Forum?
    -ExcelDemy Team

  4. Hi Anil, here is an easier and shorter formula for you. (FILTER function is available from Excel 2019)
    Do the following to your desired list.
    >> Write “God” in cell F4 and “Human” in cell G4.
    >> Copy the above formula and paste it into cell F5 (it will list God Names)
    >> Similarly generate the Human Names. Just use G4 instead of F4 in the given formula.

    Can you visualize what to do? Please let us know if this helps.
    -ExcelDemy Team

  5. Hi Shimrit, you are most welcome! We are glad to hear that it worked for you.
    -ExcelDemy Team

  6. Hi Haley,
    We have updated the Excel workbook and added a new raw worksheet. So now you can practice from scratch. Stay with us always.
    -ExcelDemy Team
    Download File Link:
    Practice Workbook

  7. You may find this formula useful.
    Just instead of B2:S2, put your own cell range.
    -ExcelDemy Team

  8. Hi ROD, we are really sorry for your experience, there is no Excel formula to move data from one cell to another actually. So we have revised the whole write-up. Thanks for your (Bill too) valuable feedback. We hope you will be with us in the coming days as well.
    -ExcelDemy Team

  9. Dear HEATHER, I guess you are facing the same problem as HANNAH. But we have rechecked the code, and applied it again, but have found no issue.
    Can you please send us your problem with specific details? Here is our address: [email protected]
    We have added the code explanation. Have a look at it and let us know if it can do any help regarding your problem. But the best will be to send your problem in detail with your Excel file. Thanks and regards.
    -ExcelDemy Team

  10. Hi Don. Thanks for letting us know about this. 🙂 We have updated the blog post. Regards
    -ExcelDemy Team

  11. Hi JIM, we are really sorry if these methods cannot help you. Yes, we agree with all of you that empty strings and blank cells are not the same in Excel. We have tried to show some ways to set cells to “seemingly blank” using Excel formulas.
    Now, if you need to set cells to absolutely empty (nothing inside cells), sorry Excel formula cannot help you in this regard. But if seemingly blank is enough for you, these formulas work properly.
    If you have a specific case, where you need to set cells to truly blank, then let us know at [email protected] with your problem-details and Excel file. We will definitely try to help.
    Best regards.
    -ExcelDemy Team

  12. You are welcome, Henry. Yes, it’s possible. Please share your problem with details at [email protected]

  13. Hi AVINASH. Check your email for a sample file. I have used the INDIRECT function with the Data Validation command to make it.

  14. Hi GABOR! Please click on the following link to get a code that will help you to save selected worksheets in the list as PDF files in a suitable location.

    Note that, you have to go through the first two steps of the first example in the given article. Then you can apply the code there. (We have mentioned it there also.)
    Stay with us. Best regards.

  15. Hi AKSHAY THAKKER! We hope you are well. It’s been 6 years since you posted this query here. We are extremely sorry for being so late in responding. Hope you would have had a solution to your problem somewhere by now. However, we are providing a solution to your question hoping that other readers might find it useful.
    For example, we have created a 10×10 array using the following formula.


    Look at the following image.

    You must do two things before applying the formula.
    First, place the numbers in the first row (row 1, i.e. row of A1) serially, and second, place them serially down the first column (column A). You can place them elsewhere, but in that case, you have to change the cell references in the array formula accordingly.
    You can create any square array with your desired sequence (1,1,1,1;2,2,2,0;3,3,0,0;4,0,0,0) having any square dimension. However, if you want to change the sequence, you have to change the formula a bit.
    Tip: Look into the greater than logic in the formula. You have to make the change here to create other sequences.

    If there is any query, please let us know. You can also send us your problem at this address: [email protected]

  16. You are welcome, Surya 🙂

  17. You are welcome, Ahmad 🙂

  18. Hello Jay, thanks for your nice words. Please visit our blog for more array posts! We have written more posts like this time by time.

  19. You are welcome, Surya! 🙂

  20. Thank you so much, Ferreira. Visit our blog and explore more!

  21. Hi Bill Coriell! Sorry for being late in reply. Maybe you were asking for the following article.
    With regards
    -ExelDemy team

  22. Dear pat, sorry for replying late. Please send your file to [email protected] so that we can help. Thanks for commenting.

  23. We are extremely sorry Hannah W. to know that you have faced this difficulty in applying our provided code! We have added the code explanation. Is your problem solved? Please let us know.
    With regards
    -ExcelDemy team

  24. The code is perfectly working from our end, Goel! Can you please send your problem to this email: [email protected]?

  25. Hi STACY! Thank you very much for your comment and appreciation. You can follow this article regarding your issue.
    If this doesn’t help, please let us know. You can also send your problem with your Excel file to this email address: [email protected]
    Thanks again for being with us.
    With regards
    -ExcelDemy team

  26. You are welcome, Ruben! Please share your thoughts with us, too. Regards.

  27. Hi Pete, you are right! Variance= ABS(new value-original value)/original value is the correct one.
    We are really grateful for your precious feedback. We have updated the Excel file and main content accordingly.

    Best Regards.
    -ExcelDemy team.

  28. Hi Deepak!
    The following formula can match two criteria and return multiple matches:
    =INDEX($E$2:$E$14, SMALL(IF(COUNTIF($G$2, $C$2:$C$14)*COUNTIF($H$2, $D$2:$D$14), ROW($A$2:$E$14)-MIN(ROW($A$2:$E$14))+1), ROW(A1)), COLUMN(A1))
    $E$2:$E$14= Column to return matches
    $G$2 and $H$2= Criteria 1 and 2
    $C$2:$C$14 and $D$2:$D$14= The columns of main data respective to criteria 1 and 2
    In a similar way, you can add any number of criteria.

    Thank you for being with us.

  29. Hi MAHENDRA TRIVEDI! You can use the following formula to compare two columns and return multiple matches in a single cell:
    A5:A15= Range for matching criteria
    B5:B15 = Range of the values to return
    D5= Lookup value
    TRUE ignores all the empty cells.

    Check the 3rd case of the following article to know more details.

    Thanks for being with us. Best regards.

  30. Hi CLÉMENTINE! You have to select the newly added data from the filter list first (mark the Select All box for that). Then the filter command will work as usual. Thanks!

  31. Hi Stevoisiak! Hope you are doing well.
    Suppose you have the following name in cell B5.
    Mr. Brian Charles Lara
    To extract all the parts of this name, use the following formulas.

    To separate prefix: =LEFT(B5,SEARCH(" ",B5)-1)
    To separate first name: =MID(B5,SEARCH(" ",B5)+1,SEARCH(" ",B5,SEARCH(" ",B5)+1)-(SEARCH(" ",B5)+1))

    To separate middle name: =MID(B5,SEARCH(" ",B5,SEARCH(" ",B5,1)+1)+1,SEARCH(" ",B5,SEARCH(" ",B5,SEARCH(" ",B5,1)+1)+1)-(SEARCH(" ",B5,SEARCH(" ",B5,1)+1)+1))
    To separate last name: =RIGHT(B5,LEN(B5)-FIND("^",SUBSTITUTE(B5," ","^",LEN(B5)-LEN(SUBSTITUTE(B5," ","")))))

    You can check the following article too, to know more.

    Best Regards.

  32. Hi DAVID BAKER! Hope you are well!
    This article will help you to highlight specific data in cells.
    Best Regards.

  33. Hi GEOFFREY! Your problem is not quite clear to us. However, if you simply copy and paste the cell contents, the hyperlinks will also be pasted. If this is not what you were expecting, then we would request you to elaborate on your issue. You can also send your Excel file to us through email. Thank you!

  34. We appreciate your nice suggestion, ANTHONY! You can also see the following article to know about all the Paste Options in Excel.

    Thank you for being with us. 🙂

  35. Hi Sara, the macro in #9 works fine on our part. Have you changed the Range(B5:D14) according to your dataset? If you have typed the range correctly, and still the macro is not working for the last row, please let us know.

  36. Hi Rakesh! I hope this formula will do the task for you.


    Here are more ways to extract just numbers from your data.

Advanced Excel Exercises with Solutions PDF