+ Reply to Thread
Results 1 to 5 of 5

Formula for a SUMIF or SUMIFS with summary and value in different worksheets

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

    Formula for a SUMIF or SUMIFS with summary and value in different worksheets

    Hello,
    I have been wrestling trying to figure out a SUMIF or SUMIFS function to work for the attached spreadsheet and would appreciate any help I can get!

    There are two worksheets:
    SUMMARY where I need to add this formula into cell B3
    LAB where in column A there are various values, but I need the costs totaled in column C that have the value of 2606.1 in column A
    Note that columns A and C in the SUMMARY worksheet are named ranges

    I hope this is clear. Thank you in advance!
    Attached Files Attached Files

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Formula for a SUMIF or SUMIFS with summary and value in different worksheets

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

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,182

    Re: Formula for a SUMIF or SUMIFS with summary and value in different worksheets

    With just 2606.1 in cell A3, this in B3:

    =SUMIF(LAB!A$2:A$32,A3,LAB!C$2:C$32)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

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

    Re: Formula for a SUMIF or SUMIFS with summary and value in different worksheets

    When I use this formula in the example I sent to you it works fine, but when I adopt it for my "real" spreadsheet and make minor adjustments I get an error in Excel.
    Using your example I make these updates:
    Yours below and mine below that:
    =SUMIFS(Table1[LAB COST],Table1[WWS],TEXTBEFORE(A3," Total"))
    =SUMIFS(Table1[LABORCOST],Table1[WBS],TEXTBEFORE(B13," Total"))
    A screen shot of the error is attached.
    Attached Images Attached Images

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,995

    Re: Formula for a SUMIF or SUMIFS with summary and value in different worksheets

    Do you have a column called WBS?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] help with SUMIF, or SUMIFS formula
    By Trebor777 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-15-2017, 11:25 AM
  2. Replies: 3
    Last Post: 02-21-2017, 02:48 AM
  3. SUMIF or SUMIFS? or something else? - need formula help
    By rclough21 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-13-2016, 08:40 AM
  4. formula to sumif/sumifs two criteria
    By gaudiumpenrith in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-17-2015, 12:53 PM
  5. [SOLVED] Looking for an Average SumIF formula for Multiple SumIfs
    By angie.smith in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2015, 10:59 AM
  6. [SOLVED] Sumif or Sumifs formula to lookup Qty and sum them.
    By JESSHOR60 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2015, 03:59 AM
  7. [SOLVED] SUMIF OR SUMIFS functions with criteria as formula
    By akbarmajor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-08-2014, 09:43 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