##### User Posts: Shahriar Abrar Rafid

To mention the results of the formula or cell references, we use the named range. It makes our formula easy and dynamic and makes it easy to understand the ...

Occasionally, we need to find the minimum value in a dataset or an array. For this purpose, we can easily insert the MIN function in the formula. But, in some ...

Many of us employ Excel in our business organizations. In any business organization, we use Excel to analyze data as per need and make databases for the ...

Thankfully, a lot of us utilize Excel in our professional environments. Excel is used in every commercial organization to create databases and organize data as ...

Indeed, Microsoft Excel is a highly effective program. We can execute continuous operations on a given dataset using Excel’s tools and capabilities. In this ...

Are you a business analyst or running your own business farm? Then, you must hear the term sales pipeline. A contract travels through various phases of sales ...

Cost estimation is the basis of project management. In our day-to-day life, we have to design several types of estimation lists or tools. Using Microsoft ...

While working in Excel, sometimes we face situations where there are duplicate values in different columns or we opt to find the value of intersecting cells in ...

In any business or in the corporate sector, data visualisation is a crucial factor. For assessing the performance, or to take any decision based on data, a ...

You could be a businessman, a student, or anything else. Every day, you require a simple calculator. Although Excel itself is a complete calculator, we can ...

Break-even analysis is very important for a business or a company. In the pre-production period, it is necessary to calculate the break-even point of the ...

Permutation is such a great mathematical concept that has a significant impact on every aspect of education. We can see its usage in math, quantum physics, ...

Are you an investor? Or are you willing to buy bonds or government securities? Then, you must want to know the future rate of these financial products. Here ...

6 sigma, also known as process sigma, is an important factor when it comes to the production process. Obviously, you have heard this term if you are a ...

Are you running a small or medium business? Then, you must be concerned about payroll reconciliation. Payroll reconciliation is crucial since it can uncover ...

- 1
- 2
- 3
- …
- 7
- Next Page »

List of Orders

5/31/22 Trucker A to Destination B Price $250

6/01/22 Trucker A to Destination B Price $300

6/05/22 Trucker A to Destination B Price $400

First, sort your

Order Datecolumn byNewest to Oldestorder. Then, useTrucker A to Destination Bas the lookup value. Now, you’ll get the latest price by using theVLOOKUPfunction.Hello AHMED

I think you made an unintentional mistake during the calculation.

After 5 years, the future value would be $243.97. The result would come the same whether you calculate manually or use any function.

Calculating manually, you’ll get the result below.

And, using the FV function the result would come like in the one below.

Hello

LINCHEN NUMBY,Thanks for your comment. Here, we’re very eager to help this kind of new startup.

For ease of understanding, you may download the

workbookto go along with the approach.From your comment above, we’ve made an imaginary dataset for your company. Let’s have a look at this first.

Then, construct a new column named

GroupunderColumn E.After that, select cell

E5and enter the following formula.`=IF(D5>5000,"Key Product",IF(D5>=2000,"Large",IF(D5<2000,"Small")))`

Following this, press

ENTER.Now, bring the cursor to the right-bottom corner of cell

E5; instantly, it’ll look like a plus(+)sign. Basically, it’s theFill Handletool.Currently, double-click on it to get results in the following cells also.

Finally, the results are here.

Alternatively, you can use the following formula instead of the previous one.

`=IFS(D5>5000,"Key Product",D5>2000,"Large",D5<2000,"Small")`

So, that’s all from me on this problem. Feel free to contact us for other inquiries. Follow our website

Exceldemyto explore more about Excel.Hello

Elaine,First, it feels good to see your interest in learning it. That motivates us to work hard.

Now, coming back to your question. Here you intend to enter the

End Date Statusautomatically. Yes, that’s a very good thought. In this era of automation, why should we lag behind? Hahahaha…. Okay, let’s get to the solution now.There could be

4separate conditions.First, theLast Follow-up Datecould be before theEnd Dateof the study and the patient isdeadat theLast Follow-up Date.Second, theLast Follow-up Datecould be after theEnd Dateof the study and the patient isdeadat theLast Follow-up Date.Third, theLast Follow-up Datecould be before theEnd Dateof the study and the patient isaliveat theLast Follow-up Date. And thefourth, theLast Follow-up Datecould be after theEnd Dateof the study and the patient isaliveat theLast Follow-up Date. So, how can we determine theEnd Date Statusfor these situations? Let’s see the steps below.• Firstly, go to cell

G5and enter the following formula.`=IFS(AND(E5=1,D5<F5),1,AND(E5=1,D5>F5),0,AND(E5=0,D5<F5),"?",AND(E5=0,D5>F5),0)`

Here, we used the

