Consulting

Results 1 to 3 of 3

Thread: SUMPRODUCT help needed!

  1. #1

    Exclamation SUMPRODUCT help needed!

    [Great genius people of the VBA express forum.

    I am currently working on a SUMPRODUCT formula. For one of the criteria’s I want it to grab the value from another cell. And in this sell I want to add up several criteria’s. For example cell value: "1, 2, 3, 4". This would mean that it would look for values 1, 2, 3 and 4.

    I also want to have multiple values in the cell that refers to values that start with a certain value. For example cell value: 093%, 094%, 095%. This would mean that it would look for values that start with 093, 094 and 095.

    Does anyone have a resolution for this?

    Many thanks,
    Martin

  2. #2
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,778
    It would help us understand better if you attached a workbook showing example inputs and the desired result.

    As a general rule, putting mulitple pieces of data in one cell adds unnesseary complication. The comma delimited entries that you mention would better be entered as three cells.

  3. #3
    Okay. I abanded that idea for just having several cells. But after integrating one I cant get it to work:

    =SUMPRODUCT(--(Sheet2!$A$2:$A$65536=$J$11),--(Sheet2!$D$2:$D$65536=$J$15),--(LEFT(Sheet2!$B$2:$B$65536,2)=$J$24),Sheet2!$E$2:$E$65536)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •