+ Reply to Thread
Results 1 to 1 of 1

Referencing Cell Value from Variable Location

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    5

    Referencing Cell Value from Variable Location

    Hello,

    I have to run a quarterly report in which the amount of data is different every time. Currently I have a macro going in which the report is run and does an initial sort to organize and group the data to my liking and then tables are filled in next to these groups of data to classify them and extract specific data from them. These tables have variable cell locations due to the variable amount of data from the report. I am wanting to total some of this data from my tables.

    I have inserted some logic so that in another set cell it displays the range in which I am wanting to SUM and in another set cell it displays the cell in which I want this to insert this formula to SUM the data. I cannot use an INDIRECT here that I know of as the cell location in which I am inserting the formula is always different. I have summed up what I am wanting to do below.

    Please Login or Register  to view this content.
    WageSum is the cell location in which I am entering the formula and WageSel is the the range in which I am wanting to SUM. How can I reference the cell value of cell A2 from any cell location. Especially in this case in which I am using a LOOP.

    Thanks in advance!
    Last edited by arlu1201; 07-16-2013 at 01:47 PM. Reason: Use code tags in future.

+ 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. [SOLVED] variable cell location for VLOOKUP
    By kerradeph in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-27-2013, 01:46 PM
  2. Replies: 5
    Last Post: 12-19-2012, 09:16 AM
  3. Referencing cell location in formulas
    By FM1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2008, 09:55 AM
  4. VBA - Passing Cell Location To Variable
    By ajocius in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2005, 08:55 AM
  5. cell referencing from a dynamic location
    By djrivum in forum Excel General
    Replies: 0
    Last Post: 01-21-2005, 12:58 PM

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