IFS functionwhere we inserted those 4 conditions aslogical_testand their output asvalue_if_true. Further, we used theAND functionto join two conditions together.• Finally, press

ENTER.That’s all from me on this. Don’t forget to visit our website,

Exceldemy, a one-stop Excel solution provider, to explore more.Stay well and healthy. Happy Excelling ☕.

Hello

Jane,Hope this article is useful for you. I’ve got your problem. The main reason behind it is using the

COUNT function. TheCOUNT functioncannot count theTextvalues. So, you’ve to use theCOUNTA functionin this case. You maydownload the workbookfor a better understanding. See the following image.Here, in cell

B10, we can see the total count as0and in cellC10, the total count is5. Because in the left cell, we used theCOUNT functionwhich is unsuccessful to retrieve the total number of sales reps. But, theCOUNTA functionin the right cell gives us the right result.The formula we used in cell

B10is the following.`="Total: "&COUNT(B5:B9)`

And the formula in cell

C10is given below.`="Total: "&COUNTA(C5:C9)`

That’s all from me on this topic. Happy Excelling…

Hello

Emily,It is very motivating for us when someone benefits from using our method. Now getting back to your query. You can use a simple copy-paste feature to overcome this issue. Let’s see the process below for a better understanding.

• Firstly, select cells in the

C5:C13range.• Then, press the

CTRLkey followed by theCkey on the keyboard.This command copies the whole range.

• After that, right-click on cell

E5.• In the context menu, select

Values (V)in thePaste Options.You can see the data pasted in the new place.

• Additionally, select cells in the

B5:B13range andC4:C13range also.• Therefore, delete them using the

Deletebutton.• At this time, press

CTRL+Cto copy the cells in theD5:D13range.• Henceforth, go to cell

B5and paste them by pressingCTRL+V.Finally, you get the desired result.

Hello

TANJA,Hope you are doing good. Thanks for your query.

specifically, which method’s formula isn’t working for you? If you said that, I could understand well. Because all formulas are working on my PC.

The error message “

There is a problem with this formula” usually appears when there is an issue with the syntax of the formula. If we takeMethod 2as example, the following is the formula we used in cell E5:`=MIN((DATEDIF(C5,TODAY(),"d")+1)/(DATEDIF(C5,D5,"d")+1),100%)`

It’s possible that the issue is related to the regional settings or the version of Excel being used on your PC. The formula we are using includes a percentage sign (“

%“), which represents a percentage value. Depending on the regional settings or version of Excel being used, the formula may not recognize the percentage sign as a valid argument. To avoid any potential compatibility issues, you can modify the formula to use a decimal value instead of a percentage. For example, you can use “1” to represent100%. I just told it as an example. It could be better if you tell me which formula isn’t working and which Excel version are you using.Hope you can understand me. Happy Excelling.

Regards,

SHAHRIAR ABRAR RAFIDTeam

ExcelDemyHello

DOMJI,I cannot understand why are you trying to combine these two formulas. You can get your desired output just by using the formula with the

COUNTIF function.`=COUNTIF($B$2:B2,B2)&":"&B2`

Using this formula, you can get the

[Occurrence: Item]format in the output. You cannot use theCOUNTIF functionwithINDEXandSEQUENCEfunctions as they return array output.Hope this helps. Let us know if you have any other things to know.

Regards,

SHAHRIAR ABRAR RAFIDTeam

ExcelDemyHello

GEORGI,Thanks for appreciating our work. We are also happy to release you from prolonged suffering. Now, get back to your query.

Sure, you can alter the “

Destination” parameter of the “QueryTables.Add” method in your script to specify a specific range to extract from the Google sheet.For instance, you could change the code such that it retrieves data from cells

A1toE10of the sheet:The “

ul” variable in this modified code has the addition “&range=A1:E10” to identify the range to extract from. Also, the starting cell where the extracted data will be stored is specified by the “Destination” parameter in the “QueryTables.Add” method, which is set to “$A$4“.I hope this helps. I wanted to personally invite you to check out our new Excel-related forum. We’ve created a space for Excel enthusiasts like us to share tips, tricks, and ideas, as well as to ask and answer questions about using Excel. We’re a growing community of Excel users, and we’d love to have you join us!

Here’s the link to our forum:

ExcelDemy ForumRegards,

SHAHRIAR ABRAR RAFIDTeam

ExcelDemyHello,

Thank you for your kind words, sir. I don’t really know French, so I didn’t understand at first. Then I used Google Translator to extract its meaning into English. I’m glad to hear that our article was helpful to you, and I hope it will save you time and effort in the future. Don’t worry about taking your time to learn new skills, it’s never too late to start! If you have any further questions or feedback, please don’t hesitate to let us know.

