understand

  1. M

    Index match combined

    Hi everyone, hope you are good! Please note that I am trying to figure out how a formula is working on a spreadsheet that I have. I understand how Index and match work combined, nonetheless, I can see that before the match formula there is a "1" and I cannot understand how it works, in addition...
  2. L

    Why Cells takes Row,Col as arguments

    Hi From Object Oriented point of view, I understand Cells is a property of Range Class and its type is Range. So I understand this code cells.clear but what I do not understand this cells(1,1).value ="hello" Where it says Cells takes Row, and Column as arguments? If you check Range...
  3. S

    Help with this formula

    Could someone breakdown this formula for me? I did not create it but I need to better understand it and what portions are specific to specific cells...
  4. AndyMachin

    Question for Rick Rothstein about one of his macros

    Hello everyone specially Rick, Last year you posted a macro, and I still trying to understand how it works. I know It is super powerful using Evaluate, but there is not so much info about how to use @ as you did in the macro. Can you please make a breakdown of your code: Sub PrefixAnApostophe()...
  5. L

    do while/loop vs for loop

    Hi I understand both of them but I really do not see when I need to use one over the other. Is there any example that shows we can only use one over the other? Thank you so much.
  6. S

    Need help rewriting code

    i have a code which was written by a freelancer on a dummy file. when i tried to copy the code into my original file, i ran into some error. i understand that the code contains a lot of .select and was advised to rewrite the code. can anyone help me with that? Sub Macro2()'' Macro2 Macro '...
  7. L

    Workbook.add

    Hi Why the code below is acceptable? Workbooks.Add.SaveAs Filename:="c:\testing.xlsx" The part I do not understand, is that Add is a method so why excel accept Add.SaveAs? The above code, means Add is an object. So I checked Add and it is method that return Workbook as a type. A function...
  8. L

    Teradata Connection String

    What is the Teradata connection string when connecting in VBA code? I understand that the provider now includes the version number.
  9. H

    Data Validation Behaviour

    Hi, I encountered the following oddity with Data Validation List behaviour and don't understand what exactly the problem is (Excel 2013 being used). I defined two ranges, MyList1 and MyList2. MyList1 captures the numbers 1-10 in cells a1:a10 MyList2 captures the same range + a blank cell in...
  10. H

    What does XIRR tell me exactly?

    Hello all, I am trying to figure out what XIRR tells me exactly, I understand that it is a method used to calculate returns for a project, but in terms of what it actually means I am finding conflicting information from research online. Specifically I want to understand the difference between...
  11. J

    how to create a PIE Chart based on Hours/Minutes?

    hi all here the sample: https://drive.google.com/open?id=1K8XzfwXLt79yqeQS2u6YJYw9E_g44w1M the row 8 have the TOTAL sums of each column, and in the row 9 add the minutes to hours. i captured manually the D column, but how to calculate? not understand, any help? Thanks
  12. E

    Understanding the formula

    Hi, I have the following formula I am trying to understand =IF(IF(ROWS($EC$16:EC16)>$EO$14,"",INDEX($DU$16:$DU$512,MATCH(ROWS($EC$16:EC16),$EO$16:$EO$512,0)))=0,"",IF(ROWS($EC$16:EC16)>$EO$14,"",INDEX($DU$16:$DU$512,MATCH(ROWS($EC$16:EC16),$EO$16:$EO$512,0)))) the $DU$16:$DU$512 part is what...
  13. Y

    Excel index sum (basic vba question)

    Hello So im new to VBA, and for one of my WB's i want to sum a certain column up ( Column until a certain row which depends on a range on a different sheet. For example. If i have payments from day 1 to day 20 in column "B" on sheet "1340 $" and on my "Summary" Sheet i have the...
  14. J

    Very slow saving of small xlsb file

    Hello all, i have a small xlsb file- 1.3 Mb that works just fine until i try to save it- then it blocks for about 5 minutes and i dont understand why. Can u help me with some advices? Thank you!
  15. Ironman

    Custom Views greyed out in every sheet in workbook

    Hello I'm running Excel 2019 and I very recently added a pivot table/chart to my workbook, which has 15 other sheets. I've been making good use of Custom Views and although I read that Custom Views won't work if there's a table in the sheet, every sheet in my workbook already contains tables...
  16. L

    clearing the whole sheet except first row

    Hi The code below is to clear the whole sheet except the first row. Rows("2:"& Rows.Count).ClearContents I am unable to understand it. I would appreciate it if you can break it down so I can understand the logic behind it. Thank you so much
  17. L

    finding the last empty row - vba

    Hi I understand to find the last empty row, I can use this line of code x = Cells(Rows.Count, 1).End(xlUp).Row but now I just read an article and the following line is used to find the last row x = WorksheetFunction.CountA(Range("A:A")) + 1 I do not understand how the line above can find...
  18. S

    Hiding/Locking VBA coding

    Good Morning, As I understand it, you cannot lock/unlock a VBA project with a module. Maybe someone can correct me on this. Here's what I'm trying to do. I have a hidden sheet that can only be unhidden with a password- I'd like a code (if it can be done) that hides the coding or makes it...
  19. L

    End(xlUP) seems to me as a function

    Hi I understand the code below what what I do not really understand is End(xlUp). I read that it is a Property of Range and it is of type of Range itself. It is used to change the direction of a cell. But what I do not understand, why xlUp passed between 2 () to me that suggest it is a...
  20. Welsh Mark3

    address Cleaning / Standardization

    I have a file of about 2500 companies, however, the addresses are very badly formatted. There are no real defined column names such as address line 1, city state zip. In many cases the data is spread over many columns and if some cases repeated. I would like to create an output where these...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top