+ Reply to Thread
Results 1 to 9 of 9

SUMIF and SUBTOTALS

  1. #1
    Registered User
    Join Date
    06-09-2021
    Location
    Duluth, MN
    MS-Off Ver
    Office 365
    Posts
    4

    SUMIF and SUBTOTALS

    Thanks in advance for the help. I am using a SUMIF and need to make it work when i filter by account number to only give me the data for that one account number and running into problems. Colum B is my Account number, Column C is my product code and Column D are the gallons purchased.

    For #2 Clear Diesel, this works perfect, but i can not figure out how to get a subtotal so i can filter it by account? =SUMIF(C4:C428, "1", D4:D428)

    Thanks for any help!!

    2021-06-09_9-05-32.jpg

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUMIF and SUBTOTALS

    Hi and welcome to the forum.

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    To upload a file click the Go Advanced button at the foot of your post, look underneath the post area for the Manage Attachments section and take it from there.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    06-09-2021
    Location
    Duluth, MN
    MS-Off Ver
    Office 365
    Posts
    4

    Re: SUMIF and SUBTOTALS

    Attachment 735888
    Sample Spreadsheet

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,732

    Re: SUMIF and SUBTOTALS

    Selecting the attachment in post #3 results in the following message: "Invalid Attachment specified. If you followed a valid link, please notify the administrator".
    Please utilize the instructions in the banner at the top of the page.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    06-09-2021
    Location
    Duluth, MN
    MS-Off Ver
    Office 365
    Posts
    4

    Re: SUMIF and SUBTOTALS

    Lets try to attach again...thx
    Attached Files Attached Files

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,541

    Re: SUMIF and SUBTOTALS

    Cell C53 formula , drag down

    HTML Code: 
    OR
    HTML Code: 

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,659

    Re: SUMIF and SUBTOTALS

    Try this.F2 Acc no =2614, G2 product=2

    =SUMIFS($D$2:$D$51,$B$2:$B$51,F2,$C$2:$C$51,G2)
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  8. #8
    Registered User
    Join Date
    06-09-2021
    Location
    Duluth, MN
    MS-Off Ver
    Office 365
    Posts
    4

    Re: SUMIF and SUBTOTALS

    Thank you so much. 2nd one worked really well!! Much appreciated!

  9. #9
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,541

    Re: SUMIF and SUBTOTALS

    You're Welcome. Thank You for the feedback

+ 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] Find subtotals for three separate items and place all subtotals at bottom of all the data
    By skylinekiller in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-09-2019, 09:22 AM
  2. Replies: 1
    Last Post: 11-22-2015, 08:35 AM
  3. [SOLVED] Subtotals + SumIf help
    By MKief in forum Excel General
    Replies: 3
    Last Post: 06-28-2012, 02:52 PM
  4. [SOLVED] Sumif problem with subtotals
    By kisboros in forum Excel General
    Replies: 2
    Last Post: 05-07-2012, 04:20 PM
  5. SUMIF with Subtotals
    By jon_wolf69 in forum Excel General
    Replies: 3
    Last Post: 01-05-2009, 10:38 AM
  6. How i can create a formula that combine subtotals and sumif
    By Ray in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-15-2006, 11:20 AM
  7. [SOLVED] Problem with nested subtotals, placing secondary subtotals BELOW .
    By Dawn Cameron in forum Excel General
    Replies: 1
    Last Post: 06-03-2005, 06:05 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