Comments on: How to create and use dynamic named range in Excel

If you are working with a continuously changing data set, you may want to make your named range dynamic so that it automatically expands to accommodate newly added data. In this tutorial, you will find detailed step-by-step guidance on how to do this. Continue reading

Comments page 2. Total comments: 54

  1. Hi, How do i use Dynamic Named Range in "Data Rane" Excel chart ?
    =$B$2:INDEX($1:$1048576,COUNTA($B:$B),COUNTA($2:$2)) or =$A$2:INDEX($A:$A, COUNTA($A:$A))
    is not suitable for this.
    Thank You,
    Ofer

  2. hi there.. hope someone could help me. I want to create a name in my file which is getting values from a single column table. I want to exclude one specific value and don't want it to be part of the name range. Not sure how can I do that? Column data is:
    Fruits (table header)
    Apple
    Banana
    Orange
    Grapes
    Want to have a list that exclude "Orange". As it's a table I will be adding new names after Grapes in near future.

    1. Pls refer to: FILTER(A1:INDEX(A:A,COUNTA(A:A)),A1:INDEX(A:A,COUNTA(A:A))"Orange") in the New Name dialog

  3. Hello, I am painfully new to working with Excel, macros, and the like. I have recorded a macro, but right now it will only work on the cell range that I originally recorded the macro on. Right now the range reads as =Range("A2:A724"), but I need the bottom part of the range (A724) to be dependent on column B. Meaning, if column B has data going down to cell B1021, then I want my range in column A to automatically look like =Range("A2:A1021"). I would appreciate any help. Thanks!

  4. Hi! I'm a newbie in Excel, so there's a risk my question is kind os obvious. I'm trying to connect a Pivot Table in Excel to a Word File, for this, I have to edit the Name of my range in Excel and Word so the Word table automatically updates the range it is reporting. The problem I have is Excel says he doesn't understand my formula, it looks like this:

    ='DE40'!$B$4:$B$4:INDEX('DE40'!$1:$1048576,COUNTA('DE40'!$B:$B),+'DE40'!$4:$4))

    Where DE40 is the Sheet/Pivot Table I'm trying to refer. Any ideas?

  5. I have a simple table: 7 columns, 4 rows. Can I create a formula just adding Hrs of bananas?

    Jan 1 Jan 2 Jan 3
    Hrs Cases Hrs Cases Hrs Cases
    Bananas 1 10 3 30 0 0
    Apples 5 20 1 4 3 12

    1. _______|___Hrs_|_Cases_|_Hrs_|_Cases_|_Hrs_|_Cases
      Bananas|____1__|___10__|__3__|___30___|_0__|___0__
      Apples_|____5__|___20__|__1__|___04___|_3__|___12_

      No sure if this will help to understand the table...

  6. An easy way to do it if you need a range is to use indirect in the name.. eg example for A2:G10
    There is 20 rows in coloumn A

    =Indirect(Sheet_name!A2:G"&CountA(A:A))

    since indirect "translate" the expression - so it reads the name to be refered to this
    Sheet_name!A2:G10

    1. Correction - There is 20 rows in coloumn A - should ofcourse be 10 rows ;)

  7. I'm trying to create a dynamic range showing client names only if their status is Active in another column. Can someone help me with the formula for this?

    1. Pls refer to: FILTER(A1:INDEX(A:A,COUNTA(A:A)),B1:INDEX(B:B,COUNTA(B:B))="Active") in the New Name dialog

  8. Hi,

    This index formula method for creating dynamic named range is not working.

    Sheet3!$H$2:INDEX(Sheet3!$H:$H,COUNTA(Sheet3!$H:$H))

    Using evaluate formula, this shows to result to $H$2:$H$6. But post that it acts as an array formula. Its finally returning value either H2/H3/H4/H5/H6 based on the cell.
    What i mean to say is, it is not giving a range. Hence, this seems wrong.
    Please let me know your view.

  9. Hi
    How do you create a Dynamic named range (with INDEX) but without the sheet name automatically added after the Define Name editor is closed?
    Tnks

  10. THANK YOU FOR ENLIGHTENING ME
    AM SO DAMN GRATEFUL FOR THIS WRITE UP

  11. Thank you

  12. How do I create a Dynamic Named Range with worksheets instead of rows or columns?

    I have a workbook that I add a new worksheet to every week and I want to track my vacation time over the course of the calendar year.

    Thank you for your help.

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)