+ Reply to Thread
Results 1 to 7 of 7

Sumproduct

  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    Toronto, Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    47

    Sumproduct

    I am trying to return a value in a cell if criteria is met in other cells. For example, if A1:A18=Yes, B1:B18=Blue, D1:D18=Car, enter the value in T1:T18

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Sumproduct

    Hello,

    Sumproduct will return a sum of values or a count of values.

    You cannot use Sumproduct to return a value in a range. That requires a lookup formula instead.

    What exactly do you want to achieve? Please post a data sample in a workbook.

    cheers,

  3. #3
    Registered User
    Join Date
    06-21-2010
    Location
    Toronto, Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Sumproduct

    Quote Originally Posted by teylyn View Post
    Hello,

    Sumproduct will return a sum of values or a count of values.

    You cannot use Sumproduct to return a value in a range. That requires a lookup formula instead.

    What exactly do you want to achieve? Please post a data sample in a workbook.

    cheers,
    I have a sheet which lists a number of various products by similar products. If "Yes" in column A is select, and column B = Blue and column D = Car, I want the value found in column T to be present

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Sumproduct

    In T1

    =if(and(A1="Yes",B1="Blue",D1="Car"),T1,"")

    copy down

    If that does not help, post a workbook.

  5. #5
    Registered User
    Join Date
    06-21-2010
    Location
    Toronto, Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Sumproduct

    I have attached the file. What I want is IF I select Yes in Column A, and it is a Diswasher (column B), a Jenn-Air (column C), then the Total Value in Column K will be posted in C24

    Thank you again
    Attached Files Attached Files

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Sumproduct

    try

    =SUMPRODUCT(--($A$1:$A$18="yes"),--($B$1:$B$18="Dishwasher"),--($C$1:$C$18="Jenn-Air"),$K$1:$K$18)

    This would work much better with a pivot table.

  7. #7
    Registered User
    Join Date
    06-21-2010
    Location
    Toronto, Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Sumproduct

    That worked....thank you!!!!!!!!!

+ 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