About author
## Designation

Team Leader at ExcelDemy in SOFTEKO.
## Lives in

Dhaka, Bangladesh.
## Education

B.sc in Naval Architecture & Marine Engineering, Bangladesh University of Engineering & Technology (BUET).
## Expertise

Microsoft Office, Content Writing, Data Analysis, AutoCAD, Rhinoceros, Python.
## Experience

## Summary

Md. Tanjim Reza Tanim, a BUET graduate in Naval Architecture & Marine Engineering, contributed over one and a half years to the ExcelDemy project. As an Excel & VBA Content Developer, he authored 100+ articles and, as Team Leader, reviewed 150+ articles. Tanim, leading research, ensures top-notch content on MS Excel features, formulas, solutions, tips, and tricks. His expertise spans Microsoft Office Suites, Automating Finance Templates, VBA, Python, and Developing Excel Applications, showcasing a multifaceted commitment to the project's success.

- Technical Content Writing
- Team Management
- Research

- Currently working as Team Leader of ExcelDemy.
- Started technical content writing of Excel & VBA in April 2022, later prompted as Team Leader for Content Management on January 1, 2023.

In this article, we will explain how to perform a Union query in Excel to merge multiple tables with one common column or row. Suppose we have 3 individual ...

Tanjim Reza
Jul 29, 2024

In this article, we will demonstrate how to divide without remainder in Excel in two ways using VBA. To illustrate the methods, we'll use the following dataset ...

Tanjim Reza
Jun 25, 2024

What Is the Sigma Level? The Sigma level is a parameter to indicate the number of defects in 1 million opportunities. The sigma level indicates that if any ...

Tanjim Reza
Jul 12, 2024

Below is a dataset of several students' names. Of these students, only 3 passed. We want to create a drop-down checklist containing these students' names. ...

Tanjim Reza
Jul 14, 2024

Example 1 - Adding a Text Suffix (e.g. Kg) for Mass The dataset below showcases multiple weight values. There is no unit. To add “Kg” as suffix to the ...

Tanjim Reza
Aug 12, 2024

Method 1 - Remove HTML Tags Using Find and Replace Tool Steps: Select the cells (B5:B9 here) where your texts with HTML tags are present. Press Ctrl ...

Tanjim Reza
Jul 6, 2024

Method 1 - Prepare Your Excel File Open an Excel file and insert your header row named Name, Gender, Age, and City from the top left column of your ...

Tanjim Reza
Jun 6, 2024

Method 1 - Record Time of Data Entry by Merging IF and NOW Functions Steps: Click on cell C5 and insert the following formula. ...

Tanjim Reza
May 22, 2024

Method 1 - Designing a Printable and Automated Basic Drop-Down Form in Excel We'll create a student application form. Steps: Insert your form’s row ...

Tanjim Reza
Jun 16, 2024

Method 1 - Using the INDEX and ROW Functions We'll use a table named Source_table with three columns named Employee ID, Employee Name, and Gender. We ...

Tanjim Reza
Jul 25, 2024

Reason 1 - The Dataset and Columns Are Not Correctly Organized The first reason that contributes to returning column header instead of value is the ...

Tanjim Reza
Jul 16, 2024

The sample dataset contains information from a store with the items’ codes, names, and sales. Due to format errors, the VLOOKUP function ...

Tanjim Reza
Jun 17, 2024

Method 1 - Change the Scroll Settings of Your Windows Steps: Click on the Start menu icon of your windows. Click on the Settings icon from the ...

Tanjim Reza
Jul 6, 2024

In this article, we will demonstrate 2 ways to create a formula to copy and paste values in Excel automatically. We'll use the following dataset of 4 students’ ...

Tanjim Reza
Jul 3, 2024

We have three individual Excel workbooks for grade 6, grade 7, and grade 8 report cards for various subjects for multiple students. The files are in ...

Tanjim Reza
Jul 3, 2024

- « Previous Page
- 1
- 2
- 3
- 4
- …
- 8
- Next Page »

Browsing All Comments By: Tanjim Reza

Hello, ENG NICHOLAS LUMANYIKA!

You are welcome.

About your query, yes, if you do not have any taxes and other costs associated with your vehicle, you can leave those cells blank. The given formula will analyze your vehicle life cycle accordingly.

With Regards,

Md. Tanjim Reza Tanim

Team Leader, ExcelDemy

Hello, Nicholas Lumanyika!

Thank you so much for your valuable feedback.

