+ Reply to Thread
Results 1 to 3 of 3

Formula that will capture an attribute label and sum it from a different worksheet

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Formula that will capture an attribute label and sum it from a different worksheet

    Sheet1 contains 30 rows of data. Column A in Sheet1 contains one of three labels:
    Central
    Eastern
    Northern

    Column B in Sheet1 contains different dollar amounts.

    In Sheet2 cell A20 I would like to sum the dollars from Column B in Sheet1 for all of the rows from Column A with the label Central
    In Sheet2 cell A21 I would like to sum the dollars from Column B in Sheet1 for all of the rows from Column A with the label Eastern
    Etc.

    I came up with the formula below but it is not working. Can someone advise/help please?

    =SUMIF('Sheet1'!$A$2:$A$30,="Central",'Sheet1'!$B$2:$B$30)

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,532

    Re: Formula that will capture an attribute label and sum it from a different worksheet

    If no operator is given, the equals sign is assumed. So you can use this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you do use an equals sign or other relational operator, it must be inside the quotes:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Re: Formula that will capture an attribute label and sum it from a different worksheet

    Perfect - Thank You!

+ 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] Need formula to find correct worksheet and column from text label
    By Ochimus in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 11-01-2015, 04:13 PM
  2. VBA or Excel Formula to Determine a OLAP Cube Attribute Key
    By rkl303 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-14-2015, 01:06 PM
  3. With a move label macro, prevent label from moving onto another label
    By SocratesJC in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-09-2014, 12:34 AM
  4. [SOLVED] How to capture command button label text?
    By cadnauseum in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-09-2012, 02:51 PM
  5. Replies: 3
    Last Post: 06-30-2012, 01:52 PM
  6. [SOLVED] Capture a worksheet in VBA
    By Madiya in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-11-2006, 10:45 AM
  7. Need a Multi-Attribute Theory (MAUT) Worksheet
    By PBunkley in forum Excel General
    Replies: 1
    Last Post: 11-07-2005, 12:50 AM

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