In French:Merci pour vos aimables paroles, monsieur. Je ne connais pas vraiment le français, donc je n’ai pas compris tout de suite. Ensuite, j’ai utilisé Google Traduction pour en extraire le sens en anglais. Je suis heureux d’apprendre que notre article vous a été utile et j’espère qu’il vous fera gagner du temps et des efforts à l’avenir. Ne vous inquiétez pas de prendre votre temps pour apprendre de nouvelles compétences, il n’est jamais trop tard pour commencer ! Si vous avez d’autres questions ou commentaires, n’hésitez pas à nous en faire part.

Best regards

SHAHRIAR ABRAR RAFIDTeam ExcelDemy

Hello

REZA,Thanks for commenting and asking your valuable question. Actually, it’s quite costly to do it with

VBA. Because of this, you have to enable theGoogle Sheets API, and quite expensive. So I wouldn’t suggest it.Rather, you can use

Google Driveor theImportfeature ofGoogle Sheetsto do this task easily. You can follow thislinked article on our websiteto get the whole idea.Anyway, if you want to do it with

VBA, you can follow this lengthy process:Google Sheets APIfor your Google account and create a project in the Google Developers Console. Here are the steps to enable the Google Sheets API and create a project in the Google Developers Console:Just make sure to change specific things in your own code. Hope this could help you. Again, thanks to you.

Regards

SHAHRIAR ABRAR RAFIDTeam ExcelDemy

Hello

SEUN OLALEYE,Hope you are doing all well. Let’s get into your query first.

In this case, the

Log-Likelihoodformula doesn’t rely on the number of independent variables. In the case of5independent variables, the formula would be the same. The change will happen in the formula of theLogitvalue (X).`X = b0 + (b1 * ind var 1) + (b2 * ind var 2) + (b3 * ind var 3) + (b4 * ind var 4) + (b5 * ind var 5)`

The only change will happen here. All the remaining formulas will be the same.

For a better understanding, please go through the entire article again. Happy Excelling.

Regards,

SHAHRIAR ABRAR RAFIDTeam ExcelDemy

Hi

JORGE,You asked for an interesting extension of this documentation. It’s all the same. Just have to make some modifications. Follow the code below:

Here, we renamed the function to

Driving_Time. And changed themitUrlvariable.Also, we modified the last line of the code to:

Here, we divided with

60to get the time inminutes. Otherwise, it’ll return the time inseconds.Hope, you find it helpful. Btw, are you Spanish? I like the spelling of your name. Thanks again.

Regards,

SHAHRIAR ABRAR RAFIDTeam

ExcelDemyHello

PAUL B,I actually like to use this feature of

VBAthat variables don’t need to be declared before. But, obviously, usingOption Explicitis a good practice to follow in all yourVBAprojects because it helps ensure that your code is free from potential bugs related to undeclared or misspelled variables.By the way, thanks for your appreciation

PAUL. Your such comments motivate us to move forward.Regards,

SHAHRIAR ABRAR RAFIDTeam

ExcelDemyHello again

SALIH,How are you? I know it feels so irritating when your script doesn’t run properly. So, I’ve come up with a bit of modification to the previous one. Hope it’ll not disappoint you.

Thanks for your query. Feel free to ask if you need any assistance regarding Excel or Office-related applications. Happy Excelling…

Regards,

Shahriar Abrar RafidTeam

ExcelDemyHello

SALIH,The “

Copy” method is not permitted for the object “mTable,” according to the error message “Object doesn’t support this property or method.” Instead, you may use the script to copy the data from themTableto the bottom of the ExistingTable:Rather than replicating the full mTable in this code, “

mTable.DataBodyRange.Copy” merely copies the table’s data range. The copied data is then put into the newly inserted row using the “ExistingTable.ListRows.Add” and “ExistingTable.ListRows(ExistingTable.ListRows.Count).Range.PasteSpecial xlPasteValues” commands.Also, with VBA, there are different approaches to copying every row of a table to the bottom of another table. Another option is to copy every entry from the data source to the bottom of the

target table using a loop:

This code uses the “

For i = 1 To mTable.DataBodyRange.Rows.Count” statement to iterate through each row in the source table’s data body range. “ExistingTable.ListRows.Add” is used to add a new row to the bottom of the destination table for each row, and “ExistingTable.ListRows(ExistingTable.ListRows.Count).Range.Value = mTable.DataBodyRange.Rows(i).Value” is used to copy the values from the current row of the source table to the new row of the destination table.Hello

JOHAN,First, thanks for your query. Actually, dynamic named ranges created with

OFFSET, andCOUNTAfunctions don’t work when copied to another workbook. You can use a workaround instead. Follow the steps below.• At first, open the

Name Manager.• Then, click on any name and tap on the

Editbutton.Instantly, it will open the

