0% found this document useful (0 votes)
212 views

51 Ready To Use Macros V2

Uploaded by

hotel marina
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
212 views

51 Ready To Use Macros V2

Uploaded by

hotel marina
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 60

eBook on VBA for MS Excel

51 Ready to Use Macros


XL n CAD
101 Ready to Use Excel Macros

Hi,
I am Ajay Anand, a Civil Engineer by education, Highway Engineer by
profession and a Coder by interest.
I started XL n CAD in 2018, as an effort to learn and share Tips,
Shortcuts and Tutorials related to MS Excel & AutoCAD.
Considering my contributions towards the Excel Community, I was
presented with the Microsoft MVP award in April 2020.
This ebook contains 51 ready to use Macros, that will help you to automize your works in
Microsoft Excel. Detailed explanation of these codes is available in xlncad.com and my
YouTube Channel for Excel Tutorials.

Thanks & Regards


Ajay Anand
XL n CAD

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

Table of contents

Introduction to VBA for Excel ..................................................................................... 4


What is a Macro? ....................................................................................................... 5
How to use codes shared here? ................................................................................. 6
List of Excel Macros ................................................................................................. 10
Things to remember while using Macros.................................................................. 56
List of my popular blog posts ................................................................................... 57

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

Introduction to VBA for Excel

VBA stands for Visual Basic for Applications. It is a custom version of the Visual
Basic programming language that has powered Microsoft Excel's macros since the
mid-1990s. The programming (VBA) interface of MS Excel will let you,
1. Create and Execute Macros (explained in the next section). Anything that the
user can do in Excel from the user interface can be done by writing code in
VBA for Excel.
2. Create User Defined Functions (UDFs).
3. Integrate MS Excel with other applications such as Microsoft Word,
PowerPoint, Outlook, Notepad, AutoCAD etc.

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

What is a Macro?
Macros are codes written in VBA (Visual Basic for Applications) or recorded in MS Excel
(or other applications) which helps to reduce the manual effort required for a job.
Macros save your time and headaches by automating repetitive tasks. They reduce
the possibility of human error that increases with many, repetitive keystrokes and
tasks. The most important features of an Excel macro is that it can be saved for future
use and can be shared among multiple users.
In layman's language, a macro is a recording of your routine steps in Excel that you can
replay using a single button
The best part is, you don’t need to be a programmer or know VBA to use Macros. You
just need to copy the codes shared here into the VBA Editor or Excel and hit the run
button to execute them. After using the program, save the file as a Macro enabled
workbook for future use.

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

How to use codes shared here?


1. Copy the Code.
2. Click on Visual Basic in the Developer Tab of Excel Ribbon. ALT + F11 is the Shortcut
for Visual Basic Editor.

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

3. Right click on the tree view and Insert a Module.

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

4. Paste the copied Code into the new module.

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

5. Close the editor and Click on Macros in Developer Tab. You will get a dialogue box
with the list of Macros, ready for execution. Select a Macro, Click on Run button
to execute the macro.

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

List of Excel Macros


1. Add a New Sheet ................................................................................................................................................. 14
2. Add 2 New sheets into a workbook ................................................................................................................... 14
3. Add Worksheets based on user input ............................................................................................................... 15
4. Add and Name the Worksheets based on User Input ..................................................................................... 16
5. Create worksheets from the names present in a Worksheet ......................................................................... 17
6. Delete the specified Worksheet ......................................................................................................................... 18
7. Delete Worksheet based on user input ............................................................................................................. 18
8. Insert a row (one row each) in between each row containing data .............................................................. 19
9. Insert 2 Rows in between each row containing data ...................................................................................... 20
10. Insert Rows in between each row containing data, based on user Input .................................................. 21
11. Delete blank Rows in between rows containing data .................................................................................. 22
12. Delete blank Rows (2 rows each) in between rows containing data .......................................................... 23
13. Insert Columns in between each column containing data........................................................................... 24
14. Delete Columns in between columns containing data ................................................................................. 25

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

15. Display a Simple Message Box........................................................................................................................ 26


