+ Reply to Thread
Results 1 to 8 of 8

sumif with left function

  1. #1
    Registered User
    Join Date
    04-04-2012
    Location
    worcester
    MS-Off Ver
    Excel 2007
    Posts
    41

    sumif with left function

    Hi,

    I'm having trouble getting a sumif to work with the use of a left function.

    Here is the formula I have so far (that doesn't work)...

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The figure in cell A1 is 10 digits but the range it needs to look at could have 11 or more characters...so it just needs to say "if the first 10 characters match in range A10:A23...sum it..."

    Thanks!

    Adam

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,463

    Re: sumif with left function

    Try it this way:

    =sumif(A10:A23,A1&"*",B10:B23)

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    04-04-2012
    Location
    worcester
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: sumif with left function

    Oh right I see what you've done, that's awesome! Thank you!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,463

    Re: sumif with left function

    Glad to be able to help.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, I would like to inform you that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  5. #5
    Registered User
    Join Date
    10-23-2013
    Location
    İstanbul,Turkey
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: sumif with left function

    what would have changed if the charecters were 2 but not 10 ?

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: sumif with left function

    Quote Originally Posted by mertserveren View Post
    what would have changed if the charecters were 2 but not 10 ?
    In fact nothing! But pls if you have more queries about it, you have to start your own thread as per forum rules!

    adste89

    Pls see post#4!
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  7. #7
    Registered User
    Join Date
    04-04-2012
    Location
    worcester
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: sumif with left function

    Thanks...I did the reputation thing before anyway!

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,463

    Re: sumif with left function

    Quote Originally Posted by adste89 View Post
    Thanks...I did the reputation thing before anyway!
    And thanks for that - keeps pushing me up !!

    Pete

+ 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. [SOLVED] How to nest a left function within a sumif function?
    By LisaK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2017, 09:21 AM
  2. Sumif with Left
    By ashtanga in forum Excel General
    Replies: 7
    Last Post: 10-08-2010, 04:10 PM
  3. Sumif & left?
    By Koda7 in forum Excel General
    Replies: 5
    Last Post: 08-05-2010, 03:55 PM
  4. Sumif and Left Functions?
    By 2709236 in forum Excel General
    Replies: 2
    Last Post: 06-09-2010, 11:34 AM
  5. [SOLVED] sumif function when left 4 texts are matching
    By Vikram Dhemare in forum Excel General
    Replies: 1
    Last Post: 04-25-2006, 03:30 AM

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