Yes, you are right. The total cost of 45*5 would be for 100 km. So, In this calculation, we have to find our total fuel cost per vehicle first. Then we have to divide the total fuel cost by total fuel consumption. So, the final formula in the D21 cell would be:

=((D19/100)*D17*D20)/D17We have corrected the file and formula of our article accordingly. Please check it now and use the file as you need.

If you have any further queries, confusion, or recommendation please feel free to reach out to us.

With Regards,

Md. Tanjim Reza Tanim

Team Leader, ExcelDemy.

Hello, Nicholas Lumanyika!

Thank you for your query.

Regarding your query, Acquisition cost in vehicle life cycle cost analysis refers to the initial cost incurred when purchasing a vehicle. It includes the total expenses associated with acquiring the vehicle, such as the actual purchase price, taxes, licensing fees, delivery charges, and any additional costs directly related to the procurement of the vehicle.

So, if you had to pay tax and other subsidies when purchasing the vehicle, you must enlist these in the acquisition cost calculation.

And, regarding your second query, yes, maintenance cost include both scheduled and unscheduled maintenance costs.

With Regards,

Md. Tanjim Reza Tanim

Team Leader, ExcelDemy

Hello, Sachin!

Thank you for your query. Regarding your query, this article was written based on the 2023 regime. But, the TDS calculator basics are the same for every regime. Only the variables, like tax deduction percentage, education cess percentage, etc. can change from year to year which would slightly affect the calculation. But, the basics are the same. So, it’s better if you check your current tax variable percentages for this regime in your region and use our file accordingly.

Hopefully, you will be able to use the file in your calculation properly.

With Regards,

Md. Tanjim Reza Tanim

Team Leader, Exceldemy

Hello, TANVIR!

Thank you for your query. Regarding your query, to get a home loan emi calculator with floating interest rates, you will need a new mortgage calculator where interest rates vary.

To help you, I can link you to another of our tutorials which exactly will serve your needs.

https://www.exceldemy.com/loan-amortization-schedule-excel-with-variable-interest-rate/

Please download the template from the above link and go through the article to learn how to use it. Hope, it will help.

Regards,

Md. Tanjim Reza Tanim

Hello, PREM! Hope you are doing well.

Thank you for your query.

Regarding your query, basically, the Balance Sheet comes after generating a journal, ledger, trial balance, income statement, and owner’s equity statement. So, to automate a balance sheet, you need to automate journal, ledger, trial balance, income statement, and owner’s equity statement first.

In this article, basically, we automated trial balance and income statements. An automated balance sheet will be uploaded soon too. Before that, you can go through our website to get individual automated sheets to generate your own balance sheet automatically.

With Regards,

Md. Tanjim Reza Tanim

Team Leader, ExcelDemy

Hey, Ayu Indah! Thank you for your query.

Regarding your query, Market return is basically the return that is generated by a broad market index. It deals with the whole market for a particular time period and calculates the value of the market as a whole.

On the other hand, the Portfolio return basically indicates the return generated by a specific investment portfolio or fund.

To differentiate between these two returns, market return is the benchmark that is followed when calculating portfolio return. When calculating market return, no risk factor is taken into consideration. But, when calculating portfolio return, the risk factors are calculated and the market return is taken as a benchmark to determine the gains and losses of the investment portfolio.

After calculating both these returns, Alpha can be calculated. And, with positive alpha, it can be decided that there was outperformance to gain profits. And, negative alpha suggests that, with risk factors, the investment portfolio can result in losses.

To calculate market return, the whole market is taken into consideration and a particular time is considered. So, to get this, the beginning value of the market during the timeline is recorded and the ending value of the market during the timeline is also recorded. Following, the total dividends or net income is calculated during the timeline.

Then the market return is calculated as follows:

Total Market Return = [(Ending Value – Beginning Value) + Dividends]/ Beginning ValueTo get the value in percentage, multiply the previous result by 100.

So,

Market Return (in Percentage) = Total Market Return * 100Hope, you will now be able to differentiate between market return and portfolio return and you will be able to calculate market return. If you have any further queries, please feel free to ask. Thank you!

With Regards,

Md. Tanjim Reza Tanim

Hello, Test. Thank you for this beautiful feedback.

Yes, you are right. This doesn’t seem right. We found the error as we were dividing the interest rate by 100 even though it was already in

Percentageformat. As a result, our answer got multiplied by 100 later. That is, when calculating the1+Ratevalue, we had to dividecell C6by only 12, not 100 and 12 both.We have fixed the error now. You can go through the corrected article again and download our corrected workbook too.

