Comments for ExcelDemy https://www.exceldemy.com/ Excel Training, Services, Free Tutorial, Forum, Templates Mon, 19 Feb 2024 04:20:50 +0000 hourly 1 https://wordpress.org/?v=6.4.3 Comment on How to Leave Cell Blank If There Is No Data in Excel (5 Ways) by Shamima Sultana https://www.exceldemy.com/excel-leave-cell-blank-if-no-data/#comment-398575 Mon, 19 Feb 2024 04:20:50 +0000 https://www.exceldemy.com/?p=189445#comment-398575 In reply to Lory.

Hello Lory,

You can use the following formula: =IFERROR(INDEX(‘Round 1′!$B$3:$AJ$25,MATCH(A5,’Round 1’!$B$3:$B$25, 0),34),””)
It will leave a cell blank if no matches are found.

Regards
ExcelDemy

]]>
Comment on How to Calculate Distance Between Two Cities in Excel by Shamima Sultana https://www.exceldemy.com/calculate-distance-between-two-cities-in-excel/#comment-398271 Sun, 18 Feb 2024 03:24:35 +0000 https://www.exceldemy.com/?p=156387#comment-398271 In reply to kndn.

Hello Kndn,

The Measuring unit of the result is “Mile”.

]]>
Comment on How to Use SUMPRODUCT with Criteria in Excel (5 Methods) by Shamima Sultana https://www.exceldemy.com/sumproduct-with-criteria/#comment-398268 Sun, 18 Feb 2024 03:16:02 +0000 https://www.exceldemy.com/?p=31709#comment-398268 In reply to Kamane.

Hello,

You are most welcome.

Regards
ExcelDemy

]]>
Comment on How to Apply Multiple Colors in Excel Chart Background (3 Ways) by Shamima Sultana https://www.exceldemy.com/excel-chart-background-multiple-colors/#comment-398266 Sun, 18 Feb 2024 03:13:34 +0000 https://www.exceldemy.com/?p=266785#comment-398266 In reply to Thank You.

Hello,

You are welcome.

Regards
ExcelDemy

]]>
Comment on How to Leave Cell Blank If There Is No Data in Excel (5 Ways) by Lory https://www.exceldemy.com/excel-leave-cell-blank-if-no-data/#comment-398163 Sat, 17 Feb 2024 20:09:16 +0000 https://www.exceldemy.com/?p=189445#comment-398163 Thanks for a great article!

How do you leave a blank cell, as apposed to “$N/A”, when you are using index and match function.

My cell currently has the formula: =INDEX(‘Round 1′!$B$3:$AJ$25,MATCH(A5,’Round 1’!$B$3:$B$25, 0),34).

Not all of the “matches” will be found on each worksheet (it is a scoresheet and not all individuals compete each round), and therefore return the $N/A.

Thanks!

]]>
Comment on How to Apply Multiple Colors in Excel Chart Background (3 Ways) by Thank You https://www.exceldemy.com/excel-chart-background-multiple-colors/#comment-397131 Thu, 15 Feb 2024 21:09:35 +0000 https://www.exceldemy.com/?p=266785#comment-397131 Multiple Colors at Vertical Positions example helped, thank you!

]]>
Comment on How to Use SUMPRODUCT with Criteria in Excel (5 Methods) by Kamane https://www.exceldemy.com/sumproduct-with-criteria/#comment-396925 Thu, 15 Feb 2024 12:23:08 +0000 https://www.exceldemy.com/?p=31709#comment-396925 very help information. I managed to resolve my equation for sumproduct.

Thanks a lot

KS

]]>
Comment on Budget Template in Excel by Shamima Sultana https://www.exceldemy.com/excel-templates/finance/budget/#comment-396647 Thu, 15 Feb 2024 03:14:58 +0000 https://www.exceldemy.com/?p=513450#comment-396647 In reply to Icarus Builders.

Dear Icarus Builders,

You are most welcome.

Regards
ExcelDemy

]]>
Comment on Budget Template in Excel by Icarus Builders https://www.exceldemy.com/excel-templates/finance/budget/#comment-396182 Wed, 14 Feb 2024 09:37:05 +0000 https://www.exceldemy.com/?p=513450#comment-396182 Very Helpful Content. Thank You.

]]>
Comment on Split Data into Multiple Worksheets in Excel (with Quick Steps) by Shamima Sultana https://www.exceldemy.com/split-data-into-multiple-worksheets/#comment-396161 Wed, 14 Feb 2024 08:55:39 +0000 https://www.exceldemy.com/?p=52753#comment-396161 In reply to Vini.

Hello Vini,

Updated the code spilt data into multiple Excel file.

Sub Split_Data_Multiple_Files()
    Dim L As Long
    Dim DS As Worksheet
    Dim VCL As Integer
    Dim XCL As Long
    Dim MARY As Variant
    Dim title As String
    Dim titlerow As Integer
    Dim newWorkbook As Workbook
    Dim newSheet As Worksheet
    Dim filePath As String
    
    Application.ScreenUpdating = False
    
    VCL = Application.InputBox(prompt:="Which column would you like to filter by?", title:="Filter column", Type:=1)
    Set DS = ActiveSheet
    L = DS.Cells(DS.Rows.Count, VCL).End(xlUp).Row
    title = "A1"
    titlerow = DS.Range(title).Cells(1).Row
    XCL = DS.Columns.Count
    DS.Cells(3, XCL) = "Unique"
    
    For X = 2 To L
        On Error Resume Next
        If DS.Cells(X, VCL) <> "" And Application.WorksheetFunction.Match(DS.Cells(X, VCL), DS.Columns(XCL), 0) = 0 Then
            DS.Cells(DS.Rows.Count, XCL).End(xlUp).Offset(1) = DS.Cells(X, VCL)
        End If
    Next
    
    MARY = Application.WorksheetFunction.Transpose(DS.Columns(XCL).SpecialCells(xlCellTypeConstants))
    DS.Columns(XCL).Clear
    
    For X = 2 To UBound(MARY)
        DS.Range(title).AutoFilter field:=VCL, Criteria1:=MARY(X) & ""
        Set New_Workbook = Workbooks.Add
        Set New_Sheet = newWorkbook.Sheets(1)
        DS.Range("A" & titlerow & ":A" & L).EntireRow.Copy New_Sheet.Range("A4")
        DS.AutoFilterMode = False
        New_Sheet.Columns.AutoFit
        filePath = ThisWorkbook.Path & "\" & MARY(X) & ".xlsx"
        New_Workbook.SaveAs filePath
        New_Workbook.Close False
    Next
    
    DS.Activate
    Application.ScreenUpdating = True
End Sub

Regards
ExcelDemy

]]>