Edit Namedialog box.• Here, change the previous formula in the

Refers tobox and give this new one.`=INDEX(Sheet1!$B$2:$C$23,0,MATCH(Sheet1!$C$2,Sheet1!$B$2:$C$2,0))`

• As usual, click

OK.• Similarly, do the same for the second name also. The formula for this is similar also.

`=INDEX(Sheet1!$B$2:$C$22,0,MATCH(Sheet1!$B$2,Sheet1!$B$2:$C$2,0))`

Now, watch the

GIF. It’s working in the new workbook.And the chart is still dynamic. It’s changing while you are inputting new values.

That’s all from me on this topic. Hope you find this helpful. Follow our website

ExcelDemyto explore more about Excel. Happy Excelling.Regards

SHAHRIAR ABRAR RAFIDExcel & VBA Content Developer

Team ExcelDemy

Hello

SUSAN,Thanks for your comment. I think there may be another problem with your file. Because it’s still working in our workbook. Could you please share your

Excel Workbookwith us? You can send it through the mail[email protected]easily.Regards,

SHAHRIAR ABRAR RAFIDExcel & VBA Content Developer

Team ExcelDemy

Hello

HANNA,First of all, thanks for your valuable comment. I think I have got your problem. Follow the steps below.

Here’s a sample and simple dataset that I created from your query.

Now, using this dataset, we’ll pick the top 3 Salesman names and their corresponding sales amount.

• At first, go to cell

B16and enter the following formula.`=INDEX($B$5:$B$13,MATCH(LARGE($C$5:$C$13,1),$C$5:$C$13,0))`

• Then, press

ENTER.• After that, bring the cursor to the right-bottom corner of cell

B16and you will find theFill Handletool visible.• Now, drag the tool up to cell

B18.In the following cells of

Column B, change theargument of thekLARGE functionaccording to the position. See the image below.• To obtain their sales amount, go to cell

C16and insert the formula below.`=LARGE($C$5:$C$13,1)`

• As usual, tap

ENTER.You can add an extra column just beside the dataset to show the rank of the salesmen according to their sales amount. The formula used in cell

D5is the following.`=RANK(C5,$C$5:$C$13)`

That’s all from me on this topic. Hope you find this helpful. Follow our website

ExcelDemyto explore more about Excel. Happy Excelling.Regards

SHAHRIAR ABRAR RAFIDExcel & VBA Content Developer

Team ExcelDemy

Hello

LINDSEY SERVE,Sorry to hear about the problem you are facing. Have you tried it with the

Practice Workbook? I tried it again and it still works. Are you trying it with your own workbook? Then, I think there could be some issues with this file. I could help you if you share it with us through the mail[email protected]. Thanks again.Regards,

Shahriar Abrar RafidExcel & VBA Content Developer

Team ExcelDemy

Hello

LINDSEY SERVE,Sorry to hear about the problem you are facing. Have you tried it with the

Practice Workbook? I tried it again and it still works. Are you trying it with your own workbook? Then, I think there could be some issues with this file. I could help you if you share it with us in the mail ID[email protected]. Thanks again.Regards,

Shahriar Abrar RafidExcel & VBA Content Developer

Team ExcelDemy

Hello

OLAWANDE,I get your question. It’s a pleasure to us that our readers read our content well and ask us questions if they don’t get it. Also, they give us positive feedback. Thanks,

OLAWANDE.Now, getting back to your query. You wanted to know the purpose of

ROW()-6in this formula. To understand it, you have to have a clear concept of theINDEX functionand its arguments. Syntax of theINDEX functionin array form is like the following.`=INDEX(array, row_num,[column_num])`

If you match this structure with the formula, you can easily perceive that

ROW()-6is theargument of thecolumn_numINDEX function.Now, look at the worksheet. At first, we want to get the

Ageof this person. The output range is inRow 8. So, for cellI8, theROW functionwill return us8. After that, subtracting6from this, we get2. Then, look at the array which isB4:F17. In this array, which column contains the Ages?? Obviously, thesecondcolumn. That’s howROW()-6gives us the column number to match in the array.Similarly, to find the

Sexin cellI9, we used the same formula. Here,ROW()-6returns us3. And the3rdcolumn of the array contains theSexof the people.I think you understood now, how this part of the formula works. Thanks again for your beautiful comment. You may visit our website,

ExcelDemy, a one-stop Excel solution provider, to explore more.Regards,

Shahriar Abrar RafidExcel & VBA Content Developer

Team ExcelDemy

Hello

JOEY,Actually, those columns have been deleted. If there were any data you would understand then. But, you got confused because all the deleted columns get replaced instantly with new ones and it happens so fast that we cannot detect it with our eyes. If you fill the first row with all columns and then apply this method, you could realize the change.