However, this article is written on the basis of compound interest. You can also use the simple interest formula here to find your simple HELOC Payment.

With Regards,

Md. Tanjim Reza Tanim

Hello James,

Thank you for your query.

Regarding your problem, I can assure you that the formula in cell D5 is correct. The syntax “@To” is not a common syntax, this is right. It is actually a dynamic table formula syntax. When you work with dynamic table formula, then to look up certain column values, you have to use this syntax. Even, if you select a cell of a table column inside a table, you will see the formula would automatically pick this syntax. I hope this answers your question.

Again, to assure you, the formula in cell D5 is working correctly in my file. But, if you keep facing issues regarding this formula, I would really appreciate it if you send me your Excel file. Maybe I can help you further then!

Thank you!

Regards,

Md. Tanjim Reza Tanim

Team Leader, Exceldemy.

Hello, HMD!

Thank you for your query. As far as I have understood your query, you want to change the copied values later and thus save it. Now, it is simple. You can do this normally. And, the values will be changed and saved automatically. But, to make this more effective and dynamic, you might need to have a confirmation window for this. To accomplish this, follow the steps below.

Steps:right clickon your sheet name and choose the optionView Codefrom the context menu..xlsmfile.Code:`Private Sub Worksheet_Change(ByVal Target As Range)`

`Dim KeyCells As Range`

`' The variable KeyCells contains the cells that will`

`' cause an alert when they are changed.`

`Set KeyCells = Range("A1:C10")`

`If Not Application.Intersect(KeyCells, Range(Target.Address)) _`

`Is Nothing Then`

`' Display a message when one of the designated cells has been`

`' changed.`

`' Place your code here.`

`MsgBox "Cell " & Target.Address & " has changed."`

`End If`

`End Sub`

This code is taken from https://learn.microsoft.com/en-us/office/troubleshoot/excel/run-macro-cells-change

Now, if you insert any new value or remove any value from the

cells A1:C10, there will be aMicrosoft Excelwindow informing you about a change in the values. You can change this range inside the code as per your requirements.I hope this accomplishes your desired result.

Regards,

Tanjim Reza

Hello, AHMED!

Thank you for your query. Regarding your query, you can use an array formula to accomplish this result.

Ctrl + Shift + Down arrowto select all required cells in a column.equal sign (=)and insert any of the formulas that are given in this article.Ctrl + Enter.Thus, all the cell values will be copied to all the desired cells in an instant.

I hope this solves your problem.

Regards,

Tanjim Reza

Hello, KASHIF!

Thank you for your query. Regarding your query, if you want to return value for meeting date condition only, you can use the

INDEX-MATCHcombination with the following formula.`=IFERROR(INDEX($E$5:$E$13,MATCH(H5,$D$5:$D$13,0)),"Not Available")`

If you want to meet the

Productcriteria and also theDatecriteria, you can use the formula below.`=IFERROR(INDEX($E$5:$E$13,MATCH(1,(($B$5:$B$13=G5)*($D$5:$D$13=H5)),0)),"Not Available")`

I hope your problem is resolved now.

Regards,

Tanjim Reza

Hello, CRYSTAL!

Thank you for your query.

As far as I understood your question, you want to apply date criteria and multiple Category criteria in your formula to find the average of a different column.

You can accomplish this using the nested

FILTER functionalong with theAVERAGE, EOMONTH,andDAYfunctions and you have to use theplussign between the categories to enable theORcriteria. The final formula would look like this.`=AVERAGE((FILTER('ONLINE MASTER'!$D$2:$D$1000,(('ONLINE MASTER'!$F$2:$F$1000="COMPUTER")+('ONLINE MASTER'!$F$2:$F$1000="TELEPHONE"))*('ONLINE MASTER'!$A$2:$A$1000>=('2022'!$A63-DAY('2022'!$A63)+1))*('ONLINE MASTER'!$A$2:$A$1000<=EOMONTH(('2022'!$A63-DAY('2022'!$A63)+1),0)))))`

I hope this solves your problem.

With Regards,

Md. Tanjim Reza Tanim

Hey, YIANNIS ZOUGANELIS!

Thank you for your query. Hope you are doing well. You have asked some thoughtful questions. I am answering all your queries one by one below.

Q1:First of all, you have asked if it is possible to have the ENTER NEW DATA button on a different worksheet.Yes, this is very much possible. In this regard, you will have to follow the same procedures of the article to create the forms and buttons for everything in the worksheet just where you want the button to appear.

