##### User Posts: Shahriar

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 ...

When you prepare, access, or publish a Microsoft Excel workbook, it can have content that you do not wish to expose to others while sending the workbook ...

Memory issues are fairly common while using the Microsoft Excel program. The user's productivity is hampered by one of Excel's error warnings, and fixing the ...

If you have the latitude and longitude of a particular place, you can find out the address of this place using Excel. OMG!! So cool, isn’t it? In this article, ...

Nowadays, Google Sheets is very convenient and suitable for syncing and working together simultaneously. For various purposes, you may need to extract data ...

Are you an Industrial Production Engineer? Or do you have an interest in supply chain, system, and production engineering? Then, fasten the seat belt because ...

You can construct a conditional formula to conduct a computation when a cell contains a particular value. If the condition is true, a conditional formula ...

In our office and business work, we use Excel to calculate and organize a huge amount of data. Sometimes we feel the necessity to count some data with certain ...

Date Filter is such a powerful tool that it can organize dates as well as months and years. Besides, you can easily retrieve your data based on your ...

The COUNT function in Excel helps us to count the number of cells containing numerical values within a given range. This is one of the most popular statistical ...

Undoubtedly, Microsoft Excel and Google Sheets are two of the most useful and popular tools for data analysis. Nowadays, Google Sheets is very popular for ...

Microsoft Excel is a powerful tool, and it helps users to perform different tasks easily. Users create datasets to represent data. The datasets consist of rows ...

Microsoft Excel is a powerful software. We can perform numerous operations on our datasets using the tools and features of Excel. Sometimes, we have to make ...

- 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

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.