Thanks for your feedback. Please visit our website,

ExcelDemy, a one-stop Excel solution provider, to explore more.Hello

KYLE,Obviously, you can do that for dates also. See the image below.

Here, we retrieved the

Priceof a product withcriteria. One is the2Product Name, another criterion is thedate. The formula we used in cellI5is the following.`=INDEX($E$5:$E$16,MATCH(1,(($B$5:$B$16=G5)*($D$5:$D$16>=H5)*($C$5:$C$16<=H5)),0))`

You can go through the article

How to Use INDEX MATCH with Multiple Criteria for Date Rangeon our website for an explanation of this formula and other methods to do the same task.Anyway, I hope that helps. You may follow our website,

ExcelDemy, a one-stop Excel solution provider, to explore more. Happy Excelling.Regards,

Shahriar Abrar Rafid

Excel & VBA Content Developer

ExcelDemy

Hello

THORSTEN LEMANN,I’ve got your problem. I tried to replicate your dataset and also, applied the

VLOOKUP functionto fetch the monthly sales of a particular sales rep based on his/herID. See the image below.Notice that my

is in the first column of mylookup_value. Always make sure to maintain this. Otherwise, thetable_arraywill not work. Your mistake was that you were keeping yourVLOOKUP functionin the second column of yourlookup_value. That’s why the formula wasn’t operating and showingtable_array#N/Aas output.So, be cautious next time. That’s all from me on this topic. You may follow our website,

ExcelDemy, a one-stop Excel solution provider, to explore more. Happy Excelling.Hello

NEA KYTONEN,I’ve understood your problem. Don’t worry, I have the solution also. See the image below.

This is quite a long dataset. This worksheet has

rows. So, whenever you scroll down in the sheet, the column headers go up and get vanished from the display like the following image.716As a result, you cannot see the headings and you messed up with a huge amount of data. There is an easy solution to this problem. See the steps below.

• At first, select the row just under the header row. Here, it is

Row 5.• Then, go to the

Viewtab.• After that, click on the

Freeze Panesdrop-down on theWindowgroup of commands.• Lastly, select the

Freeze Panesfeature.Now, you can see we have scrolled down to

Row 77still headings are there in their positions.That’s all from me on this topic. Hope you find it helpful. Let us know if you have any other issues respecting Excel. Also, follow our website,

ExcelDemy, a one-stop Excel solution provider to explore more.Hello

REBECCA,Thanks for your feedback. We are very glad to feel that our readers study our articles attentively. I am very sorry that method was not added. Now, I’m showing the way step by step for your convenience.

• At first, select the cells in the

B4:F14range.• Then, press the

CTRLkey followed by theTon your keyboard.Immediately, the

Create Tabledialog box appears.• Secondly, click

OK.As a result, the normal data range is converted into a table.

• Thirdly, select cells in the

Studentcolumn.• Then, go to the

Datatab.• Now, click on

Sort A to Z.You can see that the whole dataset became sorted along with this column.

That’s all from me on this topic. Again, many thanks to you for your subtle observations. I’ll inform it to our editorial team to fix it. We always hope for such positive comments. Follow our website,

ExcelDemy, a one stop Excel solution provider, to explore more.Regards,

Shahriar AbrarExcel & VBA Content Developer

Exceldemy

Hello

JACOB,Thanks for your appreciation first. Now coming back to your question. I understood your problem easily. It takes a great effort if you try to remove those extra spaces manually from the cells one by one. But no problem. We have a smart workaround for you. Just follow the following steps.

We can see that there are some spaces in cells in the

C5:C8range which we want to remove.• Firstly, press

CTRL+Fon your keyboard.• Immediately, the

Find and Replacedialog box appears• Secondly, go to the

Replacetab.• In the

Find whatbox, type down a single blank space.• Keep the

Replace withbox blank.• After that, click on the

Replace Allbutton.Instantly, it’ll show a message box with the message “

All done. We made 20 replacements.”. Also, the extra spaces are gone in the dataset.Additionally, you can go through the article

How to Remove Blank Spaces in Excelin our website to know more techniques regarding this problem. Also, follow our website,ExcelDemy, a one stop Excel solution provider to explore more. Happy Excelling.It’s my pleasure. I’m happy to be of service.

Hello

ERICA,Here, I’m showing a way to solve your problem. I believe this will help you on this matter.

I’ve prepared a dummy file with

20products. Assume it is theFile from Wholesaler.On the other hand, the following is your own Excel sheet that you maintain for the

Site. For convenience, I kept the columns blank.Here, I just gave some SKU code in

Column Band the other data will be extracted from theFile from Wholesaler. So, let’s see it.• Firstly, open both files in Excel.

• Secondly, go to the