Q2:Second, you want the selected worksheet not to become active. In this regard, you have to change the code a little bit. Say, you have set the button in theMainSheetworksheet. Now, you want to be active in this sheet all along. You don’t want to activate any other selected worksheet.In this regard, create the button and form in the

MainSheetworksheet and then write the code below inside the Code window of theCommand_Button1.Code:`Private Sub CommandButton1_Click()`

`TargetSheet = ListBox1.Value`

`If TargetSheet = "" Then`

`Exit Sub`

`End If`

`Worksheets(TargetSheet).Activate`

`lastRow = ActiveSheet.Cells(Rows.Count, 1).End(xlUp).Row`

`ActiveSheet.Cells(lastRow + 1, 2).Value = TextBox1.Value`

`ActiveSheet.Cells(lastRow + 1, 3).Value = TextBox2.Value`

`ActiveSheet.Cells(lastRow + 1, 4).Value = TextBox3.Value`

`ActiveSheet.Cells(lastRow + 1, 5).Value = TextBox4.Value`

`Worksheets("MainSheet").Activate`

`End Sub`

Q3:Thirdly, you want to search for present values rather than entering values. This is a different thing. Say, you are given the same dataset as per the article. Now, you want to enter only the customer’s name and want to get the contact address, age, and gender. Go through the steps below to achieve this.Steps:Developertab >>Inserttool >>Button (Form Control option)from theForm Controlsgroup.SEARCH for DATA)andright-clickon the button.Assign Macro…option from the context menu.Assign Macrowindow would appear.Newbutton.`Sub Search_Data() UserForm1.Show End Sub`

Inserttab inside the VB Editor and choose theUserFormoption.Toolboxwindow would appear.Labelfrom the window and drag it inside the form area to create a label.TextBoxoption from theToolboxwindow and drag it inside the form area.right-clickon your Search button and choose the optionView Codefrom the context menu.Command ButtonasSearchButtonand write the following code in the VB Editor.Code:`Sub SearchButton_Click()`

`Dim sh As Worksheet`

`Set sh = ThisWorkbook.Sheets("Search")`

`Dim lr As Long`

`lr = sh.Range("B" & Rows.Count).End(xlUp).Row`

`Dim i As Long`

`If Application.WorksheetFunction.CountIf(sh.Range("B:E"), Me.TextBox1.Text) = 0 Then`

`MsgBox "No match found!", vbOKOnly + vbInformation`

`Call Reset`

`Exit Sub`

`End If`

`For i = 2 To lr`

`If sh.Cells(i, "B").Value = Me.TextBox1.Text Then`

`TextBox1 = sh.Cells(i, "B").Value`

`TextBox2 = sh.Cells(i, "C").Value`

`TextBox3 = sh.Cells(i, "D").Value`

`TextBox4 = sh.Cells(i, "E").Value`

`End If`

`Next i`

`End Sub`

`Function Reset()`

`TextBox1.Value = ""`

`TextBox2.Value = ""`

`TextBox3.Value = ""`

`TextBox4.Value = ""`

`End Function`

.xlsm fileto enable the macro.SEARCH for DATA. Thus, the user form will appear.Searchbutton.Finally, you will be able to get your desired automated search result.

Regards,

Tanjim Reza

Hello, PJ!

Hope you are doing well. Thank you for your query.

Cooling time mainly refers to the time elapsed from the end of holding pressure to the opening of the mold. This value depends on various factors like the wall thickness, product shape, mold temperature, melt properties, etc. To get a better product, the cooling time should be as low as possible.

You can search google thoroughly or visit industrial yards to learn about the actual cooling time values.

Regards,

Md. Tanjim Reza Tanim

Hello, NICK!

Hope you are doing well. Thank you for your query.

As we have used different functions in the two methods, the answer varied a little bit, it’s true. But as you can see, this variation is minimal. The final answer is almost equal in both methods. Moreover, the little variation is after the decimal part in a percentage format. So you can neglect this small difference most of the time to calculate the following approximate result.

But if you need a 100% accurate answer, I would suggest you use the manual method.

Regards,

Tanjim Reza

Hello, DJ!

Thank you for your query.

To analyze your problem, I would say it would be impossible to automate the sheet names completely without saving the file as an

xlsmfile.As far as I understood you want to create as many sheets as you want and then extract values from them in other sheets automatically whenever you want. In this regard, you want to address the sheets automatically without writing their names in the formulas.

