+ Reply to Thread
Results 1 to 4 of 4

Calculate total if another cell equals 1

  1. #1
    Registered User
    Join Date
    11-06-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    6

    Calculate total if another cell equals 1

    Hi
    I need to be able to calculate the total number of days but only where another cell is equal to 1 and also link this to a specific quarter.

    So I have total days generated in cell D9 but I only want to add this to the overall total if F9 = 1

    Finally this also needs to be calculated on a specific quarter which is referenced in cell I9

    So my summary table is based on quarters and for quarter 1,I only want figures from D9 where F9=1 and I9 also =1

    I hope this makes sense.

    I think I have attached the file!

    Thanks for any help with this.

    SSGDSG
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Calculate total if another cell equals 1

    In B2 copied down:

    =SUMIFS($D$9:$D$14,$F$9:$F$14,1,$I$9:$I$14,ROWS(B$2:B2))
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Calculate total if another cell equals 1

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  4. #4
    Registered User
    Join Date
    11-06-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    6

    Re: Calculate total if another cell equals 1

    AliGW - works a treat - thank you very much!!

+ 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] If total cell equals 0 add the text "N/A"
    By Laurent53 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-23-2015, 11:11 AM
  2. Something for fun - Possible to play an animated gif if cell equals a total?
    By brent_milne in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2015, 06:46 PM
  3. Calculate possible combinations where the total sum equals 30
    By Buksh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-01-2013, 09:45 AM
  4. [SOLVED] Total of (x-character equals certain value) combined?
    By prinssimikko in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-18-2013, 07:12 AM
  5. #N/A in the Cell does not allow to calculate total.
    By pjfoster in forum Excel General
    Replies: 4
    Last Post: 02-21-2012, 03:20 AM
  6. Show #N/A when the total sum equals $0.00
    By avidcat in forum Excel General
    Replies: 3
    Last Post: 10-02-2010, 10:11 AM
  7. If cell equals, give total of another cell
    By Lori Burton in forum Excel General
    Replies: 2
    Last Post: 01-12-2006, 12:35 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