Disclosure: This post may contain affiliate links, meaning when you click the links and make a purchase, we receive a commission.

User Posts: Durjoy Paul
How to Show Only One Page in Excel Page Layout View (4 Ways)

Sometimes we have to deal with large datasets. In most cases, one or two columns go to the 2nd page which makes the dataset bad to work on. In that case, we ...

How to Print Labels from Excel in Word (with Easy Steps)

If you want to print labels then Microsoft Excel and Word can be the best solution. You can create a list of label data in Microsoft Excel After that get that ...

How to Make an Excel Spreadsheet Look Like a Form

Sometimes you need to add numerous data in Excel. In that case, you can turn your Excel spreadsheet into a form. You may make some mistakes while putting a ...

How to Repeat Column Headings on Each Page in Excel (3 Ways)

When we work with an extensive dataset, Excel tends to show the column headings on the first page. On the other pages, there will be no headings. So, every ...

Auto Numbering in Excel After Row Insert (5 Suitable Examples)

When you work with a dataset where you need to insert more data but the numbering is not changing accordingly. Now, it is very time-consuming to use a manual ...

How to Hide Chart Series with No Data in Excel (4 Easy Methods)

Sometimes there is a situation when you plot a chart in Excel but some of your data is missing from the dataset. In that case, we will see that portion as ...

How to Create Monthly Trend Chart in Excel (4 Easy Ways)

A trend chart is a chart that shows the general pattern of data over time. The trendline is used to represent the future of the data. In Microsoft Excel, you ...

How to Create 4 Quadrant Bubble Chart in Excel (With Easy Steps)

A quadrant bubble chart can be defined as a chart that is divided into four equal sections. 4 Quadrant bubble chart is necessary to plot data that contains ...

How to Create Dynamic Excel Charts with Drop-Down List (3 Ways)

When you are working with a dataset that needs to plot on a chart, you will try to create dynamic Excel charts with a drop-down list. A dynamic chart can ...

How to Create Stacked Bar Chart with Line in Excel (2 Suitable Examples)

A stacked bar chart can be defined as a chart that shows a comparison between the data. It has a unique ability to compare parts of a whole. This article will ...

What Is a Chart Legend in Excel? (Detailed Analysis)

The chart legend reflects the data displayed on the Y-axis which is also known as series. By default, it will appear on the bottom or right side of the chart. ...

How to Add Vertical Line to Scatter Plot in Excel (2 Easy Methods)

In Microsoft Excel, it is quite easy to draw a horizontal line on any chart. But when it comes to adding a vertical line, it becomes really tough to add a ...

How to Format Data Labels in Excel (with Easy Steps)

In Microsoft Excel, we have a platform where you can format data labels. Basically, we can modify the chart data labels by using format data labels in Excel. ...

How to Dynamically Change Excel Chart Data (3 Effective Methods)

When you work on a data chart, you may need to change your data in some cases. For a static chart, you must create a new one from the beginning, which is very ...

How to Improve Excel Performance with Large Files (15 Effective Ways)

When we work with a large file, we find it difficult in terms of Excel performance. It is really painful to have Excel with bad performance. It decreases the ...

