+ Reply to Thread
Results 1 to 4 of 4

Sumifs Function issue

  1. #1
    Registered User
    Join Date
    07-21-2016
    Location
    London
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2302 Build 16.0.16130.20806) 64-bit
    Posts
    94

    Sumifs Function issue

    Hi There,

    I have a file (attached) that shows data for a specific Client that was involved in many Contracts during the period 2012-2016. for eact of the contracts we have the revenue, profit in $ and the profit in %. I have tried using sumifs function to populate the summary tab table.
    I have a dropdown for the years and contract.

    for "Reported Revenue" I would like to retrieve numbers from the details tab based on the dropdowns. I used the following formula:

    =IF($C$5="All",IF($C$9="All",SUM(Details!$G:$G),SUMIFS(Details!$G:$G,Details!$F:$F,Summary!$C$5,Details!$D:$D,Summary!$C$9,Details!$B:$B,Summary!$C$7)))

    This works only when "year" dropdown = All and "Contract" dropdown = All.

    Ideally I would like to run a number of scenrios where I would like to calculate the revenue:
    e.g
    Year = 2012, Contract = Contract N
    Year = 2015, Contract = All
    etc.

    Another issue is that the profit % is calculated by =sum(profit $/revenue), which is already done in the details tab for each contract (col I). I would like to do the same as above for the profit %. Also when selecting All, the formula will have to include a calculation to sum up revenue for all years and profit $ for all years or for each of those individual year.

    I am have trouble with capturing the correct formula to do this peice of analysis.

    Much Appreciated

    KR
    F
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: Sumifs Function issue

    Try this.
    =SUMIFS(Details!$G:$G,Details!$F:$F,IF($C$5="All","*",$C$5),Details!$D:$D,IF($C$9="All","*",$C$9),Details!$B:$B,$C$7)

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Sumifs Function issue

    For Revenue

    =SUMIFS(Details!$G:$G,Details!$F:$F,IF($C$5="All","*",$C$5),Details!$D:$D,IF($C$9="All","*",$C$9),Details!$B:$B,Summary!$C$7)

    For Profit %:

    =SUMIFS(Details!$H:$H,Details!$F:$F,IF($C$5="All","*",$C$5),Details!$D:$D,IF($C$9="All","*",$C$9),Details!$B:$B,Summary!$C$7)/SUMIFS(Details!$G:$G,Details!$F:$F,IF($C$5="All","*",$C$5),Details!$D:$D,IF($C$9="All","*",$C$9),Details!$B:$B,Summary!$C$7)

  4. #4
    Registered User
    Join Date
    07-21-2016
    Location
    London
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2302 Build 16.0.16130.20806) 64-bit
    Posts
    94

    Re: Sumifs Function issue

    Thanks CK76 & John, the Revenue formula works like a charm . Amazing stuff

+ 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. Having issue with SumIFs and CountIfs
    By jando4 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-17-2016, 02:12 PM
  2. Issue with wildcard in SumIfs function
    By teamobrittttt_ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-20-2016, 10:48 AM
  3. sumifs + offset formula issue
    By jw01 in forum Excel General
    Replies: 6
    Last Post: 02-11-2015, 11:05 AM
  4. Matching, IF, SUMIFS, ISSUE- Help
    By exclusiveicon in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-16-2014, 02:41 PM
  5. SUMIFS Formula Issue
    By keithd203 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2013, 04:15 PM
  6. [SOLVED] Sumif() and Sumifs() Issue/Question
    By Consagrado in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-25-2013, 09:13 AM
  7. Issue with Sumifs Function
    By ExcelFinWizzard in forum Excel General
    Replies: 11
    Last Post: 07-09-2012, 03:31 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