Osman Goni Ridwan

About author

OSMAN GONI RIDWAN is a marine engineer who loves exploring Excel and VBA programming. Programming, to him, is a time-saving tool for efficiently managing data, files, and internet tasks. He is proficient in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, Excel, and VBA and goes beyond the basics. Armed with a B.Sc in Naval Architecture & Marine Engineering from BUET, OSMAN has transitioned into the role of a content developer. Specializing in creating technical content exclusively centered around Excel and VBA, he later took on the responsibility of leading a team to develop quality content in this domain. Beyond his work, find him immersed in books, exploring new places during travels, and enjoying movies and TV series in his downtime.

Designation

Team Leader at ExcelDemy in SOFTEKO.

Lives in

Dhaka, Bangladesh.

Education

Expertise

Rhino3D, Maxsurf, C++, MS Office, AutoCAD, and Excel & VBA

Experience

  • Technical Content Writing
  • Team Management

Summary

  • He is currently working as a Team Leader at ExcelDemy.
  • Started technical content writing of Excel & VBA for ExcelDemy in March 2022.

Research & Publication

Latest Posts From Osman Goni Ridwan

0
HLOOKUP Practice Exercises with Answers

In this article, you will get HLOOKUP exercises with answers for practice. When data is arranged row-wise this article will help you to get exact and ...

0
How to Apply the Excel COUNTIF Function in a Pivot Table Calculated Field

  The dataset showcases sales information. Use the COUNTIF function to calculate the number of days with total sales greater than 100 units. ...

1
How to Translate Excel File to English (2 Easy Ways)

You have come to the right place if you are looking for the answer or some unique tips to translate Excel file to English. There are some easy ways to ...

0
Excel Data Validation Greyed Out (4 Reasons with Solutions)

You have come to the right place if you are looking for the answer or some unique tips to fix the problem when data validation is greyed out in Excel. There ...

0
If Value Exists in Column Then Copy Another Cell in Excel (3 Ways)

You have come to the right place if you are looking for the answer or some unique tips to copy another cell if a value exists in a column in Excel. There are 3 ...

0
CSV File Not Opening Correctly in Excel (4 Cases with Solutions)

You have come to the right place if you are looking for the answer or some unique tips to fix the issue that the CSV file is not opening correctly in Excel. ...

0
How to Create Weekly Comparison Chart in Excel

You have come to the right place if you are looking for the answer or some unique tips to create a weekly comparison chart in Excel. There are some easy steps ...

0
How to Copy Chart in Excel Without Linking Data (with Easy Steps)

You have come to the right place if you are looking for the answer or some unique tips to copy chart without linking data in Excel. There are some ways to copy ...

0
Salary Deduction Formula in Excel for Late Coming – 5 Examples

  What Are Salary Deduction Rules? Many companies follow strict rules, applying a salary deduction when employees are late. Salary Deduction ...

0
How to Create Ledger Balance Sheet in Excel (with Easy Steps)

You have come to the right place if you are looking for the answer or some unique tips to create a ledger balance sheet in Excel There are some quick steps to ...

0
Excel VLOOKUP for Partial Match in Table Array (3 Examples)

If you are searching for some tutorial about how to use VLOOKUP for a partial match in any table array of Excel then you have landed in the right place. There ...

0
How to Make a Histogram in Excel Using Data Analysis

If you are searching for a solution or some special tricks to make a histogram in Excel using data analysis then you have landed in the right place. There are ...

0
How to Plot Sieve Analysis Graph in Excel (with Quick Steps)

If you are searching for a solution or some special tricks to plot the Sieve Analysis graph in Excel then you have landed in the right place. There are some ...

0
How to Average Only Visible Cells in Excel (3 Quick Methods)

If you are searching for a solution or some special tricks to average only visible cells in Excel then you have landed in the right place. There are some ways ...

0
Convert Time Zone with Daylight Savings in Excel (2 Cases)

If you are searching for a solution or some special tricks to convert time zone to daylight savings in Excel then you have landed in the right place. There are ...