Browsing All Comments By: Durjoy Paul
  1. Hi Niki,
    To find out the price, you need to calculate the product of unit and unit quantity. Your sheet 1 denotes the unit of rate 1, rate 2, rate 3, and rate 4. The unit quantity will be found in sheet 2. So, in that case, you can apply the VLOOKUP formula to get the specific unit and unit quantity. You can use the following formula to calculate.
    First, you need to define the value you are looking for. Here, J8 refers to the lookup value. After that, define the table array where you think the required answer can remain. Then, define the column number of the expected result. Finally, use false to get the exact match. Then, we have to multiply the result of the first VLOOKUP by the result of the second VLOOKUP.
    As we put the unit in sheet 1, we have to look up the rate 1 unit by utilizing the VLOOKUP function. First, define rate 1 as the lookup value. Then, set the table array in sheet 1. After that, define the column number of the expected result. Finally, use false to get the exact match.
    The product of these two values will give the price of rate 1. Do the same procedure for other cases.
    Do you get your preferred answer? check on it. Otherwise, give us a more accurate question. We are always ready to help you.
    Thank you.

  2. Hello Anton,
    First of all, you have to create three columns including items produced in 2018. Here, we need to paste the same value as items produced in 2019. Just one or two blanks in there.

    Then, take a new cell and write down the following formula.


    Here, the range becomes (D5:D12 as the column of items produced in 2020 changes. Then, the criterion becomes B5:C19. Here, it follows if the condition match for both cells then it will return the value. Otherwise, it returns blank. After that, press Ctrl+Shift+Enter as it is an array formula.
    Here, you can see, that the product Trousers is available in 2019 and 2020. but, we give criteria for products in 2018 and 2019. As they don’t find trousers in 2018, that’s why you won’t get them in the result. So, you will get the products that are available in both 2018 and 2019.

  3. Hello BOMBSHELLSHOCK, first, you need to convert your dataset into Excel table format. To do that, you have to select your whole dataset and go to the Insert tab on the ribbon. After that, select Table from the Tables group. As a result, it will convert your dataset into a table. Then, you can write something in the last row and column and press Enter. As a result, Excel will insert new rows and columns into your Excel table. So, to perform the whole process, you must convert your dataset into a table. Mind it.
    If you face any more problems, you can share them with us. We are happy to deal with it and provide you with a proper solution.

  4. Hello Tomas,
    You can store these non-object events in a personal file module. The solution is applicable to any module. First, you need to define the time value perfectly. To do that, you may use the following code.
    Application.OnTime TimeValue(“11:48:00 am”), “DisplayAlarm”
    If you set the time value properly, then there will be no problem in any module. Hope you get your required solution.

  5. Hello Nathan,
    first of all, if you want to use sum color function, you can use the following code.

    Function SumByCol(SumRange As Range, SumColor As Range)
    Dim SumColValue As Integer
    Dim TotSum As Long
    SumColValue = SumColor.Interior.ColorIndex
    Set pCell = SumRange
    For Each pCell In SumRange
    If pCell.Interior.ColorIndex = SumColValue Then
    TotSum = TotSum + pCell.Value
    End If
    Next pCell
    SumByCol = TotSum
    End Function

    Then, close the VBA code and select any cell where you want to put the sum value. After that, write the following formula
    Where the range of cells C5 to C10 defines the range. C13 defines the color. You need to show only color in one cell. From where you can take the reference. Here, C13 denotes that color reference. So, when you want to change the color, you have to change the color reference also.

  6. Hello Helen,
    You can do it without using the find and replace command. To do this follow the steps carefully.
    1. First, go to the Formula tab on the ribbon.
    2. Then, Select Show Formulas from the Formula Auditing section.

    3. As a result, it will show you the formulas that you use in the workbook.

    4. Now, copy the formulas and paste them into a notepad.

    5. Then, press Ctrl+A to select all and after that, press Ctrl+C to copy.
    6. In a new workbook, paste it by pressing Ctrl +V. As a consequence, you will see the formulas are copied accurately without a reference workbook.

  7. Hello Mark,
    We have sent you a mail. Can you see it and give us a response?

  8. Hello Craig,
    We are not dealing with SharePoint at this moment. So, I can’t give you a proper solution to this problem. In the future, if we work with SharePoint, we will get back to you and provide you with a useful solution.

  9. Hello Jorge,
    This is an array formula. It must be completed by pressing Ctrl+Shift+Enter. Otherwise, it won’t work. For a normal formula, we press only Enter. But for an array, you have to press Ctrl+Shift+Enter. I hope you get your solution. If you find any more problems, feel free to ask in the comment box. We are always here to help you.

  10. Hello Laura,
    I hope you are doing well. If you want to use a VBA code that can only paste values instead of a straight paste, you may use the following one.

    Sub Paste_Row_Values()
    a = Worksheets(“Dataset2”).Cells(Rows.Count, 1).End(xlUp).Row
    For i = 2 To a
    If Worksheets(“Dataset2”).Cells(i, 4).Value = “CLAIMS” Then
    b = Worksheets(“CLAIMS”).Cells(Rows.Count, 1).End(xlUp).Row
    Worksheets(“CLAIMS”).Cells(b + 1, 1).Select
    ActiveCell.PasteSpecial Paste:=xlPasteValues

    End If
    Application.CutCopyMode = False
    ThisWorkbook.Worksheets(“Dataset2”).Cells(1, 1).Select
    End Sub

    I think you get your required solution. By using this code, you can paste the row values without any format. If you have any further queries, feel free to connect us.

  11. Hello Kane,

    You need to put the picture in one cell. Just resize it and put the image in a single cell then apply the sorting. I think you will get your desired result.

    1. First, change the row height of the cell to adjust the image in the cell or resize it to adjust it in a single cell.

    2. Then, select the range of cells. Go to the Data tab and select your preferred sorting.

    3. Finally, you will see the image is also changing its place while sorting.

  12. Hello rick, Thanks for your valuable feedback.

  13. Hello Mark SIMONS and GVG,
    Can you please share your Excel dataset with us? Then, we will try our best to provide you with the required solution.

  14. Hello Thanks,
    In the first 4 paragraphs, we use =VLOOKUP(D14,B4:F12,5,FALSE) this formula. Here, we define the range of cells. So, when we define column number as 5, Excel will count from column B as the first column.
    Whereas, =VLOOKUP($C5,$H$5:$J$9,COLUMN()-3,0) in this equation, we use Column() function. This function will count the column number from column A. So, when you have COLUMN()-3 and are in column E, it will be 5-3= 2.
    So, I hope you understand it clearly. If you have further queries, feel free to ask in the comment box.

  15. Hello Roger,
    Can you please share your Excel dataset with us? We will try our best to solve your problem. Because in our Excel 365, the conditional formatting works perfectly for absolute and relative cell references in both cases.

  16. Hello UGEN,
    First, select the range of cells including the column with merged cells. Then, press Alt+;(Semicolon) which will select your visible cells only. After that, press Ctrl + C to copy. Finally, apply Ctrl+V to paste the range of cells into your desired position. I hope this will solve your problem. If you have any more questions, feel free to contact us. We will try our best to solve the problem.

  17. Hello Tawfik,
    Can you please share your Excel file with us? We will try our best to solve your problem.

  18. Hello Swaroop,
    can you please share your Excel file and explain the question clearly?
    Because we didn’t sort our first two rows in this example also.

  19. Hello, Can you please email us your Excel dataset with the problem?

    We will try our best to give you a proper solution.

  20. Hello Chris, in option one, you need to insert the VBA code first. After that, you can apply the ColorFunction. Otherwise, you will face difficulties.
    If you don’t get the solution yet, you can send your worksheet. We will take a look closely and find the required solution.

  21. Hi Henrik, to highlight rows in Excel, you need to apply VBA code in that certain worksheet like this article. Otherwise, you need to run the code every time when you go to the next row and highlight it. This is a major disadvantage of this method. If you need to apply in all the worksheets, then you need to utilize the following code.

    Sub Highlights_Active_Row()
    Static xRow
    If xRow <> “” Then
    With Rows(xRow).Interior
    .ColorIndex = xlNone
    End With
    End If
    Active_Row = Selection.Row
    xRow = Active_Row
    With Rows(Active_Row).Interior
    .ColorIndex = 7
    .Pattern = xlSolid
    End With
    End Sub

    Note: Remember every time you go to the next row, you have to run the code every single time.

  22. Hi Amber, You can’t undo anything after applying the VBA code. This is one of the drawbacks of Excel.

  23. Hello Brow, yes you are right. It should be Row(A1) = HighlightActiveRow

  24. Hey Luna, did you solve the problem using the VBA code? If you face further problems, feel free to share them in the comment box. We are eager to help you to get the desired result.

  25. Hey Max, try the following VBA code

    Sub Changing_Date_Format_Using_Condition()
    Dim i As Integer

    i = InputBox(“Enter a Number”)

    If i = 2 Then
    Range(“A1”).NumberFormat = “mm/dd/yyyy”
    ElseIf i = 10 Then
    Range(“A2”).NumberFormat = “dddd-dd-mmm-yy”
    Range(“A3”).NumberFormat = “mmm-yy”
    End If

    End Sub

    Is this your required solution? If not then explain more about it. We will help you to get the result.

  26. Hey Stacy, You can read the following article to get just the date to display in the linked cell


    Otherwise, you can go to the developer tab on the ribbon. Then, select Add-ins from the Add-ins group. In that Add-ins, add Mini Calendar and Date Picker. From there, you can add only the date in the linked cell.
    Try this solution, I think you will get your desired result. If you have more problems inform us.

  27. ⇒OFFSET($B$2,ROUNDUP(ROWS($1:1)/3,0)-1,MOD(ROWS($1:1)-1,3)) : In the OFFSET formula, you need to put the cell reference, rows and cols number.
    ⇒OFFSET($B$2………): Here $B$2 is the cell reference of the OFFSET function.

    ⇒OFFSET($B$2, ROUNDUP(ROWS($1:1)/3,0)-1……): Here, the ROUNDUP function gives the specific number of rows down. ROWS function provides the number of rows in a given array. Here, the cell reference is $1:1. So, the Rows function returns 1. As we have three rows in our dataset. So, divide the return value of the Rows function by 3. It will return 0.333. Then, the ROUNDUP value will round the number into the nearest whole number. The whole number of 0.333 is 1. After that, subtract 1 from it. So, the final value is 0 which is the required rows down.

    ⇒OFFSET($B$2,ROUNDUP(ROWS($1:1)/3,0)-1,MOD(ROWS($1:1)-1,3)): To extract the columns right, we utilize the MOD function. It gives a reminder after a number is divided by the divisor. First, the Rows function provides the number of rows from the given array. Here, it returns 1. Then, subtract 1 from the return value. Then, divide the value by the total number of columns. The MOD function will return the reminder. Here, it returns 0.
    So, for cell reference $B$2 and rows 0 down and cols 0 right, it returns Arif as our answer. Do the same for other cases.
    Try this solution I think you will get your desired result. If you face any more problems, inform us.

  28. To extract color information of conditional formatting cells, you need to follow the steps

    1. First, use the conditional formattings in your dataset.
    2. Then, click on the Dialog Box Launcher (Small tilted arrow beside Clipboard) from the Clipboard group.
    3. After that, click on Clear All from there.
    4. Copy the conditionally formatted range.
    5. Now, select a new cell where you want to paste your conditional formatting range color only.
    6. After that, click on Paste All from the Clipboard group.
    7. Now, remove the numbers and only remains the conditional formatting colors.
    8. Now, use =Background or =getLeftColor or =getRightColor just like this article, you will get your desired color information.

    Try this solution I think you will get your desired result. If you face any more problems, inform us.