16. Defining the Title of the Message Box ........................................................................................................... 26
17. Display a Message using a Value in an Excel Sheet...................................................................................... 27
18. Display a Message using a Text in an Excel Sheet ........................................................................................ 27
19. Receiving two values using an Input Box and displaying their sum using Message Box ......................... 28
20. Export data (Write) from a Worksheet to a Text File ................................................................................... 29
21. Import data (Read) from a Text File to a Worksheet ................................................................................... 30
22. Hide All worksheets in a workbook (Except Active sheet) ........................................................................... 31
23. Unhide Every Hidden sheet in an Excel Workbook ....................................................................................... 32
24. Convert active worksheet to Very Hidden Sheet Mode................................................................................ 32
25. Convert selected worksheets to Very Hidden Sheet Mode .......................................................................... 33
26. Unhide every Very Hidden sheet in a Workbook .......................................................................................... 34
27. Delete All Worksheets in a workbook, except Active sheet ......................................................................... 35
28. Create PDF from the active worksheet .......................................................................................................... 36
29. Convert Text into Upper Case ......................................................................................................................... 37

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

30. Convert Text into Lower Case ......................................................................................................................... 37


31. Convert Text into Proper Case ........................................................................................................................ 38
32. Join Text present in different cells of a Column ............................................................................................ 39
33. Join Text in present in different cells of a Row .............................................................................................. 40
34. Hide Specific Row/Rows of a Worksheet ....................................................................................................... 41
35. Unhide Specific Row/Rows of a Worksheet................................................................................................... 41
36. Unhide Every hidden Row of a Worksheet .................................................................................................... 42
37. Hide Specific Column/Columns of a Worksheet ............................................................................................ 42
38. Unhide Specific Column/Columns of a Worksheet ....................................................................................... 43
39. Unhide Every hidden Column of a Worksheet............................................................................................... 43
40. Select the first 1000 cells of Column A ........................................................................................................... 44
41. Select a specific data range in a worksheet .................................................................................................. 44
42. Protect Every Worksheet in a Workbook with a password ......................................................................... 45
43. Unprotect Every protected Worksheet in a Workbook ................................................................................ 46
44. Text to Speech .................................................................................................................................................. 47

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

45. Auto Fit Columns .............................................................................................................................................. 48


46. AutoFit Rows ..................................................................................................................................................... 48
47. Reverse strings in a selection .......................................................................................................................... 49
48. Paste as Values into the same worksheet ..................................................................................................... 50
49. Create a copy of the worksheet and Paste as Values................................................................................... 51
50. Create a copy of every worksheet and Paste as Values ............................................................................... 52
51. Create a list of Worksheets present in a Workbook ..................................................................................... 53
52. Create a list of Worksheet with Properties.................................................................................................... 54
53. Count the total number of Worksheets in a Workbook ............................................................................... 55

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

1. Add a New Sheet

Sub AddNewSheet()
Sheets.Add
End Sub

2. Add 2 New sheets into a workbook

Sub AddMultipleSheets()
Call Sheets.Add(, , 2)
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

3. Add Worksheets based on user input

Sub AddSheetsUserInput()
Dim i, j As Integer
i = Val(InputBox(“Enter the number of sheets to be added”))
For j = 1 To i
Worksheets.Add
Next j
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

4. Add and Name the Worksheets based on User Input

Sub AddAndNameWorksheets()
Dim i, j As Integer
i = Val(InputBox(“Enter the number of sheets to be added”))
For j = 1 To i
Worksheets.Add.Name = “XL n CAD ” & j
Next j
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

5. Create worksheets from the names present in a Worksheet

Sub CreateSheetsUsingNames()
Range(“A1”).Select
Do Until ActiveCell.Value = “”
Sheets.Add.Name = ActiveCell.Value
Sheets(“Names”).Select
ActiveCell.Offset(1, 0).Select
Loop
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

6. Delete the specified Worksheet

Sub DeleteSheet()
Sheets("Sheet1").Delete
End Sub

7. Delete Worksheet based on user input

Sub DeleteSheetUserInput()
Dim x As String
x = InputBox("Enter the name of the sheet to be deleted")
Sheets(x).Delete
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

8. Insert a row (one row each) in between each row containing data

Sub InsertRows()
Range("A2").Select
Do Until ActiveCell.Value = ""
Selection.EntireRow.Insert
ActiveCell.Offset(2, 0).Select
Loop
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

9. Insert 2 Rows in between each row containing data

Sub Insert2Rows()
Range("A2").Select
Do Until ActiveCell.Value = ""
Selection.EntireRow.Insert
Selection.EntireRow.Insert
ActiveCell.Offset(3, 0).Select
Loop
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

10. Insert Rows in between each row containing data, based on user
Input