Now, In this process, VBA codes are the most appropriate to use. Without VBA codes, you have another way to do this by using the

GET.WORKBOOK() function. But, you will need to save the file as anxlsmfile even in this process. But, as your VBA is locked down, I am afraid you would not be able to work withxlsmfile.So, I would say this would be quite impossible to solve your problem with VBA locked down.

Regards,

Tanjim Reza

Hello, ADIL M!

Thank you for your appreciation and query.

Regarding your query, I have thought of two cases.

Case 1:Stacking all data in a single column but different rows with your desired order(A1, A2, B1, B2, and so on).Case 2:Combining data of columns into separate cells, i.e.A1:A4range incell D1,B1:B4range incell D2,C1:C4range incell D3, and so on.Download Link:The file is attached here for you.

Solution.xlsx⊕ 1st Case: Stacking All Data in a Single Column1. Use the following formula in

cell G5.`=INDEX(Data,(MOD(ROW(A1)-1,3)+1),ROUNDUP(ROW(A1)/3,0))`

2. Following, drag the

fill handle downwardto accomplish your full result.Now, this formula may look like a complex one. So, for your better understanding, I am breaking down the formula below.

Formula Breakdown:>> MOD(ROW(A1)-1,3)This will give you the argument of the row number in the

INDEX function. If you drag the fill handle it would give you the next row numbers as per your data range.Result: 1,2,3,1,2,3,1,2,3,1,2,3 (As our range has 3 rows and 4 columns)

>> ROUNDUP(ROW(A1)/3,0)This part will give you the sequence of column numbers for your data range. If you drag the fill handle below you would get all the column numbers individually for all the values of your range.

Result: 1,1,1,2,2,2,3,3,3,4,4,4

>> INDEX(Data,(MOD(ROW(A1)-1,3)+1),ROUNDUP(ROW(A1)/3,0))This will take your lookup array and generate the values individually from the lookup as per the row numbers and column numbers that you have got in the upper processes. So after dragging the fill handle below, you will get the whole data range in a single column in your desired format.

Result: 1, Andy, 6-Jan, 2, Miller, 8-Apr, 3, Keith, 12-Jun, 4, Robert, 19-Aug

⊕ 2nd Case: Combining Data of Columns into Separate CellsYou can also use the

TEXTJOIN functionin this regard.1. Insert the following formula in

cell E5now.`=TEXTJOIN(" ",TRUE,INDEX($B$5:$E$9,ROW($A$1),ROW(A1)):INDEX($B$5:$E$9,ROW($A$5),ROW(A1)))`

Note that the

TEXTJOIN functioncan join an array of text. We have used theINDEX function as cell referencein the formula, to specify the array.2. Following, drag the

fill handle belowto get all results.Formula Breakdown:>> INDEX($B$5:$E$9,ROW($A$1),ROW(A1))This will return you the first row and first column data from your array. Here, you must reference your row_num argument with absolute reference.

Result: 26. 26 is situated in cell B5.

>> INDEX($B$5:$E$9,ROW($A$5),ROW(A1))This will return you the last row of the following column data of your array.

Result: 18. 18 is situated in cell B9.

>> INDEX($B$5:$E$9,ROW($A$1),ROW(A1)):INDEX($B$5:$E$9,ROW($A$5),ROW(A1))This refers to array B5:B9. To get this clearly, evaluate the formula from the

Formulastab.>> TEXTJOIN(” “,TRUE,INDEX($B$5:$E$9,ROW($A$1),ROW(A1)):INDEX($B$5:$E$9,ROW($A$5),ROW(A1)))This will join the texts from the first row to the last row of the first column of data with a space between each row of data.

Result: 26 44 15 25 18

Regards,

Tanjim Reza

Hello, John!

I hope you are doing well.

About your problem, I think your windows list separator is set to semicolon instead of comma. In this regard, follow the steps below to solve your problem.

1.Go to yourWindowsmenu and search for theRunwindow.2.Afterward, open theRunwindow.3.Now, writeintl.cplin theOpen:text box.4.Subsequently, click on theOKbutton.5.As a result, theRegionwindow will appear.6.Following, click on theAdditional settings…button.7.Consequently, theCustomize Formatwindow will appear. Here, you would see theList separator:option is selected assemicolon (;).8.Following, change theList separator:option tocomma (,)>> click on theApplybutton >> click on theOKbutton.9.Now close your Excel app and reopen the file. The formula will work fine.Thus, I hope your problem would be solved now. If it doesn’t, please let us know in the comment section again.

Thanks,

