Maruf Islam

About author

MARUF ISLAM is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a superhero tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including ABACUS, AutoCAD, Rhinoceros, Maxsurf, and Hydromax. He got his B.Sc in Naval Architecture & Marine Engineering from BUET, and now he's switched gears, working as a content developer. In this role, he creates techy content all about Excel and VBA. You'll find him reading books, travelling, and enjoying movies and TV series outside work.

Designation

Excel & VBA Content Developer at ExcelDemy in SOFTEKO.

Lives in

Dhaka, Bangladesh.

Education

B.Sc in Naval Architecture & Marine Engineering, BUET.

Expertise

ABACUS, AutoCAD, Rhinoceros, Maxsurf, Hydromax, Excel, Word and PowerPoint

Experience

  • Technical Content Writing
  • Team Management

Latest Posts From Maruf Islam

0
How to Hide Rows Based on Cell Value in Excel (5 Methods)

We have a Sales dataset consisting of columns Order Date, Region, Product, and Quantity. We want to use any of the cell values in the column to hide rows. ...

0
Using an Excel Formula to Rank with Duplicates – 3 Methods

This is the sample dataset. Method 1 - Ranking Duplicates by Using the RANK and COUNTIF Functions The syntax of the RANK function is: ...

1
Creating a Mailing List in Excel (2 Methods)

Let’s say our company name is Marigold Sales, and the address has changed from 7 Oak Valley St., Lakeland, Florida 33801 to Marigold Sales, 71 Glendale Ave. ...

0
How to Link Cell to Another Sheet in Excel (7 Methods)

We have sales data for December’21 for three different cities: New York, Boston, and Los Angeles. They are in separate sheets, but all follow the same format. ...

0
How to Fix If Flash Fill Not Recognizing a Pattern in Excel

  Excel Flash Fill Excel Flash Fill is a feature or tool that analyzes entries when users enter them and fills the data after recognizing a pattern ...

0
How to Remove Both Duplicates in Excel – 5 Methods

After merging data from two worksheets, the dataset contains identical entries or both duplicates: Method 1- Using a Helper Column to Remove Both ...

0
How to Remove Compatibility Mode in Excel (2 Easy Ways)

Opening an Excel file that was originally saved in an older version of Excel (i.e., Excel 1997 to 2003) will require Excel to open the workbook in ...

1
How to Filter Unique Values in Excel (8 Easy Ways)

Let’s say we have three simple columns in an Excel dataset containing Order Date, Category, and Product information. We want the unique ordered products within ...

0
How to Achieve a Calculated Field Sum Divided by Count in a Pivot Table

Below, we have sales in amounts of different cities in a dataset. We want to calculate the average sale amounts of each city with or without imposed ...

0
How to Link Sheets to a Master Sheet in Excel (5 Ways)

Let’s say we have sales data for three different cities, New York, Boston, and Los Angeles. These three are identical in form, so we'll show only one worksheet ...

0
Excel Invoice Tracker: Format and Usage

Managing and keeping track of billing is a daunting task when we use a plain Excel worksheet. Using an Excel Invoice Tracker can ease this task. An Invoice ...

0
COUNTIF vs COUNTIFS in Excel: 4 Methods

Method 1 - Basics of COUNTIF and COUNTIFS Functions COUNTIF Function The COUNTIF function operates with a single range and criterion. ⏩ Apply the below ...

0
What are the Uses of CELL Color A1 in Excel? (3 Examples)

To learn about the CELL COLOR A1 you need to understand the CELL function first. This function returns information about the cell. The syntax of the CELL ...

0
How to Delete Unused Rows in Excel (8 Methods)

Dataset Overview We have a dataset where users input Product Sale data. Somehow users leave unused or blank rows while entering data in the dataset as can be ...

0
How to Use Excel Formulas for Current Time (7 Methods)

Overview Herewith an overview of some of the easiest ways to fetch current time in Excel.   Applying or Changing the Time Format in Excel ...