File for Website.• Now, select cell

C5and enter theVLOOKUP function.`=VLOOKUP(B5,`

Here,

B5is thethat we want to search for.lookup_value• Then, move to the other workbook

File from Wholesaler.• Here, select the whole range of data. In this case, I selected data in the

B4:E24range. This is theargument of the function.table_array• Afterward, we want to know the name of the

Productcorresponding to this code. And the Products are in the2ndcolumn of this table array. So, we wrote down2as.col_index_num`=VLOOKUP(B5,Wholesaler.xlsx!Product,2)`

• Following this, press

ENTER.You can see the result in cell

C5.• Thenceforth, double-click on the

Fill Handle.• And get the full result in the following cells.

You can retrieve the value in other columns in the same method. Just you have to change the

in the formula. See how we wrote the formula to get the value of Sales.col_index_num`=VLOOKUP(B5,Wholesaler.xlsx!Product,4)`

So, I think this would be enough to help you. Otherwise, you can go through the article

How to Link Two Workbooks in Excelto do the same task in multiple ways. Please follow our website,ExcelDemy, a one-stop Excel solution provider, to explore more.Hello

V SHANTHI,First of all, thanks for your appreciation. Now, let’s get back to your query. Here, you wanted to add a new column for showing the leave balance of employees. If you want to do this on a monthly basis, follow the steps below.

• At first, create a new column with the heading

Leave BalanceunderColumn AO.• Then, go to cell

AO6and enter the following formula.`=4-AN6`

Here, we assumed

4leaves can be taken in a month. It could be changed according to your need.• After that, press the

ENTERbutton.• Now, bring your cursor to the right-bottom corner of cell

AO6and it’ll look like a plus(+)sign. It’s theFill Handletool.• Afterward, double-click on it.

You can see the results in the following cells also.

On the other hand, if you find out the employee leave balance or remaining leaves on a yearly basis, you can follow the article

How to Track Employee Vacation Time in Excelon our website.So, that’s all from me on this topic. Please visit our website,

ExcelDemy, to explore more. Happy Excelling.Hi

RAV,It would be great if you share your Excel workbook. Because this formula works fine with criteria from other worksheets in our workbook.

See the screenshot below.

In

Sheet3, we inserted the formula and gave all the arguments fromSheet2.`=IFERROR(INDEX('INDEX - SMALL Formula'!$B$2:$B$12,SMALL(IF('INDEX - SMALL Formula'!$C$2:$C$12=G$4,ROW('INDEX - SMALL Formula'!$B$2:$B$12)-1),ROW('INDEX - SMALL Formula'!1:1)),1),"")`

And, it’s working without any errors. So, there must be another problem with your workbook. So, please share it with us thus we can solve your issue.

If there is any other problem regarding Excel, you can let us know. Also, follow our website,

ExcelDemy, a one-stop Excel solution provider to explore more. Happy Excelling.Hello

ANTHONY,Here, we’ll get the value of the last cell of a row and show it in cell

C14.But, as per your condition, we’ll retrieve this value from another workbook named

Sales. Now, we want to extract the value of the last cell ofRow 5from theDatasetworksheet of this workbook.To do this,

• At first, select cell

C14and call theINDEX function.• Then, select cells in the

B5:E5range.• After that, insert the

COUNTA functionand select the same range as the argument.• As usual, press the

ENTERbutton.• Finally, you can see the result in cell

C14and the final form of the formula is like the following.`=INDEX([Sales.xlsx]Dataset!$A$5:$D$5,COUNTA([Sales.xlsx]Dataset!$A$5:$D$5))`

Here, the part inside the square brackets are the name of the workbook. And the part before the exclamation mark and after the square bracket is the name of the worksheet.

That’s how you can do it from another workbook. It’s all from me on this topic. Follow our website,

ExcelDemy, a one-stop Excel solution provider, to explore more.Hello

DIALLO,Thanks for your appreciation. I can get the problem you are facing with your worksheet.

Here, we have a dummy dataset in our hands to replicate your problem. It’s a

Sales Reportof a particular grocery store.From the above dataset, we can clearly notice that there is a total of two sales that are greater than $15000, and others are less than this amount.

Now, we’ll show how you would do it in your workbook.

• At the very beginning, select cells in the

B5:D14range.• After that, go to the

Hometab.• Then, click on the

Conditional Formattingdrop-down on theStylesgroup.• Next, select

New Rulefrom the list.In the

New Formatting Ruledialog box,• At first, choose

Use a formula to determine which cells to formatunder theSelect a Rule Typesection.• Secondly, write down the following in the

Format values where this formula is truebox.`=D5<=15000`

• Thirdly, click on the

Formatbutton.The

Format Cellsdialog box appears.• Firstly, move to the