Tanjim Reza

Hi Jay!

Thank you for your query!

Our formula here is correct.

Because, if you use

in Cell K3, and copy it down column K, whenever you write something in column J, the`=IF(J3<>"",NOW(),"")`

NOW functionwill return the same timestamp in all cells of column K (K3, K4, K5,….). You will see no difference in the timestamps and will lose the original entry time.To fix this for each entry, you have to type

in Cell K3, and copy it down the cells of column K. (You have to copy the formula first, even though there is no input in column J yet.)`=IF(J3<>"",IF(K3="",NOW(),K3),"")`

This formula is designed in such a way that the

NOW functionwill not return the current time when there is already a timestamp recorded. Look closely,part ensures that the`IF(K3="",NOW(),K3)`

IF functionwill return what is already in column K cells if there is any priorly.Look at the following GIF image for more clarification.

Regards,

Tanjim Reza

Hi, MICHAEL V BERNOT!

Thank you for your query.

You have pointed out a good problem. To solve your problem remove the

last bracketfrom the givenCustom column formulain the article above.And, another thing, choose the

All Rowsoption in theOperationoption list instead ofCount Rowsin theGroup Bywindow.I hope this solves your problem. Stay with ExcelDemy for more Excel tips, tricks, formulas, and solutions.

Regards,

Tanjim Reza

Hi, Megan!

Thank you for your query.

You can definitely track change for multiple columns. If you want to track change for the A and B columns for row 5, then you can apply the following formula.

`=IF(AND(A5="",B5=""),"",TODAY())`

Then you can use the fill handle feature for all the other rows.

Regards,

Tanjim Reza

Hi, Bill!

Thank you for your query.

Regarding your query, just make a dataset table and use the SUM function or the addition functionality of Excel. In our article, we have used the subtraction functionality; in your requirements, you just need to utilize the addition functionality of Excel.

Regards,

Tanjim Reza

Hi, GILBERT BECHTOL!

Thank you for your query.

In your appeared problem, I would suggest you use the

MONTHfunction to get individual months from each date record. Then,sortthe order from smallest to largest. As a result, you’ll get the billing months of the project in sequential order and thus you can use theINDEXfunction to achieve your target.If your problem still doesn’t fix, please send us your Excel sheet with clearer feedback on your target in this regard.

Regards,

Tanjim Reza

Hi, BIJAN!

Thank you for your query.

You can achieve your desired result following the workflow below:

Hometab >>Editinggroup >>Sort & Filtertool >>Sort Smallest to Largest option.Home tab >>Conditional Formattingtool >>Highlight Cells Rulesoption >>Duplicate Values…option.Duplicate Valueswindow will appear. Choose your desired format and click on theOKbutton.Ctrlkey >> select the duplicate cells >> press theDeletekey.I hope, it helps.

Regards,

Tanjim Reza

Hi, KRISHNA!

Thank you for your query.

About your query, please check if you have put an equal sign (=) in the cell before inserting the formula. Because, on my end, your formula looks perfect. And, I checked it in my Excel sheet and it worked! If it still doesn’t work, please send us your excel file.

Regards,

Tanjim Reza

Hi, JAMAL!

You have pointed out the correct thing in response to BHANU’s problem.

Thank you for your valuable feedback!

Regards,

Tanjim Reza

Hi, BHANU!

Thank you for your query.

As the problem discussed here is sorted from smallest to largest, you would also need to sort your numbers before applying this article’s approach.

Regards,

Tanjim Reza

Hi, BHANU!

Thank you for your query.

As the problem discussed here is sorted from smallest to largest, you would also need to sort your numbers before applying this article’s approach.

Regards,

Tanjim Reza

Hi,

JEFF!Thank you for your query.

I am afraid you can not incorporate this article’s formula into the

SUMIFSformula to perform a loop because we have used theMAXfunction in this article. But, it is a limitation of Excel to use theSUMIFSfunction with theMAXfunction.To know about some other Excel limitations, you can follow the link below:

22 Limitations of Excel That Might Frustrate You

Regards,

Tanjim RezaHi, BANDEET POUDEL!

Thank you for your query.

I am a little bit confused about your query. Are you asking if you can jump to a row upon writing the row number at an instant?

If you are asking this, then the solution is:

You can write the preferred cell’s reference number in the

name boxand press theEnterbutton to jump there in an instant.Please let us know the feedback if your problem is solved or if you meant some other things in your query.

Regards,

Tanjim Reza

Hi, VIJAY!