Browsing All Comments By: Osman Goni Ridwan
  1. Reply Avatar photo
    Osman Goni Ridwan Dec 24, 2023 at 10:51 AM

    Hi Paulie,
    Thanks for your comment. The VBA code is working completely fine from our end. Can you please share your workbook (.xlsm) file so we can check and find out the error easily?

    Regards
    ExcelDemy Team

  2. Reply Avatar photo
    Osman Goni Ridwan Dec 10, 2023 at 2:35 PM

    Hi John,
    Thanks for your comment. Follow the below procedures for your purpose:
    1. Get Multiple Results Using INDEX-MATCH Formula Based on 2 Criteria from the Same Column
    Insert the following formula for the same case given in the article but to get values horizontally. After inserting formula in cell C27, drag the fill handle icon till it gives blank results.
    =IFERROR(INDEX($C$6:$C$20, SMALL(IF(ISNUMBER(MATCH($D$6:$D$20, $C$23:$C$24, 0)), MATCH(ROW($D$6:$D$20), ROW($D$6:$D$20)), “”), COLUMNS($E$10:E10))),””)
    null

    2. Get Multiple Results Using INDEX-MATCH Formula Based on 2 Criteria from Different Columns
    Similary for getting multiple results based on 2 criteria from different columns for same case given in the article but in horizontal direction, insert the following formula in cell C27 and drag the fill handle icon till it gives blank results.
    =IFERROR(INDEX($D$6:$D$20, SMALL(IF(ISNUMBER(MATCH($B$6:$B$20, $C$23, 0)*MATCH($C$6:$C$20,$C$24,0)), MATCH(ROW($B$6:$B$20), ROW($B$6:$B$20)), “”), COLUMNS($E$10:E10))),””)

    You can download the modified workbook from this link for your purpose. Hope, your problem will be solved. If not, share with us in the reply or you can share your workbook in ExcelDemy Forum.

    Best Regards,
    ExcelDemy Team

  3. Reply Avatar photo
    Osman Goni Ridwan Dec 10, 2023 at 12:22 PM

    Hi Sue,
    Thanks for your comment. In the formulas given in the article to retrieve the City name, we used SUBSTITUTE to remove extra spaces, find the position of the first comma, and extract the city name using the MID function. Also, we had to insert the length of the city name manually. If you want to make it dynamic, you can use the following formula in cell D5:
    Dynamic Formula to Retrieve City Name from Full Address:
    =MID(B5, FIND(“,”, B5) + 1, FIND(“,”, B5, FIND(“,”, B5) + 1) – FIND(“,”, B5) – 1)
    This formula finds the position of the 1st and 2nd commas and extracts all characters between them to get the city name.

    And for state names, we have used formula to retrieve only those in the abbreviated formats. If you want to get state names in full forms, then use the given formula:
    Dynamic Formula to Retrieve Full State Name from Full Address:
    =MID(B5, FIND(“,”, B5, FIND(“,”, B5) + 1) + 2, FIND(“,”, B5, FIND(“,”, B5, FIND(“,”, B5) + 1) + 1) – FIND(“,”, B5, FIND(“,”, B5) + 1) – 2)

    Using this formula, you will get all characters between the 2nd and 3rd comma. Thus you will get the state name in full form.

    Hope, your problem will be solved. If not, share with us in the reply or you can share your workbook in the ExcelDemy Forum.

    Best Regards,
    ExcelDemy Team

  4. Reply Avatar photo
    Osman Goni Ridwan Nov 30, 2023 at 2:23 PM

    Hi KIEL,
    Thanks for your question. Actually, you may seem that the choice of using prior year prices for Volume Variance and current year volumes for Price Variance is wrong, but it aligns with certain assumptions and conventions often used in variance analysis. Let me explain the reasoning behind this choice:

    1. Volume Variance based on Prior Year Price:
    The assumption here is that changes in quantities sold are evaluated against the prices of the prior year. Volume Variance assesses the impact of selling more or fewer units than planned at the prior year’s prices. Using the prior year’s price isolates the impact of changes in quantity sold, assuming that the pricing structure from the prior year remains relevant.

    2. Price Variance based on Current Year Volume:
    Here, we’re checking how price changes between this year and last year affect earnings, considering the amount sold this year. We assume that this year’s sales volume reflects the current business situation, and any price changes are looked at based on this year’s sales.

    I think you have understood the matter. If you have any further queries please inform us in the reply.

    Warm Regards,
    ExcelDemy Team

  5. Reply Avatar photo
    Osman Goni Ridwan Nov 9, 2023 at 11:41 AM

    Hi Strike,
    Thanks for your comment. The Mix Variance formula provided in the article is based on Revenue rather than Quantity because it is intended to capture the impact of changes in the sales mix of different products on revenue, which includes both price and quantity components. Here’s the formula:

    Mix Variance = Revenue PY * (Price PY – Average Price PY) * Mix Change / 100

    By using Revenue PY in the formula, you are considering both the price and quantity component. Thus it becomes a comprehensive way to evaluate how the mix of products contributed to changes in revenue. It provides a more complete picture of why the revenue changed. Using Quantity alone would only consider the quantity component and not account for price changes, which are also crucial in understanding revenue variations.

    If you have any further query, then please inform us in the reply section.

    Regards,
    ExcelDemy Team

  6. Reply Avatar photo
    Osman Goni Ridwan Nov 5, 2023 at 11:18 AM

    Hi BP,
    Thank you for your comment. To solve the sequencing problem, you may go through these two articles,

    1. Solving Sequencing Problems Using Excel Solver Solution

    2. Sequencing problem using Johnson’s algorithm of scheduling n-jobs on 2-machines

    Please go through these articles. If you have any further queries then please inform us in the reply.

    Thanks and regards,
    ExcelDemy Team

  7. Reply Avatar photo
    Osman Goni Ridwan Oct 25, 2023 at 11:56 AM

    Hi Harrison,
    Thanks for your comment. Calculating the probability of success of a project is actually a complex task that depends on various factors. One common approach is to use a weighted scoring system based on certain criteria for each project. Here’s a simplified template you can use:

    Step 1: Define Criteria and Assign Weights

    =>> Create a list of criteria that are important for determining the success of a project. These criteria may include factors such as budget, timeline, team expertise, market demand, and alignment with strategic goals.

    =>> Assign weights to each criterion to reflect their relative importance. For example, if the timeline is more critical than the budget, you might assign a higher weight to the timeline criterion.

    Step 2: Evaluate Each Project

    =>> Assess each project in your portfolio against the defined criteria. You can use a scale (e.g., 1 to 10) to rate each project’s performance on each criterion.

    =>> Multiply the ratings by the assigned weights for each criterion and calculate the weighted score for each project.

    Step 3: Calculate Probability of Success

    =>> Add up the weighted scores for each project to get a total score. The total score represents the overall potential for project success.

    =>> You can then convert this total score into a probability of success. This step is somewhat subjective, and you might need to set specific thresholds for what constitutes a “high probability of success“. For example, you could establish that a total score above a certain threshold (e.g., 80 out of 100) indicates a high probability of success.

    =>> You may want to use historical data or expert judgment to help determine the relationship between total scores and success probabilities.

    Finally, you can express the probability of success as a percentage. For instance, if a project has a total score of 85 out of 100, and this is associated with a high probability of success, you could say that the project has an 85% chance of success.

  8. Reply Avatar photo
    Osman Goni Ridwan Oct 22, 2023 at 1:45 PM

    Hello Nivedita,
    Thanks for your comment. Here, “112500” represents the tax amount to be added to the calculated TDS when the annual salary income (C11) exceeds 1,000,000 (1 million) and falls within the highest tax slab.

    To break it down further:

    >> If the annual salary income (C11) is greater than 1,000,000, it means that the individual’s income falls into the highest income tax slab.
    >> In this highest tax slab, the formula applies a tax rate of 30% to the portion of income above 1,000,000. It calculates the tax on this portion and adds 112,500 to the result.

    Inform us in the comment if you have any more confusion.

    Regards,
    ExcelDemy Team

  9. Reply Avatar photo
    Osman Goni Ridwan Oct 8, 2023 at 11:59 AM

    Hello Komal!
    Thanks for your comment. I see that you are facing some troubles while running the Date Picker UserForm macro. As you have created some more text boxes so I have the following suggestion that you should check:

    >> Check that all the textboxes should be inside one UserForm. Also, check whether all the macro codes are written for the same UserForm or not. They all must be under same UserForm to be run properly.

    If still you are facing issue then please send us your workboook for this you can post it the ExcelDemy Forum. As the file is working completely fine from our end, it is necessary to have your workbook to find the error.

    Regards

  10. Reply Avatar photo
    Osman Goni Ridwan Oct 5, 2023 at 5:02 PM

    Hi Ketayla!
    Thanks for the comment. There were some errors in the formula of Lowest Debt Calculation and I have fixed it. Also for your convenience, I have added the debt 4 in the workbook. Following the same method, you can create a formula yourself for debt 5, debt 6, and more. You can download the file from this link.
    Here is the image of the solution:

    Thanks for supporting us! If you face any other problem with any other topic then reply in the comment section.

  11. Reply Avatar photo
    Osman Goni Ridwan Oct 4, 2023 at 12:05 PM

    Hello Ankit,
    Thanks for sharing your problem. The file is working completely fine from our end. So, if you think your Excel VBA function is not working after saving and reopening the workbook, there could be several reasons for this issue. Here are some common troubleshooting steps to help you resolve the problem:

    1. Check for Macro Security Settings:
    >> Excel has a security feature that may disable macros by default.
    >> Make sure that macros are enabled in your Excel settings.
    >> Go to “File” > “Options” > “Trust Center” > “Trust Center Settings.” Under “Macro Settings,” select “Enable all macros” or “Enable macros for this session” to allow macros to run.

    2. Check Workbook FIle Extension
    Check if the VBA code is stored in a macro-enabled workbook (with the .xlsm file extension) rather than a regular .xlsx workbook. Macros won’t run in regular Excel workbooks.

    3. Check Event Triggers:
    Check that we have used the code associated with each worksheet. Make sure that these events are still properly associated with the worksheets in your file.

    I believe by following these steps, you should be able to identify and resolve the issue. Please inform us of the outcome in a reply. Thanks for staying with us!

  12. Reply Avatar photo
    Osman Goni Ridwan Oct 2, 2023 at 6:42 PM

    Hello AM!
    Thanks for your comment. To schedule the audit workload and assign resources, you can create an Audit Plan Template. To do this, you have to assign these parameters. I am listing the items with proper descriptions:
    1. Particulars: This column should describe the specific audit item or task that needs to be checked or reviewed. It could be a process, financial statement, or any other aspect of the audit.
    2. Frequency: This column specifies how often the particular item is audited. For example, it might be done annually, quarterly, monthly, or as needed.
    3. Extent of Check: This column outlines the depth or scope of the audit procedure. It could be a high-level review or any other specified level of scrutiny.
    4. Records Available On: This column indicates where the relevant records or documents are available. 5. Target Start and End Date: These columns define the planned dates for starting and completing the audit procedure for the particular item.
    6. Actual Start and End Date: These columns record the actual dates when the audit procedure for the specific item started and ended.
    7. Total Hours: This column can be used to record the total number of hours spent on auditing the particular item.
    8. Staff’s Name: This column mentions the name of the staff or auditor responsible for conducting the audit for the particular item.
    9. Staff’s Initial: This column can be used for the staff member’s initials or code for identification purposes.
    10. Remarks: This column allows auditors to provide comments or notes related to the audit of the specific item. This can include observations, findings, issues, or any other relevant information.

    Here, you can see the image of the template that I have made for you. Also, you can download the template from the following link.
    Audit Plan Template

  13. Hello AMIR,

    Hope you are doing well and thank you for your query. You can extract comments from word document with their respective locations in an Excel sheet. For this, you can use the following code:
    Sub ExtractCommentsFromWordToExcel()
    Dim cmt As Comment
    Dim j As Long: j = 1
    Dim xAPP As Excel.Application
    Dim xWB As Excel.Workbook
    Set xAPP = CreateObject(“Excel.Application”)
    xAPP.Visible = True
    Set xWB = xAPP.Workbooks.Add

    With xWB.Worksheets(1)
    For Each cmt In ActiveDocument.Comments
    .Cells(j, 1).Value = cmt.Range.Text
    .Cells(j, 2).Value = “Page ” & cmt.Scope.Information(wdActiveEndPageNumber) & “, Section ” & cmt.Scope.Sections(1).Range.Information(wdActiveEndSectionNumber)
    .Cells(j, 3).Value = Format(cmt.Date, “dd/MM/yyyy”)
    j = j + 1
    Next cmt
    End With

    Set xWB = Nothing
    Set xAPP = Nothing
    End Sub

    Here is an image displaying the result in Excel sheet:

    Hope you find this useful. Have a good day. Please let us know if you have any further queries. Also, you can post your Excel-related problems in the ExcelDemy Forum with images or Excel workbooks.

  14. Reply Avatar photo
    Osman Goni Ridwan May 14, 2023 at 11:29 AM

    Hello MATT!
    Thanks for the comment. Mistakenly I forgot to insert the VBA code in the article but now I have corrected it and added the VBA code in the article so it will be helpful for the readers to use in their workbooks.
    Thanks again. Please, browse ExcelDemy blogs for more Excel related problems. Also you can take help for your Excel related problems by posting it in our ExcelDemy Forum with your workbooks.

    Regards
    Osman Goni Ridwan

  15. Reply Avatar photo
    Osman Goni Ridwan May 3, 2023 at 5:14 PM

    Hello ANDREW,
    Hope you are doing well and thank you for your query. You can use VLOOKUP and MAX functions among other methods to look for a value when the value you want to analyze for is in columns D through O.
    You can use the following formula.
    =MAX(VLOOKUP(A2,Sheet2!$A$2:$O$11,{4,5,6,7,8,9,10,11,12,13,14,15},0))
    You can find the solution to your problem in the Excel file linked to this reply.
    VLOOKUP and MAX to Look for Max Value
    Regarding your query of product names changing in accordance with your changing the names in Sheet 1, you can use cell reference to copy the product names in Sheet 2. This will look for the correct row of data in Sheet 2.
    Here is a screenshot of the results in the Excel file.

    Hope you find this useful. Have a good day. Please let us know if you have any further queries. Also, you can post your Excel-related problems in the ExcelDemy Forum with images or Excel workbooks.
    Regards,
    ExcelDemy Team

  16. Reply Avatar photo
    Osman Goni Ridwan Apr 30, 2023 at 3:16 PM

    Hello BUAN,

    The Data Types option is not available for Excel 2019 version.
    It is only available for Excel for Microsoft 365, Excel for Microsoft 365 for Mac, and Excel for the web.
    You need to buy a subscription to Microsoft 365 to use these options.
    If you have any further queries, kindly post them on our Exceldemy Forum.

    Regards
    Exceldemy Team

  17. Reply Avatar photo
    Osman Goni Ridwan Oct 11, 2022 at 3:45 PM

    Hello FELICIA SANTOS,
    I hope you are doing well! Here, I have created a dataset as you have described and calculated the total amount spent per category.
    >> Here, you have to insert the name of the category in cell F5.
    >> Then, insert the following formula into cell G5:
    =SUMPRODUCT(D3:D10*(C3:C10=F5))


    Thus, you will get the sum of the amount as per the selected category.

    I hope, your problem will be solved in this way. You can share more problems in an email at [email protected]

  18. Reply Avatar photo
    Osman Goni Ridwan Oct 11, 2022 at 1:19 PM

    Hello JULIO!
    Hope you are doing well. In our dataset, Method 7 is working properly without any errors. If you are facing errors, that can be for the following reasons:

    1. If any cells that are used in the TEXTJOIN function exceed 252 characters.
    2. If the output of the TEXTJOIN function exceeds 32672 characters which is the cell limit in Excel.
    3. And, sometimes Excel fails to identify the delimiter as text. For this, you should use delimiters inside the inverted commas and shouldn’t use the CHAR functions to generate any symbols.

    I hope, your problem will be solved in this way. You can share more problems in an email at [email protected]

  19. Reply Avatar photo
    Osman Goni Ridwan Oct 3, 2022 at 8:39 AM

    Hello BRYAN!
    As per your question, I have added a new portion in the article which contains the method how you can calculate the accrued time after the completion of probationary period automatically.

    I hope, your problem will be solved in this way. You can share more problems in an email at [email protected]

  20. Reply Avatar photo
    Osman Goni Ridwan Sep 12, 2022 at 9:57 AM

    Hello ALLISON!
    you can use the “Use of SUMIF with INDEX-MATCH Functions to Sum under Multiple Criteria” method for your problem. Here, we have used the brand name as criteria and you can substitute it by Year. See this screenshot below:

     two criteria along the top

    While using this method, you have to fill in both criteria. So, you must put both the year’s and month’s values.

    I hope, your problem will be solved in this way. You can share more problems in an email at [email protected]

  21. Reply Avatar photo
    Osman Goni Ridwan Sep 12, 2022 at 9:29 AM

    Hello JUSTINA!
    I have an easy solution to your problem. To copy data of range Sheet1 (A10072:AT10801) to range Sheet 2 (A10772:AT10801), you can use this VBA Code.

    Sub copy_to_another_worksheet()
    Worksheets("Sheet1").Range("A10072:AT10801").Copy _
    Worksheets("Sheet2").Range("A10772:AT10801")
    End Sub

    And to copy data of range Sheet 1 (A10802:AT10831) to the range Sheet 2 (A10802:AT10831), use the following VBA code-

    Sub copy_to_another_worksheet()
    Worksheets("Sheet1").Range("A10802:AT10831").Copy _
    Worksheets("Sheet2").Range("A10802:AT10831")
    End Sub

    I hope, your problem will be solved in this way. You can share more problems in an email at [email protected]

  22. Reply Avatar photo
    Osman Goni Ridwan Sep 4, 2022 at 2:13 PM

    Hello YINKA! I am very glad to hear that this article has helped you. You will find many more Excel-related articles on ExcelDemy. also, You can share your Excel-related problems with us to get a solution. Send an email at [email protected]
    Thank You!

  23. Reply Avatar photo
    Osman Goni Ridwan Sep 4, 2022 at 1:42 PM

    Hello BORIS!
    You can try to “Multilayer Pie Chart” or “Bar of Pie chart” to solve your problem. You can follow this article to create these types of pie charts for your dataset. Please, go through this article,
    How to Make a Multi-Level Pie Chart in Excel
    I hope, your problem will be solved in this way. You can share more problems in an email at [email protected]

  24. Reply Avatar photo
    Osman Goni Ridwan Sep 4, 2022 at 11:48 AM

    Hello ISH SHARMA!
    You can increase and decrease decimal digits from the format options. But Through this, it will round to the nearest decimal. Suppose, when you round the value 44.41, it will be rounded to 44.4, not 44.5 and for the value 44.45, it will become 44.5.

    To use this method,
    >> Select the cell.
    >> Go to the Home tab in the top ribbon.
    >> Here, in the Number menu, click on the “Increase Decimal” icon to increase the decimal digits after the point, and click on the “Decrease Decimal” to decrease the decimal digits.

    I hope, your problem will be solved in this way. You can share more problems in an email at [email protected]

  25. Reply Avatar photo
    Osman Goni Ridwan Sep 4, 2022 at 11:28 AM

    Hello N R RAVINDREA!
    Thank you for your suggestion. We are taking this into concern. And, You can share your Excel-related problems in an email at [email protected]

    Thank You!

  26. Reply Avatar photo
    Osman Goni Ridwan Sep 4, 2022 at 10:11 AM

    Hello YINGYANG!
    Syntax of IF function is as follows: =IF(logical_test, [value_if_true], [value_if_false])

    So, for the formula =IF(B2="",NOW(),B2):
    >> logical_test – B2=”” : It is the condition of the IF function. The condition is when cell B2 is blank.

    >> value_if_true – NOW() : This is the output when the cell meets the logical test. The NOW() function gives the present time in the cell.

    >> value_if_false – B2 : When the cell will not meet the criteria, the IF function will return the cell value of B2.

    So, in brief, when cell B2 is empty, the formula will insert the present time in the cell; if it isn’t empty, it will leave the cell as it is.

    I hope, your problem will be solved in this way. You can share more problems in an email at [email protected]

    Thank You!

  27. Reply Avatar photo
    Osman Goni Ridwan Sep 1, 2022 at 1:46 PM

    Hello ARIF, to get the dates in the next row use the following code when you will insert values in cells of range B3:I3 and want to auto-populate date and time in cell range B4:I4.

    CODE:

    Private Sub Worksheet_Change(ByVal Target As Range)
    With Target
                If .Count > 1 Then Exit Sub
                If Not Intersect(Range("B3:I3"), .Cells) Is Nothing Then
                    Application.EnableEvents = False
                    If IsEmpty(.Value) Then
                        .Offset(1, 0).ClearContents
                    Else
                        With .Offset(1, 0)
                            .NumberFormat = "dd mmm yyyy hh:mm:ss"
                            .Value = Now
                        End With
                    End If
                    Application.EnableEvents = True
                End If
            End With
    End Sub

    You can change the cell range as your want. I hope, your problem will be solved in this way. If not, please share the Excel file and send us the problem with a little more explanation in an email at [email protected]

  28. Reply Avatar photo
    Osman Goni Ridwan Sep 1, 2022 at 12:49 PM

    Hello ABBY!
    You have to change a line in the VBA code that is defining the format of the output.

    Insert this line:
    .NumberFormat = “dd mmm yyyy” instead of this .NumberFormat = “dd mmm yyyy hh:mm:ss”

    So, the code will become as follows-

    Private Sub Worksheet_Change(ByVal Target As Range)
    With Target
    If .Count > 1 Then Exit Sub
    If Not Intersect(Range("D3:D22"), .Cells) Is Nothing Then
    Application.EnableEvents = False
    If IsEmpty(.Value) Then
    .Offset(0, 1).ClearContents
    Else
    With .Offset(0, 1)
    .NumberFormat = "dd mmm yyyy"
    .Value = Now
    End With
    End If
    Application.EnableEvents = True
    End If
    End With
    End Sub
  29. Reply Avatar photo
    Osman Goni Ridwan Sep 1, 2022 at 11:26 AM

    Hello BEN!
    I think the solution to your problem is already solved in method 1 of this article. To search for partial match, you have the wild cards (*) that have been shown in method 1.
    If the cell C13 contains the value of the search item. Then use the following formula:
    =VLOOKUP(“”&C13&””,$B$4:$C$11,2,FALSE)

    I hope, your problem will be solved in this way. If not, please share the Excel file and send us the problem with little more explanation in an email at [email protected]

    Thank You!

  30. Reply Avatar photo
    Osman Goni Ridwan Sep 1, 2022 at 10:25 AM

    Hello RJ LENNOX!
    In method 1.3m there have been shown only the formula for the names of the right order and in previous methods, there has been shown formula to get the value of CGPA in the right order. Please insert this formula into cell F7:
    =LARGE($C$5:$C$14,ROWS($F$7:$F7))
    and, drag the fill handle to get the top 5 cgpa values.
    I hope, your problem will be solved in this way. If not, please share the Excel file and send us the problem with a little more explanation in an email at [email protected]

    Thank You!

  31. Reply Avatar photo
    Osman Goni Ridwan Aug 30, 2022 at 3:35 PM

    Thank you, BOKEP. Thank you for your comment. Read more articles on Exceldemy and share them with your friends and family. Keep supporting us!

  32. Reply Avatar photo
    Osman Goni Ridwan Aug 30, 2022 at 3:32 PM

    Hello AVINASH! I have made a dataset as per your description and solved your problem. You can paste the following formula into the column O and the 3rd row to get the comment from sheet 1 when the criteria are met:

    =IF(AND(F4=Sheet1!C4,Sheet2!H4=Sheet1!D4),Sheet1!E4,"")

    Try this for your dataset and let us know the outcome. Thank You!

  33. Reply Avatar photo
    Osman Goni Ridwan Aug 30, 2022 at 1:52 PM

    Thank you! Shakeel. We are really honored to hear that our articles have helped you. Browse articles of Exceldemy more and share with your friends and family and keep supporting us!

  34. Reply Avatar photo
    Osman Goni Ridwan Aug 30, 2022 at 12:55 PM

    hello, EMIN! Actually, I haven’t understood what you asked in this comment. Can you please mail us the problem with a little more explanation at this address: [email protected].
    We will try our best to solve your problem. thank You! And, keep browsing Exceldemy.

  35. Reply Avatar photo
    Osman Goni Ridwan Aug 30, 2022 at 12:29 PM

    Hello M LAVI! with this code, only the column of the active cell that contains the target cell value will be hidden.
    And, you can copy and paste the drop-down cell to other worksheets without assigning data validation again. If you have anything more to know then inform us in a comment!

  36. Reply Avatar photo
    Osman Goni Ridwan Aug 30, 2022 at 11:31 AM

    Hello JUSTIN! The code is working perfectly from my side and the output has been shown in the practice workbook. And, it is not necessary to add code “Dim Cell as Range” here as we are not working with the cell value. But it is a good practice to declare variables at first.
    We have a large collection of Excel-related blogs that will help you to solve many more problems. Browse them and let us know your opinion in the comment section. Thank You!

  37. Reply Avatar photo
    Osman Goni Ridwan Aug 23, 2022 at 4:48 PM

    Hello SHAWN S FAHRER!
    You can get a quadratic equation from a graph with a few points that you have mentioned here. Follow the steps below for this
    First, create a graph with the points you have.
    Then, Go to the Chart Elements clicking the Plus icon.
    Click on the arrow beside the “Trendline” option.
    Go to the “More Options”
    1

    Here, you will go to a window named “Format Trendline”.
    Select the “Polynomial” option of order 2.
    Mark the checkbox saying “Display Equation on Chart”.

    As a result, you will there will create a trend line following a quadratic equation which is also shown in the graph.

    Try this method and let us know the outcome! Thank You!

  38. Reply Avatar photo
    Osman Goni Ridwan Aug 23, 2022 at 4:28 PM

    Hello MANUJ! You have to insert a value as the set value for cell G3 to use Goal Seek feature.. suppose you have an equation like 5x^3 – 2x^2 + 3x – 21 = 0 then you can change the equation like 5x^3 – 2x^2 + 3x – 6 = 15. Here, we have done this.

    And, yes! you are right that the cubic function gives 3 root values. But using the Goal Seek Feature, you will get only one root. and, in many times, the cubic function may have one real root and 2 complex roots. In these cases, the goal seek feature will give the value of the real root.

    Try these examples and let us know the output. Thank You!

  39. Reply Avatar photo
    Osman Goni Ridwan Aug 21, 2022 at 10:49 AM

    Hello, JACK! For this, you have to add a new conditional Formatting rule. Go to Home tab >> Conditional Formatting >> New Rule.

    Then, Select the “Format Only Cells That Contain” and select the “Blanks” option in the “Format only cells with” box.

    Then, go to the “Format” option and select White as the fill color.

    Try this and let us know the outcome. Thank you!

  40. Reply Avatar photo
    Osman Goni Ridwan Aug 21, 2022 at 10:45 AM

    Hello JUILA! I hope you are fine. You can easily create a conditional drop-down list from other worksheets in the same workbook. You can follow this article-

    https://www.exceldemy.com/excel-drop-down-list-from-another-sheet

    This article will show you the process step-by-step with proper illustrations. Try the methods mentioned in this article and let us know the outcome. Thank you!

  41. Reply Avatar photo
    Osman Goni Ridwan Aug 21, 2022 at 10:43 AM

    Hello APRIL, We already have an article written based on your problem. I hope, you will find this helpful. Follow this link below-

    https://www.exceldemy.com/excel-vlookup-multiple-criteria-without-helper-column/

    Try the methods mentioned in this article and let us know the outcome. Thank you!

  42. Reply Avatar photo
    Osman Goni Ridwan Aug 16, 2022 at 11:41 AM

    Hello Roy! Thank you for your comment. I must say your knowledge of Microsoft Excel is really appreciable. Keep commenting on posts of Exceldemy and help others to learn more.

  43. Reply Avatar photo
    Osman Goni Ridwan Aug 16, 2022 at 11:29 AM

    Hello Johan, you can use the following procedure to serve your purpose-
    – Make a column with 101, 102, 103, and so on.
    – Make a column with A, B, C, D, and repeat.
    Follow this article to repeat numbers or characters serially.
    How to Add Numbers 1 2 3 in Excel

    – Then use CONCATENATE function to combine them.

    Let us know the outcome in the reply. Thank you!

  44. Reply Avatar photo
    Osman Goni Ridwan Aug 16, 2022 at 11:08 AM

    Hello Nasser Enami, you can follow this article to solve your problem.
    https://www.exceldemy.com/separate-address-in-excel-with-comma

    In this article, you will find how to separate an address into a city, state, and zip code using an Excel formula. You can modify this file for your purpose. In your dataset the separator is “|” and you have to use 3 separators. Modify this worksheet as shown in the screenshot below-

    null

    Let us know the outcome in the reply. Thank you!

  45. Reply Avatar photo
    Osman Goni Ridwan Aug 16, 2022 at 9:48 AM

    hello, you can use the FILTER function to do this. Suppose, you have inserted your dataset into the range B2:D6.
    And, in cell G2. you have inserted the id for what you want to get month and payment.
    so, to get the required data, you have to insert the following formula into any blank cell:

    =FILTER(C3:D6,G2=B3:B6)

    https://www.exceldemy.com/wp-content/uploads/2021/07/SUMPRODUCT-with-INDEX-and-MATCH-Functions-in-Excel-Comment.png

    Use this formula for your dataset and let us know the outcome in the reply. Thank you!

  46. Reply Avatar photo
    Osman Goni Ridwan Aug 16, 2022 at 9:19 AM

    Hello Ahmed, you can go through this article-
    https://www.exceldemy.com/calculate-cost-per-unit-in-excel/

    I hope, you will find your solution. Let us know the outcome by leaving a comment. Thank you!

  47. Reply Avatar photo
    Osman Goni Ridwan Aug 16, 2022 at 9:00 AM

    Thank You, Roy, for your precious comment!

  48. Reply Avatar photo
    Osman Goni Ridwan Aug 4, 2022 at 4:41 PM

    Hello Edward, to find out the total sales for one month, you can follow Criteria 7 of the following article.

    https://www.exceldemy.com/sum-index-match-multiple-criteria-in-excel/

    Here, the Criteria 7 shows how to determine the output based on all Rows & 1 Column with SUM, INDEX, and MATCH functions together. Let us know the result in the reply. Thank you!

  49. Reply Avatar photo
    Osman Goni Ridwan Aug 4, 2022 at 4:20 PM

    Hello SONYA, you can face this issue because of the following reasons:
    1. Incorrect Cell Ranges used in the formula
    2. The Date format used in the formula is not correct. You have to use a similar data format both in the cells and formulas.

    Check these things in your workbook and let us know the outcome. Thanks!

  50. Reply Avatar photo
    Osman Goni Ridwan Aug 4, 2022 at 3:11 PM

    Hello SHANMUGAM, can you please explain your problem a bit more elaborately? Then it will be easy to help you. Thanks!

  51. Reply Avatar photo
    Osman Goni Ridwan Aug 4, 2022 at 2:57 PM

    Hello Peter and Charlie, the solution described in this article at Criteria 2: “Extracting Data Based on 1 Row & 2 Columns with SUM, INDEX and MATCH Functions Together” is perfectly working from our end.
    Just to inform you, you can’t use a cell reference in the Look_up value of the MATCH function instead you have to insert the single of multiple look_up values manually e.g. {“Feb”,”Jun”}. Hope you have found your solution. Try it and let us know the outcome in a reply. Thank you!

  52. Reply Avatar photo
    Osman Goni Ridwan Aug 4, 2022 at 2:04 PM

    Hello, we are glad to hear that our article has helped you. After seeing your comment, I have extended the dataset to 260 rows and the formulas have worked perfectly from my end. Can you please recheck whether you have changed the formula text corresponding to your dataset? For example, in the dataset of 11 rows the formula for largest 5 values will be like
    =LARGE($C$5:$C$14,ROWS($G$7:$G7))
    but when you extended the dataset till 260th row then the formula will be like
    =LARGE($C$5:$C$260,ROWS($G$7:$G7)) .

    If you still face the problem then inform us in the reply. Thank you!

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo