+ Reply to Thread
Results 1 to 5 of 5

Sumproduct to match values in different cells

  1. #1
    Registered User
    Join Date
    01-25-2012
    Location
    Brisbane
    MS-Off Ver
    Excel 2003
    Posts
    43

    Sumproduct to match values in different cells

    Hi Experts

    I am trying to use the following formula to match the values and get the result in cell N3.

    Please Login or Register  to view this content.
    Real values are in cells C87,C88,E87 and E88 and the anticipated values are in cells F3,H3,J3 and L3. The anticipated values can be in any order.

    Please help me matching the anticipated values with real values.

    Regards
    Attached Files Attached Files
    Last edited by raj.bris; 03-08-2013 at 09:39 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sumproduct to match values in different cells

    Click GO ADVANCED and use the paperclip icon to post up a copy of your workbook. Make sure the workbook demonstrates a manual mockup of your your desired results in cell N3, not a formula, just enter the expected results from the sample data shown.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    01-25-2012
    Location
    Brisbane
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Sumproduct to match values in different cells

    File attached, real value cells are changed from the originally given.

    thanks

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Sumproduct to match values in different cells

    This array formula entered into N3:

    =--(SUM(COUNTIF($F$3:$M$3,$C$10:$E$11))=4)

    ...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL-SHIFT-ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

  5. #5
    Registered User
    Join Date
    01-25-2012
    Location
    Brisbane
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Sumproduct to match values in different cells

    Thanks Mate. Cannot believe that such big sumproduct formula can be shrunk to something like this small. Great work, it worked perfectly in one go.

    Cheers

+ 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