Browsing All Comments By: Maruf Islam
  1. Welcome @Janice

  2. Greetings Jessica,

    Use the SUMIFS function to impose multiple criteria like Product Category, Product, and Dates to find out the total sales of products (i.e., Chocolate Chip or Carrot).

    For Chocolate Chips =SUMIFS(G4:G17,E4:E17,J4,F4:F17,J5,B4:B17,">="&J6,B4:B17,"<="&J7)

    For Carrot =SUMIFS(G4:G17,E4:E17,M4,F4:F17,M5,B4:B17,">="&M6,B4:B17,"<="&M7)

    Find Sales

    You can also add all the different sales afterward. Hope, this may help you.

    Regards
    Maruf Islam (Exceldemy Team)

  3. Greetings Ahsan Ahmed,

    It’s not clear why you want to use the INDEX-MATCH formula in the first place. However, if I assume you want to use the INDEX-MATCH formula for fetching some matching values, then you want to Add, Subtract, Multiply, or Divide them. You can use the below formula to return the matched values. And afterwards, you can execute any Arithmetic Operations you want.

    =IFERROR(INDEX($D4:$D$9,IF(ISNUMBER(MATCH($B$4:$B$9,$F$6,0)),MATCH(ROW($B$4:$B$9),ROW($B$4:$B$9)),""),ROWS($A$1:A1)),"")

    Execution

    Hope, the formula may satisfy your cravings.

    Regards
    Maruf Islam (Exceldemy Team)

  4. Greetings Dr. Linda Vandergriff,

    Go through the following methods to get rid of the inconvenience. Make sure the value cells are in the Currency or Accounting Number Format.

    1. Manually delete the preceding Apostrophes. Or

    2. Use a formula to auto remove the Apostrophes as shown in the image.

    =NUMBERVALUE(SUBSTITUTE(B2,"'",""))

    Formula

    Feel free to comment if you have further inquiries. We are here to help.

    Regards
    Maruf Islam (Exceldemy Team)

  5. Greetings Jack Kuehne,

    Thank you for your appreciation.
    To make static only one (01) calculated cell value or range values, follow the below steps:

    1. Unlock all cells within the worksheet using the Format Cells window (CTRL+1 or Home > Click Font Setting Icon to open Format Cells window > Protection > Untick Locked) [Shown in the latter image].

    2. Highlight the desired cell or range (you want to keep static no matter what) then Lock them using Step 1 (Tick Locked in the Protection section of Format Cells window).

    3. Go to the Preview tab > Tick Select Locked Cells and Select Unlocked Cells > Enter Password > OK > Re Enter Password.

    Step 2 and 3 represent Method 1 of this article.

    Untick Locked

    Regards
    Maruf Islam (Exceldemy Team)

  6. Greetings Ganesh,

    You can find the delivery date using SUM or a simple Arithmetic Formula, as I used in the following picture.

    =SUM(B3,7*C3 or D3)
    or
    =B8+7*C8 or D8

    Formula

    I hope this solves your seeking. Comment, if you need further assistance.

    Regards
    Maruf Islam (Exceldemy Team)

  7. Greetings Ashif,

    You can manipulate (Hide or Unhide) the Rows of a Protected Worksheet by ticking the Use AutoFilter option under Allow all users of this worksheet to:

    [Go to the Review tab > Protect / Unprotect Sheet > Tick Use AutoFilter > Enter Password > Click OK]

    Hiding Rows in Protected Worksheet

    I hope this may work in your case. Let me know your thoughts in the comment section.

    Regards
    Maruf Islam (Exceldemy Team)

  8. Greetings Julian Chen,

    Sadly, the HYPERLINK function doesn’t support any attachment links in its arguments. You have to use Other Means to attach files. You can use Method 3 of this article to include an attachment.

    Regards,
    Md. Maruf Islam (Exceldemy Team)

  9. Greetings Ramin Janani,

    strCharacter = "("
    endCharacter = ")"

    This part of the macro takes the 1st brackets as characters to trigger the macro to Color Text or Characters within them. Make sure you encompass the text or characters with brackets. I’ve tested the macro in languages other than English and it works.
    Of course, you can change the strCharacter and endCharacter with whatever character (i.e., (),{},[]) you assign to in the macro.

    Regards,
    Md. Maruf Islam (Exceldemy Team)

  10. Greetings Tom,

    You are right. You can calculate the Total Paid or Payable Amount of a loan using PMT*nper or Cumulative Interest + Loan Amount. And the amount will be the same.
    Make sure you enter the Start_period (i.e., minimum 1) and End_period (i.e., within the Total Periods (60)) correctly.

    Total Amount of a Loan

    Regards,
    Md. Maruf Islam (Exceldemy Team)

  11. You are welcomed Jaisinh Chavan. Thanks for your kind words.

    Regards
    Maruf Islam (Exceldemy Team)

  12. Greetings Mani,

    Use the following macro code to copy data (from tables or normal ranges) to the bottom of an existing table (i.e., Table1 or anything).
    The macro fetches an input box to select the preferred range to copy and paste afterward. Change the Worksheet Name (i.e., vba) and Table Name (i.e., Table1) as existing table.

    Sub SelectedDatatoBottom()
    Dim ExistingTable As Object
    Dim mTable As Range
    On Error Resume Next
      Set mTable = Application.InputBox( _
          Title:="Copy Data to Paste to Bottom", _
          Prompt:="Select Cells to Copy", _
          Type:=8)
      On Error GoTo 0
    Set ExistingTable = Worksheets("vba").ListObjects("Table1").ListRows.Add
    mTable.Copy
    ExistingTable.Range.PasteSpecial xlPasteValues
    Application.CutCopyMode = False
    Worksheets("vba").Activate
    End Sub

    Download the Excel file for your better assistance.

    Regards
    Maruf Islam (Exceldemy Team)

  13. Dear Tijs Tijert,

    The used formula shouldn’t react this way. Also, I’m not sure what your data and values are that you used as criteria. Kindly email me your dataset to [email protected]. I’ll try my best to come up with a solution to your problem.

    Regards
    Maruf Islam

  14. Greetings Joseph Clovis,

    The AND and FILTER functions do take cell references to filter and fetch entries that fall under the condition (Date>= T0DAY()-30 <TODAY()) respectively. However, sadly, the Excel Filter feature doesn’t support selecting dates from ranges or entries. All the Filter execution does is that it hides rows, which may lead to inconveniences sometimes. Till now, there has been no alternative to selecting dates from the Filter dialog box options. But you can try Conditional Formatting or VLOOKUP function for highlighting and fetching data. And in those cases, you can use cell references from your dataset.

    1. Conditional Formatting: Highlight Cells or Range > Go to Home > Conditional Formatting > New Rule > Select a Rule Type and Format > OK.

    =AND($B5>=(TODAY()-30),$B5<TODAY())

    Conditional Formatting

    2. VLOOKUP Function: Use TODAY()-30 in any cell, then use the VLOOKUP formula to fetch different entries. In that way, the dataset range remains intact.

    =TODAY()-30
    =VLOOKUP(F5,$B$5:$D$16,2,0)
    =VLOOKUP(F5,$B$5:$D$16,3,0)

    VLOOKUP Formula

    Hope, these ways help you to compensate the Excel Filter caveats. Feel free to comment if the solution doesn’t satisfy your seeking. Our Exceldemy Team is always there to help.

  15. Greetings Indra,

    Thanks for your appreciation.

    The probable causes behind the freezing of Visual window or Excel are:

    1. VBA Macros use device’s single core to run or execute macros.
    2. Large data normally take several minutes to complete any macro-driven outcomes. Therefore, sudden freezing of visual window or Excel is common among users.

    You can use the already used macro (in the article), if it works fine after couple of minutes of freezing or unresponsiveness. Otherwise, email us your Data to get custom macro that may solve the issue (As we don’t have such huge data to test our code with). Also, you can go through:

    1. Divide your data into worksheets then execute the macro individually. Then merge the worksheets into one.
    2. Use other means such as formulas to accomplish the desired outcome.

    Hope, it helps you. Comment if further issues arise.

  16. Hi Taylor,

    # The macro contains conditions against the email sending within a Week prior to the Deadline/Due Date using the following line

    If CDate(xValDateRng) - Date <= 7 And CDate(xValDateRng) - Date > 0 Then
    xValSendRng = XRcptsEmail.Offset(k - 1).Value

    # So, the email will get sent within- 1 day <= Deadline/Due Date <= 7 day or 1 week range prior to the Deadline/Due Date.

    Hope, you find your answer, let us know if further explanation is needed. Our dedicated Softeko Team is always there to help.

  17. Greetings Sepehr,

    Thank you for your appreciation.

    # The answer to your question is “Yes“—it is possible to have the list of products in different columns.

    # Just use the TRANSPOSE function preceding the UNIQUE+XLOOKUP formula. Of course, you have to have Excel 365 to use the XLOOKUP function.

    =TRANSPOSE(UNIQUE(XLOOKUP(B5,B7:D7,B8:D14),,TRUE))

    Product List in Different Column

  18. Hlw Melissa,

    I’m assuming you need to Data Validate multiple selection G7 to H15 (adjacent columns) or whatever the cell is.

    # Modify the 1st IF Condition as ” If Not Intersect(Target, Range(“G7:H15″)) Is Nothing Then ” or Change the ” Range(“G7:H15″) ” portion with Capital Letters. Of course don’t forget to apply Data Validation to those cells first.

    Hope this works. Otherwise, comment with detailed cell references.

    Regards
    Maruf

  19. Hlw Kim, Sorry for being late.

    # Excel Pivot Table normally considers multiple items within a cell as “1”. Therefore, multiple selection within a cell doesn’t have any effect on count. However, conditional counting may have different issue.

  20. Hlw Reena Pujari. Sorry for late reply.

    To apply macro to all cells in the same column, follow:

    1. Apply “Data Validation” to all the cell of a column (Highlight Entire Column > go to “Data” > apply “Data Validation”)

    2. Replace ” If Target.Address = “$D$4″ Then ” line within the macro (with repetition or without repetition) with ” If Not Intersect(Target, Range(“D:D”)) Is Nothing Then “.

  21. Hlw Avery, Sorry for late reply.

    To duplicate this for more than 1 multiple select list option:

    # Replace ” If Target.Address = “$D$4″ Then ” line within the macro (with repetition or without repetition) with ” If Not Intersect(Target, Range(“D4:D5”)) Is Nothing Then “.

    Note: You can have multiple Source ranges assigned for “Target.Address” s using Data Validation.

  22. Thanks for your appreciation @Ed

  23. You can exclude or ignore the blanks using 2 simple tricks.
    1. Use an additional formula in conditional formatting. Go to conditional formatting > New Rule option > select Format Only Cell that contains rule type > Select Blanks from edit rule description > Keep Cell format as no cell format. Click OK.
    2. Go to Conditional formatting > New Rule option> Select Use a formula to determine which cell to format rule type > type “=ISBLANK(Cell Reference)=TRUE” in the Edit the Rule description box > Keep Cell format as no cell format. Click OK.

    Hope these tricks work for you.

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo