+ Reply to Thread
Results 1 to 6 of 6

Match values in 2 columns and return the sum

  1. #1
    Registered User
    Join Date
    12-05-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    15

    Match values in 2 columns and return the sum

    Hi,

    I would appreciate some assistance with the following.

    I have a spreadhseet with multiple tabs, I need to checj a tab and match data in 2 columns and then the result should appear as a count in another tab. For example, in cell I3 in tab 'Productivity Table', I want there to be a formula that checks tab 'Co-Leading & Scoping' and identifies if Column C = 'Adam B' and if column A does not equal 'FY12'. If so, the total number of occurences should be output to the tab 'Productivity Table' in cell I3.

    Similarly in cell J3 on the tab 'Productivity Table', I again want to check the tab 'Co-Leading & Scoping', but this time check for 'Adam S' in column C and 'FY12' in colum A.

    Please see spreadsheet attached to see the data I am referring to above.

    If you are able to demonstrate the answer with a working example, that would be great.

    Thanks!
    shaz_79
    Attached Files Attached Files

  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: Match values in 2 columns and return the sum

    Hi,

    Does the attached help. You need the helper column H on the Co-Leading.... sheet since you don't have Excel 2007 and hence can't use COUNTIFS() functions.

    Regards
    Attached Files Attached Files
    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
    12-05-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Match values in 2 columns and return the sum

    Thanks, the formula in column I works great. What is the formula to enter into column J to output the FY12 data?

    Thanks!!

  4. #4
    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: Match values in 2 columns and return the sum

    Hi,

    Please Login or Register  to view this content.
    Regards

  5. #5
    Registered User
    Join Date
    12-05-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Match values in 2 columns and return the sum

    Can the output be achieved without adding details into column H on the co-leading & Scpoing tab?

    The data will grow over time, thus I need a formula which looks purely at the columns available today.

    Thanks,
    shaz_79

  6. #6
    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: Match values in 2 columns and return the sum

    Hi,

    Yes it's possible but because you don't have Excel 2007 or 2010 only by using an array formula. Don't dismiss helper columns like the column H I've shown you out of hand. For users of Excel 2003 they can be particularly useful since they allow you to combine several criteria to create a single unique criteria.

    You can use array formulae like SUMPRODUCT() but be aware that for anything other than small ranges these can can be memory hungry and slow calculations down. In your case the following two array formula will work.

    I3:
    Please Login or Register  to view this content.
    J3:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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