+ Reply to Thread
Results 1 to 4 of 4

Help building a formula for a series of data

  1. #1
    Registered User
    Join Date
    05-07-2016
    Location
    Barbados
    MS-Off Ver
    2010
    Posts
    2

    Help building a formula for a series of data

    I have data in a series of columns and I need help to build a formula which helps me sum a series of data if conditions in two of the columns are met. For example, in the attached file I want to say if the data in column A (product) is Visa Classic and the data in column C (transaction) is Purchases-On Us then sum the data in column D (count). I can do a nested IF AND statement if it is single data but I can't figure out how to do it when it is a series of data. So the end result for the scenario I provided above should be 127.

    Can you assist?

    Thanks

    Hadiya
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,371

    Re: Help building a formula for a series of data

    Consider your criteria "Visa Classic" in cell F3 and Purchase-On Us in cell G3, put this formula on F5 :

    =SUMIFS(D2:D12,A2:A12,F3,C2:C12,G3)

    or

    =SUMPRODUCT(--(A2:A12=F3),--(C2:C12=G3),D2:D12)

  3. #3
    Registered User
    Join Date
    05-07-2016
    Location
    Barbados
    MS-Off Ver
    2010
    Posts
    2

    Re: Help building a formula for a series of data

    Hi,

    Thanks for the reply. However, if there a way that I can use words in the formula? E.g.
    If cells in range A2:A12=Visa Classic and cells in range C2:C12=Purchases-On Us then return the sum of cells in range D2:D12.

    The data set I have to use is very large so making a cell for each of the different types of transactions would be very large.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Help building a formula for a series of data

    Hi, welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. building a revenue forecasting model and need calendar building help
    By miken33 in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 03-11-2013, 06:53 PM
  2. =SERIES and charts (adding two cells in a series formula)
    By benmmaddog in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-11-2013, 09:52 PM
  3. Replies: 2
    Last Post: 10-08-2012, 12:49 PM
  4. Replies: 3
    Last Post: 08-23-2012, 10:46 AM
  5. Replies: 1
    Last Post: 08-23-2012, 10:21 AM
  6. How to automate the date range when building Time-series charts in VBA
    By vbanewbie1233 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-14-2012, 08:11 AM
  7. Replies: 2
    Last Post: 12-13-2010, 01:39 PM
  8. Replies: 1
    Last Post: 07-19-2006, 05:40 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