dynamic range variable

  1. K

    Sumif using a dynamic range in the formula

    Hi I'd appreciate help on the correct syntax for a SUMIF formula using dynamic ranges from variables The following basic formula works great, but I need to use dynamic ranges and have failed in my attempts =Sumif(A:A,A5,K:K) this sums the values in Column K where the value in Column A matches...
  2. D

    Sumifs on dynamic rows / columns

    Hello, I'm trying to do either a sumifs or index(match() in order to sum a range of cells (multiple columns and rows) based upon a reference cell which can be modified to adjust the number of columns which are summed. For example, in the below table on the right are my results. Since A1 is 3...
  3. L

    Setting a dynamic starting point for output

    Hello MrExcel Gurus, I have a question that I bet has a simple answer, I just haven't run across it yet. I have code that I created in order to take two dates and list in order ever date in between the two in column A. This is working as expected, but now I need to change the startCell...
  4. S

    Another Dynamic Range in Macro Question

    Howdy. I am new, not just to this forum (although I've trolled it for years when I need help), but new to macros and VBA. As well, there are a lot of threads about this topic, but I can't seem to find one that answers my specific question, or, and more likely, I'm not savvy enough with VBA to...
  5. L

    VBA - Using Declared Range Variable in looping script across multiple sheets

    I am trying to adjust the code so that it cycles through the sheets using a range variable rather than hard coding Range ("O4"). However, when I run the code, it works on the first sheet and then gives me a run-time error '1004' when it gets to "MyRange.Select" - Any ideas what I am doing wrong...
  6. J

    Worksheet_change event problems

    I have a workbook with 2 worksheets. Worksheet 1 has data entry table while worksheet 2 has 2 columns for a list of names and their departments I have a worksheet change procedure in worksheet 1 that does 3 things: 1. Checks if the cell(s) changed are within a specifc range of that worksheet...
  7. P

    Dynamic range with formula-based end

    Hi, I would really appreciate if you could help me with something that I think it is not hard for someone that knows vba well. I don't. :confused: I am trying to select a range whose end is variable. The end of the range is dependent on a formula that tries to find unique values. The fomula is...

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