Thank you for your feedback!

Thank you for your appreciation, JUSTIN!

Thank you for your appreciation, FERREIRA!

Hi, WILL!

Thank you for your query!

You can definitely point to a cell containing the desired date rather than typing it inside the formula. Say, you have placed the required date in the C15 cell.

In that case, you can use the following formula:

Hello, KANHAIYALAL NEWASKAR!

Thank you so much for your appreciation.

We also hope to learn and share more and more knowledge with everyone!

Regards,

Tanjim Reza

Hi, ARUN!

Thank you for your query.

According to our dataset, we have 9 values that are repeated twice or thrice. Other values are unique and have come only once in the dataset. As the formula is about finding the frequent numbers, it is returning those repeated 9 numbers only.

Regards,

Tanjim Reza

Hi, GEOFF BARTLETT! We appreciate your thoughtful query.

Workaround 1:For your first problem

(Surname, forename2 forename1), you can use the formula below:`=SUBSTITUTE((RIGHT($B7,LEN($B7)-FIND("^",SUBSTITUTE($B7," ","^",LEN($B7)-LEN(SUBSTITUTE($B7," ",""))))))&" "&(MID($B7,SEARCH(" ",$B7)+1,SEARCH(" ",$B7,SEARCH(" ",$B7)+1)`

-`(SEARCH(" ",$B7)+1)))&" "&(LEFT($B7,SEARCH(" ",$B7)-1)),",", "")`

And, for your second problem

(Surname, forename2 forename3 forename1)you can use the formula below:`=SUBSTITUTE((RIGHT($B5,LEN($B5)-FIND("^",SUBSTITUTE($B5," ","^",LEN($B5)-LEN(SUBSTITUTE($B5," ",""))))))&" "&(MID($B5,SEARCH(" ",$B5)+1,SEARCH(" ",$B5,SEARCH(" ",$B5)+1)`

-`(SEARCH(" ",$B5)+1)))&" "&"("&(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)))&")"&" "&(LEFT($B5,SEARCH(" ",$B5)-1)),",", "")`

Workaround 2:Besides, another workflow you can use in this regard. That is:

Step 1: Use the Text to Columns tool from the Data tab for splitting every name.

https://www.exceldemy.com/text-to-columns-excel/

Step 2: Sort them according to your desired sequence. Use a helper row for that. Use and finally >>

Last Step: Use the CONCATENATE function to combine them in a cell.

https://www.exceldemy.com/excel-concatenate-function/

Regards,

Tanjim Reza

Hi, JUSTIN!

Thank you for your query.

You can accomplish your desired result by using the formula below:

Regards,

Tanjim Reza

Hi, A!

Thank you for your query.

The FV formula that you need for your solution will be like this:

`=FV([(Interest Rate-Inflation Rate)/Frequency of Payment Per Year],[Frequency of Payment Per Year * Total Years],[-Payment Per Period], Present Value,0)`

So, with your given values, the formula would be:

`=FV(3%,41,-1000,0,0)`

Regards,

Tanjim Reza

Hi, ADRIAAN!

Thank you for your query.

The FV formula that you need for your solution will be like this:

`=FV([(Interest Rate-Inflation Rate)/Frequency of Payment Per Year],[Frequency of Payment Per Year * Total Years],[-Payment Per Period], Present Value,0)`

So, with your given values, the formula would be:

`=FV(3%,41,-1000,0,0)`

Regards,

Tanjim Reza

Hi, ERIC!

Thank you for your valuable feedback.

You have pointed out a nice thing. When the #VALUE! error happens in this regard, it is better to use the find and replace feature to replace ” ” with CHAR(160) before applying the formula.

Regards,

Tanjim Reza

Hi, JO JONES!

Thank you for your query.

Can you please tell me what you meant by the multiple strawberries in the criteria range? Does it mean that you are putting multiple strawberry categories in the range? If yes, then I would suggest you put the full name of the strawberries along with their categories in the cells. As a result, every strawberry name will be unique as per dates. Moreover, if a category has multiple data at multiple dates, then you can look up your value through the unique dates.

If your problem still exists, please let us know your feedback and help us understand your question better.

Regards,

Tanjim Reza

Hi, BRENT!

You have asked a fantastic question.

You can change the fill/text color automatically by using conditional formatting. You can apply multiple rules to a cell using this. To learn about conditional formatting in this regard, you can go to the following link.

https://www.exceldemy.com/excel-conditional-formatting-greater-than-another-cell/

Regards,

Tanjim Reza

