+ Reply to Thread
Results 1 to 3 of 3

Referencing moving cells?

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    Seattle, WA, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Referencing moving cells?

    I have several worksheets of data that I'd like to compile in a sum. Sounds easy I know...

    Each worksheet looks similar to this:

    Person A Data 1 Data 2 Data 3....
    Person B " " "
    .
    .
    .


    On the final sheet I'd like to sum all of Data 1 for person A, Data 2/PersonA etc etc...

    But on each sheet the data is sorted differently, and is often re-sorted. The final sheet will also be re-sorted often. But the data is always in the same place RELATIVE to the persons name. Is there a function to find a cell relative to the value thats in a cell (ie, look up the persons name, and reference the cell 2 columns over (to add Data 2, in that example))?

    I feel like this could be simple, but I'm not finding any functions that do something like this. Do I need to nest different functions together to do this?

    Basically, on the last page for the cell representing Data 2 for Person B (C2 in the above example) to =sum([cell 2 columns to the right of wherever the text "person B" is found]) across all worksheets.

    Thanks!

  2. #2
    Registered User
    Join Date
    12-13-2012
    Location
    Seattle, WA, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Referencing moving cells?

    I was thinking I would end up using VLOOKUP but the values in the specified range have to be ascending order, correct? In this case, they aren't, and rarely will be

  3. #3
    Registered User
    Join Date
    12-13-2012
    Location
    Seattle, WA, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Referencing moving cells? (partially solved)

    Ok, so it looks like VLOOKUP is doing the trick even though they aren't sorted like they're supposed to be. Maybe this is because each of my values (names) are unique so it always finds an exact match?

    Anyway, so now I'm wondering if there is a faster way to sum them than sum((vlookup)+(vlookup)+...)? Each of my sums will have about 30 different vlookups. And I have about 300 seperate pieces of data to do this with. A lot are very similar (just changing the index number), but a short-cut around the tedium would be welcome...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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