Soumik Dutta, having earned a BSc in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, plays a key role as an Excel & VBA Content Developer at ExcelDemy. Driven by a profound passion for research and innovation, he actively immerses himself in Excel. In his role, Soumik not only skillfully addresses complex challenges but also demonstrates enthusiasm and expertise in gracefully navigating tough situations, underscoring his unwavering commitment to consistently deliver exceptional, high-quality content that adds significant value to users' experiences.
This is the sample dataset. After converting the dataset into a Pivot Table, the following fields are displayed. Solution 1 - Insert a ...
Example 1 - Using the FILTER Function In the first example, we are going to use the FILTER function to skip rows based on value using the Excel formula. For ...
Dataset Overview Let’s consider a dataset where we’ve entered the names of 10 employees and their salaries inside the same cell. Our dataset spans the range ...
Dataset Overview To illustrate the methods, we’ll consider two employee data lists stored in separate sheets: T-1 and T-2. Additionally, there are two ...
Method 1 - Using Workbooks.Open Method Open the Visual Basic Editor by going to the Developer tab and clicking on Visual Basic or by pressing Alt+F11. ...
The following two sample data tables, where the income for the two months of January and February of five employees of a company are listed will be used to ...
The sample Excel worksheet shows us the datasheet in the direction of right to left. Method 1 - Changing Default Direction Steps: Select File ...
Watch Video – Create New Sheets for Each Row in Excel Suppose you have the following dataset: Method 1 - Using an Excel Pivot Table ...
The step-by-step procedure to create a speedometer chart with two needles is explained below. After completing all the steps, the speedometer will look like ...
What is NPS? NPS, which stands for Net Promoter Score, provides insights into customer loyalty and satisfaction. It measures the difference between the number ...
Pay off credit debt calculator is an essential staff for any person to check the amount of loan on his/her credit card. Using Microsoft Excel, you can easily ...
What Is the Present Value? Present value refers to the idea that the money today is worth more than the worth it will be in the future. The mathematical ...
An Overview of a Ledger Book An accounting ledger book records all transactions and financial statements of a company. Under the general ledger ...
Dataset Overview To demonstrate these methods, let’s consider a dataset of 10 fruit consumers. The fruit item names are in column B, and the purchaser names ...
To demonstrate, we have a dataset of 5 students. Their name, department, examination marks, grades, DOB, and retake examination marks are in the range of cells ...
Hi Steven Leblanc
Thanks for your comment. In this article, all the operations are done using Microsoft Office 365 application. That’s why you got a different type of result after using the TEXTJOIN function. If you want to get a similar type of result just like us, you have to update your application from Excel 2019 to Office 365.
Hi Tom R,
Thanks for your comment. The numeric values are not a big issue. Our main focus is to demonstrate the procedure so that you can understand it and implement it in your regular life. Moreover, we also recommend our users download our Excel workbook first to overcome such misunderstandings.
However, we are providing an updated image of that part for your convenience.
Hi Martyn Kenyon,
Thanks for your suggestion regarding this issue. We hope that it will help others to resolve their problem.
If you have any further queries or suggestions feel free to share them that us through comments or email to our problem-solving team.
Hi, DIEGO.
Thank you for your concern. Yes, there is a way to exclude some tabs and merge only the tabs that you want. The generic code for this is:
Sub Merge_Multiple_Sheets()
Row_Or_Column = Int(InputBox(“Enter 1 to Merge the Sheets Row-wise.” + vbNewLine + vbNewLine + “OR” + vbNewLine + vbNewLine + “Enter 2 to Merge the Sheets Column-wise.”))
Merged_Sheets = InputBox(“Enter the Names of the Worksheets that You Want to Merge. Separate them by Commas.”)
Merged_Sheets = Split(Merged_Sheets, “,”)
Sheets.Add.Name = “Combined Sheet”
Dim Row_Index As Integer
Dim Column_Index As Integer
If Row_Or_Column = 1 Then
Column_Index = Worksheets(1).UsedRange.Cells(1, 1).Column
Row_Index = 0
For i = LBound(Merged_Sheets) To UBound(Merged_Sheets)
Set Rng = Worksheets(Merged_Sheets(i)).UsedRange
Rng.Copy
Worksheets(“Combined Sheet”).Cells(Row_Index + 1, Column_Index).PasteSpecial Paste:=xlPasteAllUsingSourceTheme
Row_Index = Row_Index + Rng.Rows.Count + 1 – 1
Next i
Application.CutCopyMode = False
ElseIf Row_Or_Column = 2 Then
Row_Index = Worksheets(1).UsedRange.Cells(1, 1).Row
Column_Index = 0
For i = LBound(Merged_Sheets) To UBound(Merged_Sheets)
Set Rng = Worksheets(Merged_Sheets(i)).UsedRange
Rng.Copy
Worksheets(“Combined Sheet”).Cells(Row_Index, Column_Index + 1).PasteSpecial Paste:=xlPasteAllUsingSourceTheme
Column_Index = Column_Index + Rng.Columns.Count + 1
Next i
Application.CutCopyMode = False
End If
End Sub
When you’ll run the code, it’ll ask for two inputs. Enter 1 if you want to merge the sheets row-wise, or 2 if you want to merge them column-wise.
And in the second input box, enter the name of the sheets that you want to merge. Don’t forget to put commas between the names, and don’t put any space after the commas.
Once you are done entering the inputs, click OK. You’ll find your selected tabs merged row-wise or column-wise in a new sheet called “Combined Sheet”.
Good luck.
Hi Mikekelly
Thanks for your query.
The ‘Ctrl+J’ command doesn’t replace the line break. It represents the line break feature when we use the Find & Replace dialog box to find this character. Now, If you look at our dataset, it was designed with multiple line breaks in a column. So, I hope that both datasets follow the same characteristic. To eliminate the line breaks from your sheet, you can go through the methods mentioned in this article. Among them, methods no 2, 3, and 4 are pretty simple and convenient. Moreover, in these methods, you do not have to deal with the ‘Ctrl+J’ command.
Let us know whether you can solve the issue. Please feel free to share with us if you have any further queries.
Hi Yenny,
Thanks for your query.
You can use the calculated items option only for those fields which are available in our pivot table. Because if the field did not show in the pivot table, the corresponding field will also not show in the item section of the dialog box, which appears after clicking on Fields, Items, & Set,
Thanks for your comment. We are very pleased to know that you find this article useful for you. As far as I know, Excel doesn’t have any built-in feature which can resolve your problem.
I recommend that you can set the first line of every MS Word page as a heading. This feature will help you see the text in the Navigation Panel of MS Word. As a result, you don’t need to scroll down all pages. You will just click on each text, then select the text and manually copy that into your Excel workbook.
Hi, Mark
Thanks for your query. This might be a 1-60 months problem. Moreover, the complete scenario is a presumption of the author. So, the loan payment conditions may not be similar to the day-to-day practice situation. If you have specific terms and conditions in your loan statement, you can send that to our problem-solving team. They will help you to fulfill your requirement.
Hi Tim,
Thanks for your query. You are right. The combination of UNIQUE and RANDARRAY functions sometimes provide us with less than 10 number due to the duplicates. But, most of the time, it shows the 10 unique numbers on your first attempt. So, if you get less than 10 values, delete them and input the formula again. Once you get the 10 numbers, please copy and paste them in Value format asap to terminate further modification.
Moreover, you can also look to our other methods if your dataset provides you with such flexibility to use them.
Hi Amelie,
Thanks for your comment. As your dataset doesn’t follow any regular pattern, so I think we need an additional column to solve this issue. The procedure is:
1) First, insert a new column just right after your data column.
2) Then, at the first cell of that column, write down ‘[Value].
Here, the [Value] represents the data of the previous column.
3) Now, double-click on the Fill Handle icon.
4) The same result will be pasted on every cell. Click on the Auto Fill Options > Flash Fill option.
5) The apostrophe will add to every cell value, and it will prevent the disappearance of zero (0) from your dataset.
I hope you will be able to restore your cell values accurately. Please inform us if you are still facing any trouble.
Hi Brennan,
Thanks for your comment. You cannot use any function in the ‘criteria’ field of the COUNTIF function. You must have to input a specific text or value. Moreover, you have to mention a range of cells in the ‘criteria_range 1’ field, where the function count for your desired data. If you input a single cell instead of a range of cells, the COUNTIF function will not show the sum of the total count.
You can consider some other Excel functions like VLOOKUP and TODAY functions to get the decision if your worksheet allows you to place the value of cells L5, O5, R5, U5, X5, and AA5 in the conjugative cells whether row-wise or column-wise. I am telling you the process below.
First, set two criteria. As you want to show the value less or equal to 90 days, so you can set 90 for <= 90 days and 91 for >90 days.
Then, using the VLOOKUP and TODAY functions, write down the formula:
=VLOOKUP(TODAY()-[Cell Ref],Criteria,2,TRUE)
Here,
[Cell Ref] stands for your desired cell
‘Criteria’ is the table array name that I mentioned in the first step.
2 is the col_indes_number. This number tells the function which column value of the criteria table we want to show.
As you get the decision of the VLOOKUP function, whether it is more than 90 days or less than 90 days, use the COUNTIF function to get the total count of less than or equal to 90 days.
=COUNTIFS([Cell Ref. Range,”<= 90 Days")
Here,
“<= 90 Days" is the desired criteria. For a better demonstration of this procedure, you can also look at one of our similar types of articles, How to Use Stock Ageing Analysis Formula in Excel.
If you are still facing any problems, please inform us.