+ Reply to Thread
Results 1 to 3 of 3

Sumproduct and Left

  1. #1
    Registered User
    Join Date
    10-11-2014
    Location
    New York
    MS-Off Ver
    2010
    Posts
    1

    Sumproduct and Left

    I'm clearly a newb. Here's a simple example of where I'm stuck. I tried searching, but most examples of this are complex and difficult to trace.

    Cell A1 = ABCDEF
    Cell A2 = ABCFED
    Cell A3 = FEDCBA
    Cell A4 = SUMPRODUCT(LEFT(A1:A3,3)="ABC")

    Returns zero, not 2? What am I missing?

    Thank you kindly for your help.

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Sumproduct and Left

    Hi,

    a small change


    =SUMPRODUCT(--(LEFT(A1:A3,3)="ABC"))

    or

    =COUNTIF(A1:A3,"ABC*")

    Hope it helps
    Last edited by canapone; 10-11-2014 at 01:42 PM.
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Contributor
    Join Date
    05-04-2014
    Location
    New Jersey, United States
    MS-Off Ver
    Excel 2010, 2013
    Posts
    120

    Re: Sumproduct and Left

    Try this: SUMPRODUCT(N(LEFT(A1:A3,3)="ABC"))

+ 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. Excel 2007 : LEFT With SUMPRODUCT
    By erik.kirby in forum Excel General
    Replies: 5
    Last Post: 02-10-2011, 03:08 PM
  2. SUMPRODUCT and LEFT.
    By klund in forum Excel General
    Replies: 8
    Last Post: 05-03-2009, 07:28 AM
  3. Sumproduct(LEFT(Number;1=6)).....
    By a94andwi in forum Excel General
    Replies: 4
    Last Post: 03-07-2007, 05:53 AM
  4. Left and Sumproduct
    By Alexball in forum Excel General
    Replies: 1
    Last Post: 08-09-2006, 07:04 AM
  5. LEFT embedded in SUMPRODUCT
    By marika1981 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2005, 03:06 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