• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Search results

  1. Monty

    Extract/pull data to columns based on 2 criteria

    Hello Lucky To achieve this in Microsoft Excel 2010, you can use a combination of `VLOOKUP` and `INDEX-MATCH` functions. Let's break down the steps for each part of your requirement: 1. Populate [AMOUNT] in Table_3: - Assuming your employee names are in column A of both Table_2 and Table_3...
  2. Monty

    Why does SUM work with multiple sheet selection, but SUMPRODUCT doesn't?

    The reason why `SUM` works across multiple sheets while `SUMPRODUCT` doesn't is because `SUM` can handle 3D references (across multiple sheets) directly, while `SUMPRODUCT` does not support this type of reference. `SUMPRODUCT` typically expects 1D or 2D arrays. Jello Larryf In Excel, a 1x1xN...
  3. Monty

    Arrays References with AND OR Statements

    To help you with the issue, could you please provide more details and specifics of the formula in column I and the purpose it is intended to serve? Without the specific formula and purpose, it's challenging to provide a precise solution. Thank you!
  4. Monty

    SUM in Excel without Error

    Hello Debsar. Please let me know what causing error in detail based on problem statement Thank you
  5. Monty

    SUM in Excel without Error

    To handle the scenario where cells may contain both numbers and the text "N," you can use the following array formula with the `IF` function: ```excel =SUM(IF(ISNUMBER(A1:D1), A1:D1, IF(A1:D1="N", 0, 0))) ``` This formula checks if each cell is a number using `ISNUMBER`. If it is a number, it...
  6. Monty

    Below text i want to pull from formula the only text LIGT. i.e., from left.

    Hello Akma Here is the dynamic formula to extract the text "LIGT" from the given text, you can use the following formula: =IFERROR(MID(A1, SEARCH(" - ", A1) + 3, SEARCH("-", A1, SEARCH(" - ", A1) + 3) - SEARCH(" - ", A1) - 3), "") Assuming your text is in cell A1, this formula works by...
  7. Monty

    Data Extraction using MS Excel VBA macro

    It seems like the issue might be related to the presence of a shape or object in the cell after the extraction process. To troubleshoot and fix the issue, consider the following steps: 1. Check for Hidden Shapes or Objects: - Select the cell containing the extracted information. - Go to...
  8. Monty

    the required formula for incentives based on gender, religion, living area

    It seems like you're trying to define a formula for incentives based on gender, location, and religion. However, the provided information is a bit fragmented. If you can provide more details or clarify the structure of your data, I'd be happy to help you formulate the incentives based on the...
  9. Monty

    VBA

    Your code is almost there. You just need to initialize `LatestDate` with an early date before comparing it in the loop. Add the following line before the loop: LatestDate = DateSerial(1900, 1, 1) This ensures that `LatestDate` starts with a date far in the past, allowing any file's date to be...
  10. Monty

    Formula lock

    Hey comeup with more details what your trying to achieve and steps to be followed and may be the errors you are currently facing to help you.
  11. Monty

    import data from website to excel by changing the dates in web page

    Hello Chss You can use VBA to import data from a website to Excel, changing the dates on the web page. Here's a basic example to get you started: Sub ImportDataFromWebsite() Dim url As String Dim startDate As Date Dim endDate As Date ' Define website URL url =...
  12. Monty

    Sheet with conditional dropdown to select specific range according to choice to change results displayed

    Hello VBAXL Change your search requirement in the code and the code should work!
  13. Monty

    VBA macro to extract the date from the text string

    Here we go Function ExtractDatesFromString(inputText As String) As String Dim regex As Object Dim matches As Object Dim match As Object Set regex = CreateObject("VBScript.RegExp") regex.Global = True regex.IgnoreCase = True regex.Pattern =...
  14. Monty

    Formula lock

    Hello Cube, If references in the VBA editor are grayed out, it might indicate a missing or corrupted reference. Try these steps: 1. Open the VBA editor. 2. Go to "Tools" and select "References." 3. Look for any references marked as "MISSING" and uncheck them. 4. Browse and select the correct...
  15. Monty

    Protect Sheet with expansion buttons

    Hey Otawata, Hope it worked for you!
  16. Monty

    Greetings mailer from excel sheet

    Hello UshaAnu! Happy New Year in Advance! You can easily accomplish this task using VBA in Excel Follow Me: Open Excel and press ALT + F11 to open the VBA editor. Insert a new module by right-clicking on any item in the Project Explorer, choose Insert, and then Module. Copy and paste the...
  17. Monty

    Sheet with conditional dropdown to select specific range according to choice to change results displayed

    Hello VBXL My Understanding about your question is to create dependent dropdown lists in Excel based on the choices made in two preceding dropdowns, and you want to ensure that the second dropdown correctly filters data based on both the choices from the first and second dropdowns. Here's a...
  18. Monty

    Help with tables and power query

    Hello Phonex It seems like you're dealing with a challenge related to maintaining live formulas alongside dynamically changing data in Excel. One approach you can consider is using Excel Tables in conjunction with Power Query. This method allows you to maintain dynamic formulas and handle...
  19. Monty

    Formula lock

    Compile errors often occur due to syntax issues or missing references. In this case, make sure you have the correct references enabled. In the VBA editor, go to Tools > References and check if "Microsoft Excel xx.x Object Library" is selected, where "xx.x" corresponds to your Excel version. If...
  20. Monty

    Formula lock

    You can use the following VBA macro to lock and hide all formulas in a workbook, while still allowing external link updates. Please follow these steps: 1. Press `ALT + F11` to open the Visual Basic for Applications (VBA) editor. 2. Insert a new module by right-clicking on any item in the...
  21. Monty

    Formula lock

  22. Monty

    Protect Sheet with expansion buttons

    1) When you protect a sheet in Excel, it restricts certain functionalities, including the ability to expand grouped columns. Unfortunately, this is a limitation of Excel's protection features. You might need to find a workaround, such as unprotecting the sheet temporarily when you need to expand...
  23. Monty

    Sum in Excel using OR Criteria avoiding duplicate SUM

    Hello Debaser You're correct; my apologies for any confusion. While the SUMIFS function doesn't support direct OR logic in its criteria, you can emulate it by summing the results of multiple SUMIFS functions. For instance: =SUMIFS(sum_range, criteria_range1, criteria1) + SUMIFS(sum_range...
  24. Monty

    Connection to SQL Server to create Data Models using VBA

    It seems like you're trying to dynamically create a connection to SQL Server tables in Excel using VBA. I'll guide you through a modified version of your code to help you achieve this.First, ensure you have the Power Pivot add-in enabled. Then, modify your VBA code as follows: Sub...
Back
Top