Sub InsertNRows()
Range("A2").Select
Dim d, e As Integer
e = Val(InputBox("Enter the number of Rows to be inserted"))
Do Until ActiveCell.Value = “”
For d = 1 To e
Selection.EntireRow.Insert
Next d
ActiveCell.Offset(e + 1, 0).Select
Loop
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

11. Delete blank Rows in between rows containing data

Sub DeleteRows()
Range("A2").Select
Do Until ActiveCell.Offset(1, 0).Value = ""
Selection.EntireRow.Delete
ActiveCell.Offset(1, 0).Select
Loop
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

12. Delete blank Rows (2 rows each) in between rows containing data

Sub Delete2Rows()
Range("A2").Select
Do Until ActiveCell.Offset(2, 0).Value = ""
Selection.EntireRow.Delete
Selection.EntireRow.Delete
ActiveCell.Offset(1, 0).Select
Loop
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

13. Insert Columns in between each column containing data

Sub InsertColumns()
Range("B1").Select
Do Until ActiveCell.Value = ""
Selection.EntireColumn.Insert
ActiveCell.Offset(0, 2).Select
Loop
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

14. Delete Columns in between columns containing data

Sub DeleteColumns()
Range("B1").Select
Do Until ActiveCell.Offset(0, 1).Value = ""
Selection.EntireColumn.Delete
ActiveCell.Offset(0, 1).Select
Loop
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

15. Display a Simple Message Box

Sub SimpleMessageBox()
MsgBox "Hi, Greetings from xlncad.com"
End Sub

16. Defining the Title of the Message Box

Sub MessageBoxTitle()
MsgBox "Hi, Greetings from xlncad.com", , "XL n CAD"
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

17. Display a Message using a Value in an Excel Sheet

Sub DisplayValueFromSheet()
MsgBox "The value of cell A1 is " & Range("A1").Value
End Sub

18. Display a Message using a Text in an Excel Sheet

Sub DisplayTextFromSheet()
MsgBox "The text in the Cell C3 is " & Range("C3").Text
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

19. Receiving two values using an Input Box and displaying their sum
using Message Box

Sub SumUsingInputBox()
a = Val(InputBox("Enter the value of A"))
b = Val(InputBox("Enter the value of B"))
c = a + b
MsgBox "Sum of A and B is " & c
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

20. Export data (Write) from a Worksheet to a Text File

Sub WriteToTextFile()
Open "E:\XLnCAD.txt" For Output As 1
Range("D5").Select
Do Until ActiveCell.Value = ""
Print #1, ActiveCell.Value
ActiveCell.Offset(1, 0).Select
Loop
Close (1)
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

21. Import data (Read) from a Text File to a Worksheet

Sub readfromtextfile()
Dim temptext As String
Open "E:\XLnCAD.txt" For Input As 2
Range("I6").Select
Do Until EOF(2)
Input #2, temptext
ActiveCell.Value = temptext
ActiveCell.Offset(1, 0).Select
Loop
Close (2)
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

22. Hide All worksheets in a workbook (Except Active sheet)

Sub HideSheets()
Dim XLnCAD As Worksheet
For Each XLnCAD In ThisWorkbook.Worksheets
If XLnCAD.Name <> ThisWorkbook.ActiveSheet.Name Then
XLnCAD.Visible = xlSheetHidden
End If
Next XLnCAD
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

23. Unhide Every Hidden sheet in an Excel Workbook

Sub UnHideSheets()
Dim XLnCAD As Worksheet
For Each XLnCAD In ActiveWorkbook.Worksheets
XLnCAD.Visible = xlSheetVisible
Next XLnCAD
End Sub

24. Convert active worksheet to Very Hidden Sheet Mode

Sub VeryHiddenSheet()
Sheets("xlncad").Visible = xlVeryHidden
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

25. Convert selected worksheets to Very Hidden Sheet Mode

Sub SelectedSheetsVeryHidden()
Dim Ws As Worksheet
For Each Ws In ActiveWindow.SelectedSheets
Ws.Visible = xlSheetVeryHidden
Next Ws
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

26. Unhide every Very Hidden sheet in a Workbook

Sub UnHideVeryHiddenSheets()
Dim Ws As Worksheet
For Each Ws In ActiveWorkbook.Worksheets
If Ws.Visible = xlSheetVeryHidden Then
Ws.Visible = xlSheetVisible
End If
Next Ws
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

27. Delete All Worksheets in a workbook, except Active sheet

Sub DeleteSheets()
Dim XLnCAD As Worksheet
For Each XLnCAD In ThisWorkbook.Worksheets
If XLnCAD.Name <> ThisWorkbook.ActiveSheet.Name Then
Application.DisplayAlerts = False
XLnCAD.Delete
Application.DisplayAlerts = True
End If
Next XLnCAD
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

28. Create PDF from the active worksheet

Sub CreatePdf()
Dim ID As String
ID = Range("D4").Text
ActiveSheet.ExportAsFixedFormat _
Type:=xlTypePDF, _
Filename:="E:\Payslip\" + ID + ".pdf", _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

29. Convert Text into Upper Case

Sub UpperCase()
For Each XLnCAD In Selection
XLnCAD.Value = UCase(XLnCAD.Value)
Next
End Sub

30. Convert Text into Lower Case

Sub LowerCase()
For Each XLnCAD In Selection
XLnCAD.Value = LCase(XLnCAD.Value)
Next
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

31. Convert Text into Proper Case

Sub ProperCase()
For Each XLnCAD In Selection
XLnCAD.Value = Application.Proper(XLnCAD.Value)
Next
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

32. Join Text present in different cells of a Column

Sub JoinStringsInColumn()
Dim XLnCAD As Range, Sonder As Range, XNC As String
Set XLnCAD = Selection
For Each Sonder In XLnCAD
XNC = XNC & " " & Sonder
Next
ActiveCell.Offset(0, 1).Select
Selection.Value = XNC
Selection.Font.Bold = True
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

33. Join Text in present in different cells of a Row

Sub JoinStringsInRow()
Dim XLnCAD As Range, Sonder As Range, XNC As String
Set XLnCAD = Selection
For Each Sonder In XLnCAD
XNC = XNC & " " & Sonder
Next
ActiveCell.Offset(1, 0).Select
Selection.Value = XNC
Selection.Font.Bold = True
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

34. Hide Specific Row/Rows of a Worksheet

Sub HideRows()
Rows("5:10").EntireRow.Hidden = True
End Sub

35. Unhide Specific Row/Rows of a Worksheet

Sub UnHideRows()
Rows("5:10").EntireRow.Hidden = False
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

36. Unhide Every hidden Row of a Worksheet

Sub UnhideAllRows()
Cells.EntireRow.Hidden = False
End Sub

37. Hide Specific Column/Columns of a Worksheet

Sub HideColumns()
Columns("B:D").EntireColumn.Hidden = True
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

38. Unhide Specific Column/Columns of a Worksheet

Sub UnHideColumns()
Columns("B:D").EntireColumn.Hidden = False
End Sub

39. Unhide Every hidden Column of a Worksheet

Sub UnhideAllColumns()
Cells.EntireColumn.Hidden = False
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

40. Select the first 1000 cells of Column A

Sub Select1000Cells()
Range("A1:A1000").Select
End Sub

41. Select a specific data range in a worksheet

Sub Select40Cells()
Range("D10:K23").Select
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

42. Protect Every Worksheet in a Workbook with a password

Sub ProtectEveryWorksheet()
Dim X As Worksheet
Sonder = InputBox("Enter the Password to protect the
worksheets", "Protect worksheets")
For Each X In ActiveWorkbook.Worksheets
X.Protect Password:=Sonder
Next X
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

43. Unprotect Every protected Worksheet in a Workbook

Sub UnProtectEveryWorksheet()
Dim Pass As String
Dim Y As Worksheet
Pass = InputBox("Enter the Password to Unprotect the
worksheets", "UnProtect worksheets")
If Pass = Sonder Then
For Each Y In ActiveWorkbook.Worksheets
Y.Unprotect Password:=Sonder
Next Y
Else
MsgBox "Incorrect Password"
End If
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

44. Text to Speech

Sub TextToSpeech()
Selection.Speak
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

45. Auto Fit Columns

Sub AutoFitColumns()
Cells.EntireColumn.AutoFit
End Sub

46. AutoFit Rows

Sub AutoFitRows()
Cells.EntireRow.AutoFit
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

47. Reverse strings in a selection

Sub ReverseStringsInASelection()
Dim X As Range
Dim Y As Integer
Y = 0
Set X = Selection
For Each X In Selection
ActiveCell.Offset(Y, 1).Value = StrReverse(X)
Y = Y + 1
Next X
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

48. Paste as Values into the same worksheet

Sub PasteAsValuesSameSheet()
Cells.Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = True
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

49. Create a copy of the worksheet and Paste as Values

Sub PasteAsValuesToNewSheet()
Cells.Select
Selection.Copy
Sheets.Add After:=ActiveSheet
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValues
Selection.PasteSpecial Paste:=xlPasteFormats
Application.CutCopyMode = False
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

50. Create a copy of every worksheet and Paste as Values

Sub PasteAsValuesEveryWorksheet()
Dim X As Worksheet
Dim Y As String
For Each X In ThisWorkbook.Sheets
Y = X.Name
Cells.Select
Selection.Copy
Sheets.Add After:=ActiveSheet
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValues
Selection.PasteSpecial Paste:=xlPasteFormats
Application.CutCopyMode = False
Sheets(Y).Select
Next X
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

51. Create a list of Worksheets present in a Workbook

Sub ListEverySheet()
Dim XNC As Worksheet
Dim X As Integer
X = 0
Sheets("List of WorkSheets").Select
Range("A2").Select
For Each XNC In ThisWorkbook.Sheets
ActiveCell.Offset(X, 0).Value = XNC.Name
X = X + 1
Next
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

52. Create a list of Worksheet with Properties

Sub ListEverySheetWithProperties()
Dim XNC As Worksheet
Dim X As Integer
X = 0
Sheets("List of WorkSheets").Select
Range("A2").Select
For Each XNC In ThisWorkbook.Sheets
ActiveCell.Offset(X, 0).Value = XNC.Name
If XNC.Visible = True Then
ActiveCell.Offset(X, 1).Value = "Visible"
ElseIf XNC.Visible = xlSheetHidden Then
ActiveCell.Offset(X, 1).Value = "Hidden"
ElseIf XNC.Visible = xlSheetVeryHidden Then
ActiveCell.Offset(X, 1).Value = "Very Hidden"
End If

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

X = X + 1
Next
End Sub

53. Count the total number of Worksheets in a Workbook

Sub CountSheets()
MsgBox Application.Sheets.Count
End Sub

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

Things to remember while using Macros

• By default, the Developer tab is not displayed in excel. If you can't see the
Developer tab, use Customize Ribbon option to activate it.
• We cannot Undo an action performed using a Macro. Make sure that you have
a backup of the data before executing the macro.
• To save macros in a workbook, you must save your workbook in a Macro-
Enabled format (*.xlsm).
• Use the comment option of VBA editor while writing the code for a Macro.
This will help you understand your own work if you have to revisit it weeks or
months later.

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

List of my popular blog posts


• How to create an Organizational Chart in Excel
• Matrix Digital Rain in Excel
• Excel Formula to Insert Sheet Name into a Cell
• Import data from Google Maps to Excel
• Split data in a Cell to Multiple Rows using Power Query
• How to Shade Alternate Rows in Excel
• How to add a Checkbox (Tickbox) into Excel Sheet
• Highlight a Cell or Cells according to the Entry made in a particular Cell
• 7 Reasons Why XLOOKUP function is Superior to VLOOKUP function and INDEX+MATCH
combo

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

• UnPivot or Normalize Data using Pivot Table and PivotChart Wizard


• Group Data using Power Query in Excel
• Joins in Power Query
• Find the Most Repeated Word in a data set using Power Query
• Remove or Extract Special Characters from a data set using Power Query
• Remove Duplicates using Power Query in Excel
• Add an Index Column
• Change Letter Case using Power Query
• Passing a Parameter in Power Query
• Combine Multiple Worksheets of a Workbook using Power Query in Excel
• Import Facebook Friends list into Excel

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

• Different ways to Create an Excel Table


• Formula Errors in Excel
• Excel Glossary &#8211; Basic Excel Terms
• STOCKHISTORY Function (Beta) in Excel
• Combine WorkSheets using Power Query in Excel
• How to UnPivot Data in Excel (Normalize Data)
• Extract Number and Text using Power Query in Excel
• Reverse Text in Excel using Power Query
• Fill Up and Fill Down using Power Query in Excel
• Automatically Number Rows in Excel using Power Query
• Transpose Data using Power Query in Excel

xlncad.com YouTube channel of xlncad


101 Ready to Use Excel Macros

• Combine Data from Multiple Worksheets (Tables) using Power Query

xlncad.com YouTube channel of xlncad

You might also like