+ Reply to Thread
Results 1 to 4 of 4

Reference and sum different sheet

  1. #1
    Registered User
    Join Date
    02-21-2020
    Location
    Denver, CO
    MS-Off Ver
    2016
    Posts
    1

    Reference and sum different sheet

    I have a workbook with multiple sheets. On one sheet there are property owners and the acreage they own for each property. I would like to create another sheet that references the property owner then sums their total acreage onto the new sheet. Is there a simple function to complete this?

    In the images, you can see that BLM has a number of properties, I would love an easy way to just reference the first sheet, find all of the occurrences of BLM, then sum the values in the adjacent cells onto the new sheet. There are 150 property owners, so it would be really great if there's a simple function to complete this.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by eckelly325; 02-21-2020 at 06:37 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Reference and sum different sheet

    Hi eckelly and welcome to the forum,

    No formulas are needed for this problem if you learn just a little about Pivot Tables. Pivot Tables don't take any formulas, you simply drag and drop. See the attached for your answer. You can show total acreage for all owners or filter it to one or even a selected few. You don't need the Slicer tool but it is available in your version of Excel.
    Pivot on Second sheet with Slicer.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365
    Posts
    1,249

    Re: Reference and sum different sheet

    Create a named range, for example, Sheetnames, and enter the following formula into the Refers to field:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note, to use this method you will need to save the file as a macro enabled workbook (.xlsm).
    Then, in a helper column in Owners & Total Acreage tab, enter this formula to list the tab names in your workbook (I pasted it on G2):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy down as far as required. I copied it down to row 200.
    Then create another named range, for example Owners, and enter the following formula into the Refers to field:
    =OFFSET('Owners & Total Acreage'!$G$2,,,COUNTA('Owners & Total Acreage'!$G$2:$G$200)-COUNTIF('Owners & Total Acreage'!$G$2:$G$200,""),1)

    Then for your SUMIF function, use this formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Ranges A2:A1000 and B2:B1000 to be adjusted to your needs.

    I’m not sure the file attached will work, because of translation issues that may occur in the hidden function GET.WORKBOOK, but I send it anyway. I made a copy of the first tab just to have a second tab to get data from.
    Note that my results are double of yours.
    I hope this will help you accomplish what you need.

    Good luck!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-24-2020
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    95

    Re: Reference and sum different sheet

    Hi, there

    No doubt that piovottable is born to target such queries

    I provide a solution with formulae.

    1. Define a table in the tab Owner & Acreage with a name PROP

    2. In columnA of tab Owners & Total Acreage, an array formula sift out duplicates of owners in the dataset;

    3. then sum up all acreages under the owners respectively with SUMIF func,
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Cheers!
    Attached Files Attached Files

+ 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] Drag Cell Reference but reference each sheet
    By danmolesworth in forum Excel General
    Replies: 4
    Last Post: 01-13-2020, 06:44 AM
  2. Indirect Sheet reference with cell reference left function and text
    By teststrip in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2015, 10:31 AM
  3. [SOLVED] =INDIRECT, Sheet reference with Incremental cell reference
    By Deap in forum Excel General
    Replies: 4
    Last Post: 06-16-2014, 05:58 AM
  4. [SOLVED] Locked formula changes reference when rows added to reference sheet in same workbook
    By macrorookie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-19-2014, 04:08 PM
  5. [SOLVED] Calling string inside cell reference to reference another sheet.
    By {=OR(value=array)} in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-26-2013, 04:45 PM
  6. Dragging formula, change sheet reference, but not cell reference
    By Kalilaya0419 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2013, 04:50 PM

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