Filltab.• Following this, select

RedasBackground Color.• Later, click

OK.• Also, click

OKin theNew Formatting Ruledialog box.Immediately, it shows us faulty formatting which we don’t want.

So, how can we fix it? Don’t worry! We just have to edit the formula.

To do this,

• Initially, proceed to the

Hometab.• Then, click on the

Conditional Formattingdrop-down.• From the drop-down list, select

Manage Rules.Suddenly, it opens the

Conditional Formatting Rules Manager.• Primarily, select

This Worksheetin theShow formatting rule forbox.• Secondarily, select the rule.

• Thirdly, click on

Edit Rule.• Change the formula a little bit. Just add a (

$) sign beforeD5.• Lastly, click

OK.• Again, click

OK.Now, you can see the correct formatting according to your preference.

That’s all from me on this. Keep the good vibes. You can follow our website

Exceldemy, a one-stop Excel solution provider to explore more. Happy Excelling☕…..Hello,

First of all, download the

Practice Workbookfor better understanding.I think you’ve talked about the following phenomena. Let’s see the following image.

Now, you want to match the items in

Column 2020with the items inColumn 2019.For this, copy the cells in the

B5:B12range.Then, paste them in the

E5:E12range.After that, go to cell

F5and enter the following formula.`=IF(COUNTIF(C5:C12,B5:B12)>0,B5:B12,"")`

As usual, press

ENTER.Note:It’s an array formula. If you are using Microsoft Excel 365 then you can easily run the formula by pressing theENTERkey. Otherwise, you have to tap theCTRL+SHIFT+ENTERkeys simultaneously to make the formula work.Hope that will work for you. Follow our blog

Exceldemyto learn more about Excel.Hello

ROMA,Sorry for being late. And we love to solve our user’s problems.

First of all, download the

Practice Workbookfor your own convenience.• At the very beginning, we’ve made a relevant dataset for your problem.

• Then, make a new row in

Row 9with the headingTotal Monthly Sales. Also, a new columnTotal SalesinColumn F.• Later, select cell

C9and enter the formula below.`=SUM(C5:C8)`

• Next, press

ENTER.• Alternatively, press

ALT+=on the keyboard as a shortcut to do the same task.• Now, get the cursor to the bottom-right corner of cell

C9; instantly, it will look like a plus(+)sign. Actually, it’s theFill Handletool.• Thus, drag it to the right corner of cell

E9.Therefore, we get the desired results in other cells too.

• Similarly, go to cell

F5and paste the following formula.`=SUM(C5:E5)`

• As usual, press

ENTER.Currently, we’ll insert the chart.

• Firstly, go to the

Inserttab.• Secondly, click on

Insert Column or Bar Chartdropdown on theChartsgroup.• Thirdly, select

2-D Clustered Columnfrom the available options.As a result, we can see a blank chart on the worksheet.

• Then, right-click anywhere on the chart area.

• It opens a context menu. Hence, choose

Select Datafrom the options.Immediately, the

Select Data Sourcedialog box opens.• Here, click on the

Addbutton under theLegend Entries (Series)section.Instantly, the

Edit Seriesinput box appears.• Then, give the

Series nameasMonthly Sales.• In the box of Series values, give the reference of the

C9:E9range.• After that, click

OK.• Thenceforth, click on the

Editbutton under theHorizontal (Category) Axis Labels.• Following this, give the reference of the

C4:E4range in theAxis label rangebox.• After that, click

OK.It returns us to the

Select Data Sourcedialog box again.• Next, press the

OKbutton.Simply, a column chart will be visible on the worksheet. It includes the month-wise sales amount.

• Hereafter, add

Axis TitlesandLegendto the chart using theAdd Chart Elementoption.Now, we’ll create the second chart as per your question.

• Similarly, insert another blank chart and open the

Select Data Sourcedialog box.• Then, click on

Add.• Then, in the

Edit Seriesdialog box, do the following as in the image below.• Also, change the

Horizontal Axis Labelslike before.• After that, click

OK.Here is the desired chart of employee-wise total sales.

• Bring some edits to the chart to make it more appealing.

Hello

DEANNA,First of all, many many thanks for your appreciation. At the end of the day, these kinds of words motivate us a lot. Now, get back to your query.

For your convenience, download this

practice workbook.Firstly, we’ve created a dataset as per your description. We’ve constructed an imaginary

Weekly Sales Reportof your company. Let’s see the following picture.Now, we’ll find out how many sales reps cannot cross the Sales Amount of

$350in a week.At first, go to cell

D11and enter the following formula into the cell.`=COUNTIF(D5:D9,"<350")`

Secondly, press the

ENTERkey.Here, we can see that Excel returns

