+ Reply to Thread
Results 1 to 5 of 5

How to define a cell name and reference it in a differen sheet

  1. #1
    Registered User
    Join Date
    04-12-2011
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    How to define a cell name and reference it in a differen sheet

    Hello all
    I am attempting to use the Define Name feature in Excel 2007 to references a cell that I use to total a column of data, so that I can pull the information from that cell into a different sheet and use it in a chart. Can anyone help with this, I will keep looking but perhaps I am not phrasing my question in a google search correctly.

    Also note that the cell that gets the total of information changes with each new data pull, for example one day it may be J350 and the next day it may be J389.

    Thanks
    Shaun

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to define a cell name and reference it in a differen sheet

    You MAY be able to use a Dynamic Name for the cell.

    See if this link helps:
    http://www.contextures.com/xlnames01.html

    If not upload a small sample file (with no private data) to illustrate what you're doing.

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: How to define a cell name and reference it in a differen sheet

    In this example the named range is called "TheValue"

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-12-2011
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: How to define a cell name and reference it in a differen sheet

    Quote Originally Posted by Cutter View Post
    You MAY be able to use a Dynamic Name for the cell.

    See if this link helps:
    http://www.contextures.com/xlnames01.html

    If not upload a small sample file (with no private data) to illustrate what you're doing.
    Cutter,
    I think I get the idea, however, the data I am trying to pull into another sheet is from a column sum of minutes testing is run. The longer testing goes the more minutes will be recorded thus changing the cell where the total minutes accumulated is varies each time I pull the data via a macro.

    Attached is a copy of the file, it has no sensitive data in it
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: How to define a cell name and reference it in a differen sheet

    This line of code would directly sum your hours ... in this demo the hours are in column B

    SumOfHours = Application.WorksheetFunction.Sum(Range("B:B"))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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