Masum Mahdy

About author

Abu Talha Masum Mahdy (Assistant Project Manager, ExcelDemy) has been working with the ExcelDemy family for over 2 years. He wrote 30+ articles and reviewed more than 1300 others for ExcelDemy. Currently, he is responsible for reviewing articles from 2 writing teams of ExcelDemy. He ensures correctness and fluency in his team write-ups. Mahdy holds a BSc in Naval Architecture and Marine Engineering from BUET. His interests are Project Management, Content Writing, SEO, Digital Marketing, Data Analytics and Data Science.


Assistant Project Manager at ExcelDemy in SOFTEKO.

Lives in

Dhaka, Bangladesh.


B.Sc. in Naval Architecture and Marine Engineering at Bangladesh University of Engineering and Technology.


Project Management, Technical Writing, Creative Writing, Microsoft Excel, Google Workspace.


  • Assistant Project Manager, SOFTEKO (Project ExcelDemy)
As an Assistant Project Manager for our writing team, my role involves supporting the project manager in various tasks. I help with planning, organizing, and coordinating writing projects, ensuring deadlines are met. I also assist in team communication and document management, contributing to the overall success of our projects.
  • Team Leader, SOFTEKO (Project ExcelDemy)
As a former Team Leader for our writing team, my role involved guiding and overseeing our writers' work. I provided direction, assigned tasks, and ensured the team met its goals. I was responsible for fostering collaboration, resolving issues, and maintaining a productive and creative environment for our team to deliver quality written content.
  • Excel And VBA Content Developer, SOFTEKO
Wrote 30+ articles on Excel problems.

Latest Posts From Masum Mahdy

How to Separate First Name Middle Name and Last Name in Excel Using Formula

This article will show how to separate the first name, middle name, and last name using Excel formula. To get a quick view of this, have a look below. ...

How to Delete Blank Rows in Excel?

Imagine a case when you have a set of data in an Excel worksheet, and you see some unnecessary blank rows. No doubt, such unexpected empty rows annoy everyone, ...

Percentage Formula in Excel (6 Ideal Examples)

In Microsoft Excel, we can use different methods to calculate the percentage of a numeric value with a formula. We can apply algebraic calculations or insert a ...

How to Transpose Rows to Columns in Excel (6 Quick Methods)

Transposing data in Microsoft Excel is truly one of the most common tasks performed by Excel users. Indeed, there are many ways for transposing row to column ...

3 Ways to Merge Duplicate Rows in Excel

Merging Duplicate rows in Excel means combining duplicate entries of your Excel data for better presentation and organization. It ensures a clean dataset, ...

How to Sum Rows in Excel (9 Easy Methods)

In Microsoft Excel, the Sum is one of the most common operations we use. There are different techniques to sum up values in multiple rows in excel. Today we ...

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. You are welcome Rahul 🙂

  3. Thanks Nelly for your appreciation.

  4. You are welcome, G. 🙂

  5. You are welcome, Shekhar! 🙂

  6. Hi James, you have asked this on our forum too. We have answered the question in your thread. Please check it out and let us know if this helps you.

    Best regards.
    Team ExcelDemy

  7. That’s great 🙂

  8. Thanks for your comment, Madison!

  9. Thanks fhasim015! Glad to know that.

  10. You are welcome Kannan!

  11. You are most welcome Alok!

  12. Glad to know, Sandeep!
    ExcelDemy team

  13. Thanks Akash!
    ExcelDemy team

  14. 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)

  15. 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

  16. 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

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

  18. 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

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

  20. 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

  21. 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

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

  23. 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

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

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

  26. 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.

  27. 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]

  28. You are welcome, Surya 🙂

  29. You are welcome, Ahmad 🙂

  30. 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.

  31. You are welcome, Surya! 🙂

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

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

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

  35. 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

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

  37. 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

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

  39. 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.

  40. 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.

  41. 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.

  42. 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!

  43. 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.

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

  45. 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!

  46. 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. 🙂

  47. 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.

  48. 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