2as result. Because two employees made sales amount below$350which arePerson 2andPerson 5. We think you wanted to know about this part.As a bonus, we’ll teach you one more trick. You can get a more specific answer with this. Guess, if you wanted to know how many sales reps made sales amount below

$350in a specific zone. Let’s say, in theWestzone. Obviously, you can crack this too.Firstly, select cell

D11and write down the formula below.`=COUNTIFS(D5:D9,"<350",C5:C9,"West")`

As usual, tap

ENTER.The result is

1because there is only oneSales Repin theWestzone with aSales Amountless than$350who isPerson 2.To explore more about Excel, please visit our website

Exceldemy: One-stop Excel solution provider…Hello Dave,

Thanks for your humble appearance. But we always welcome informing us about your concerns. Now, without further delay, let’s dive into the problem.

At first, download the

Practice Workbookfor your own convenience.From your example above, I’ve created a dataset. Let’s look at the image below for a better understanding.

• To solve the problem, firstly, we are creating a new column named

Helper Column to Get Date Only. Also, created a final output range in cellD14.• Secondly, select cell

D7and enter the following formula.`=DATE(YEAR(B7),MONTH(B7),DAY(B7))`

This formula filters out the date only from the date and time in cell

B7.• Then, press the

ENTERkey.• After that, use the

Fill Handletool to get results in the remaining cells.• Thirdly, go to cell

D14and paste the formula below.`=MAX(IF(D7:D12=D4,B7:C12))`

We used the

MAXandIFfunctions in the formula above. Using theIF function, we inserted a logical test that checks if the dates in theD7:D12range equals to the date in cellD4. If the result isTRUE, then it displays an array of corresponding dates and times in theB7:C12range. Then, theMAX functiongets the maximum value among them.• As usual, press

ENTER.Currently, it’s showing the time in

Generalformat. So, we’ve to change the cell formatting.• To do this, press

CTRL+1to open theFormat Cellsdialog box.• In the

Numbertab, selectTimeformat asCategory.• Then, choose the formatting

Typeas shown in the picture below.• Lastly, click

OK.Finally, we got our desired output format. And the result is correct also.

That’s all about it. If you find any difficulty regarding this example or any other problems related to Excel, feel free to contact us. You can also follow our

Exceldemyblog for the most detailed solutions to any problems in Excel.Hello

MOHAMAD,Thanks for your valuable comment. We always expect such positive feedback from our users.

As you said, here we’ve shown the simple exponential method only. The main reason for this is that we didn’t only want to emphasize exponential smoothing; rather we wanted to cover all conceivable methods of data smoothing. If so happened the article would then be extremely lengthy.

But you can find triple exponential smoothing widely called the

Holt-Winters Exponential Smoothingon our website also. This method is very much adaptable for data with seasonal patterns.Thanks Again.

Hello

Siam A,In the first place, thanks for your this kind of support. This is what motivates us to move forward.

Now, let’s get back to your problem. Here, I’ve created a dataset from the information you provided in the comment. Get a look at the dataset first.

Then, in cell

F5, we’ll fetch the minimum value ofA. As the dataset is small enough, we can see that the min value ofAis180. Let’s see if we get the same value with our formula.Firstly, select cell

F5and write down the following formula into the cell.`=IF(B5:B13="A",C5:C13)`

Then, press

ENTER.Here, we got an array in

Column F. If the corresponding cell inColumn BholdsA, then in the cell inColumn F, we get the consecutive value ofA. Otherwise, it returnsFALSE.After that, apply the

MIN functionwith the formula to find the minimum value from the array.So, again, go to cell

F5and edit the formula. Now, it’ll look like the one below.`=MIN(IF(B5:B13="A",C5:C13))`

Thus, press

ENTER.Finally, we’ve got the min value of

A.Similarly, we can obtain the min value of

B. Just, select cellF6and paste the following formula.`=MIN(IF(B5:B13="B",C5:C13))`

Then, press the

ENTERkey.Corresponding, get the minimum of value of

C. Just write downCinside the double quote marks of the formula..Note:The problem withVLOOKUPis that it always get the first value for the lookup value. For example, using theVLOOKUP functionto get the minimum value ofB, you’ll always receive360. Because, after retrieving the value360it doesn’t go down further. But the correct result should be160You can download the

practice workbookfor better understanding.Hope you will find the solution helpful. Don’t forget to subscribe to our website

Exceldemy: One-stop Excel sotuion provider…If your workbook is shared, anyone who has Write privileges can clear the read-only status.

Follow

Method 1. Paste Link Option. Just make a little bit of change. SelectPaste Specials>Other Paste Options>Linked Picture.In this situation, you can use an easy alternative. Try using:

=COUNTA(UNIQUE(date range))The above formula can easily count the unique date values.