Hello, KEITH FROST!

Thank you for your query.

There is no error in your code. You just need to add “filename:=filename” at the ActiveSheet.ExportAsFixedFormat command.

So, just write the export format command line as:

Regards,

Tanjim Reza

Hi, PAOLO!

Thank you for your query.

You have asked about a fantastic thing. If we want to compare the first 6 numbers/match, rather than the full cell value, we have to use the

LEFTfunction in addition to the formulas.So, I would suggest you use the second and third methods shown in this article and use the nested

LEFTfunction inside the VLOOKUP function for the 2nd method and inside the MATCH function for the 3rd method.So, for the second method, the formula would be:

`=IF(ISNA(VLOOKUP(LEFT(A2,4),LEFT($B$2:$B$8,4),1,FALSE)),"NO","YES")`

And, for the third method, the formula would be:

`=IF((ISERROR(MATCH(LEFT(A2,4),LEFT($B$2:$B$8,4),0))),A2,"")`

Have a nice day!

Hi, LAURA!

Thank you for your query.

Your query’s solution is very easy, but a little bit tricky. For the solution, at the name box of a cell, write the cell references of your desired cells where you want to put the same value by copying.

Let, you want to put the number 10 to B2:B160002 cells. Now, write

B2:B160002in thename box. As a result, your desired 160000 cells will be selected. Now, write 10 and pressCtrl + Shift + Enter.Moreover, you can follow one of our articles named “How to Copy and Paste Thousands of Rows in Excel” to know more. The link to this article is given below.

https://www.exceldemy.com/how-to-copy-and-paste-thousands-of-rows-in-excel/

Have a nice day!

Hi, AHMAD AKAR!

Thank you for your query.

You have encountered an interesting problem. Regarding your query, we have a different article already posted on our website. Please follow the link below to learn about the solution to your query.

https://www.exceldemy.com/copy-and-paste-in-excel-when-filter-is-on/

Have a good day!

Hi, BELLA!

Thank you for your appreciation!

Hello, MARK EVANS!

You have pointed out a fantastic thing.

Your reference is correct. We had an unfortunate mistake in the reference to this formula. There will be

L8at the reference in the place of theC10reference.Thank you for your valuable feedback. We appreciate it so much.

So, the formula should be:

`=SUMPRODUCT(D5:I14,(C5:C14=L8)*(D4:I4=L9)*(B5:B14=L7))`

Regards,

Tanjim Reza

Hi PAUL R HARTLEY! Thank you for your query.

You can fix these links easily using the following process.

Go to the

Datatab >>Queries&Connectionsgroup >>Edit Linkstool.Afterward, all the links used in this workbook will be shown to you in the

Edit Linkswindow. Select individual links and click on theCheck Statusbutton for each of them.If you see an Error: Source not found in any status, click on the

Change Sourcebutton. Subsequently, browse your“form”Excel sheet >> click on theOKbutton >> click on theClosebutton of theEdit Linkswindow.Regards,

Tanjim Reza

Hello, W BREKVELD!

Thank you for your query.

Yes, you can multiply a value with the looked-up percentage corresponding with a year. Just use the VLOOKUP function properly. Then write your desired multiplier in the formula bar before the used

VLOOKUP functionand then insert anasterisk (*)symbol.Thus, the value will be multiplied by the looked-up percentage. And, to do this until the current year, use your fill handle feature to copy the same formula.

Regards,

Tanjim Reza

Hello, TEMITOPE!

You have asked a nice thing. Using VLOOKUP with dates is a complex thing sometimes and may result in errors easily. In this regard, you need to use the TEXT function.

Suppose, you have 5 columns in your table. You want the fifth column value for the C16 text and C15 date value. The date column is in the C5:C13 cells. In this situation, you can use the following formula for using VLOOKUP with text and date.

`=VLOOKUP(C16,IF(TEXT(C5:C13,"mm/dd/yy")=TEXT(C15,"mm/dd/yy"), B5:F13, ""), 5, FALSE)`

Thank you for your query. We appreciate it so much.

Regards,

Tanjim Reza

Hello, NIEFER!

You have pointed out a fantastic thing.

It is correct that you don’t need to merge the cells B:D here. You can just enlarge the B column as much as you need. I just wanted to keep the column size closer to each other. That’s why I merged. But, it is not necessary. Rather, it is better to enlarge the B column as the references will be simpler that way.

Thank you NIEFER for your valuable feedback. I appreciate it so much.

Regards,

Tanjim Reza