+ Reply to Thread
Results 1 to 3 of 3

referencing a dynamic range of cells on another sheet

  1. #1
    Registered User
    Join Date
    08-10-2016
    Location
    Florida
    MS-Off Ver
    2013
    Posts
    4

    referencing a dynamic range of cells on another sheet

    I'm trying to incorporate a range of cells (in one column) in my formula, but the amount of row cells (in that column) change given what data I'm using.

    So lets say on 'Sheet1' i have a column[A] named [sample]. The amount of rows that column[A] [sample] has will change depending on what data set i am using.

    On 'Sheet2' i have a formula that references all values in Column[A] on 'Sheet1'
    For example =SUM(Sheet1!A2:A16)
    Capture11.JPGCapture12.JPG

    What can I do to change the formula so if the next data set has 20 rows in 'sheet1' [Sample] it will recognize that and include all the data?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: referencing a dynamic range of cells on another sheet

    Define a named range: I called it "Sample"

    Formulas==> Define Name

    Name: Sample

    Refers to: =OFFSET(Sheet1!$A$2,,,COUNT(Sheet1!$A:$A),1)

    in Sheet2

    =SUM(Sample)

  3. #3
    Registered User
    Join Date
    08-10-2016
    Location
    Florida
    MS-Off Ver
    2013
    Posts
    4

    Re: referencing a dynamic range of cells on another sheet

    Thanks john,
    That seems to have done it

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 12-18-2015, 05:21 PM
  2. Copy dynamic specified, filtered cells/range from one sheet to multiple sheets
    By szeconku in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2015, 06:14 AM
  3. [SOLVED] R1C1 referencing for a dynamic range
    By anrichards22 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2013, 06:09 AM
  4. R1C1 referencing for a dynamic range
    By anrichards22 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-24-2013, 05:12 AM
  5. VBA macro to Find a dynamic range of cells, copy then paste to another sheet
    By Bmxerdude2087 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-24-2012, 02:36 PM
  6. Referencing a Dynamic Range
    By Glennww in forum Excel General
    Replies: 9
    Last Post: 02-17-2010, 04:16 AM
  7. Dynamic range referencing
    By Steel_lady in forum Excel General
    Replies: 2
    Last Post: 02-19-2008, 06:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1