+ Reply to Thread
Results 1 to 8 of 8

How sum across tabs referencing row labels?

  1. #1
    Registered User
    Join Date
    01-01-2005
    Location
    Long Island, USA
    MS-Off Ver
    H&S 2021 Build 16026.20146 (& 2016 & 2019)
    Posts
    7

    How sum across tabs referencing row labels?

    I would like to average values from a cell in one row in each of six tabs which differ slightly in position but all have an identical label and column. E.g. in a lead sheet I want to find the average of "Meals" that could be row 32 in one tab but row 38 in another -- always column X and the label is always in column Y, say.
    Were there the same number of rows in each tab I could create one cell in the lead sheet, =(average(Tab1![Meals_cell],Tab2![Meals_cell], etc.)), then copy it into different rows to get averages of "Meals", "Rent", etc. Having never graduated to Access or Pivot Tables, this is how I still think of Excel.
    Way back when I believe this was what we did with 'HLookup' or something, but it's been decades since I've had to even think about that! Big thanks in advance.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: How sum across tabs referencing row labels?

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-01-2005
    Location
    Long Island, USA
    MS-Off Ver
    H&S 2021 Build 16026.20146 (& 2016 & 2019)
    Posts
    7

    Re: How sum across tabs referencing row labels?

    Ah, Glenn, I'm beginning to think =Index(Match()) will do it, based on reading the 12/2/05 Cellzman post listed below; but I'd welcome your guidance and not just because I'm a bit lazy -- I can't recall ever using that formula before. THANK you for reaching out!
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: How sum across tabs referencing row labels?

    Have you upgraded to O365 yet? If so which VERSION number are you using?
    Attached Images Attached Images

  5. #5
    Registered User
    Join Date
    01-01-2005
    Location
    Long Island, USA
    MS-Off Ver
    H&S 2021 Build 16026.20146 (& 2016 & 2019)
    Posts
    7

    Re: How sum across tabs referencing row labels?

    Quote Originally Posted by Glenn Kennedy View Post
    Have you upgraded to O365 yet? If so which VERSION number are you using?
    No, Glenn, I'm using Home & Student 2021, Excel version 2301 (Build 16026.20146 Click-to-Run). KCW

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: How sum across tabs referencing row labels?

    1. Delete the leading space in the 2022 Tab Name " 2022". That took a while to track down!!

    2. Set up a Named range of the sheets (called list), CTRL-F3 to view/edit.

    3. Use this:

    =SUMPRODUCT(SUMIFS(INDIRECT("'"&List&"'!G1:G100"),INDIRECT("'"&List&"'!D1:D100"),D33))/SUMPRODUCT(COUNTIFS(INDIRECT("'"&List&"'!D1:D100"),D33))

    copy paste as needed.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-01-2005
    Location
    Long Island, USA
    MS-Off Ver
    H&S 2021 Build 16026.20146 (& 2016 & 2019)
    Posts
    7

    Re: How sum across tabs referencing row labels?

    I regret 'hiding' a further problem in my spreadsheet, Glenn, as if you weren't already working rather above & beyond to help me!
    I've had a couple of scrambles get in the way of implementing your solution but have that on a front burner and will report back asap. Most gratefully yours, KCW

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: How sum across tabs referencing row labels?

    One last thing.... if the number of sheets that you want to look at varies, it would be better to use a dynamic named range, instead of the fixed range currently in place. Let me know if that is needed & I can set it up.

+ 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. Sum multiple rows of the same labels on different tabs
    By shannon2244 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-19-2012, 07:50 PM
  2. Replies: 3
    Last Post: 10-29-2012, 11:04 AM
  3. referencing form control labels in VBA
    By kadams99 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2012, 01:50 PM
  4. Sum variable sheet tabs with Text labels
    By BarryTSL in forum Excel General
    Replies: 3
    Last Post: 01-24-2011, 04:01 PM
  5. Create ling graph with labels/tabs on certain points
    By some1 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-02-2010, 04:34 PM
  6. [SOLVED] Return a value by referencing row and column labels?
    By Cellzman in forum Excel General
    Replies: 6
    Last Post: 12-02-2005, 12:15 PM
  7. Referencing Sheet Tabs
    By DB in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-07-2005, 02:05 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