+ Reply to Thread
Results 1 to 4 of 4

Sum up based on specific text with a text string

  1. #1
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Sum up based on specific text with a text string

    hello All

    Please see the attached

    i need a formula that looks upa 'part a text string then and then adds the total together

    J5 – Looks for 663AGRP STD and then sums column C
    I have manually put some expected data in



    Paul
    Attached Files Attached Files

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

    Re: Sum up based on specific text with a text string

    Hi

    in K5 and below

    =SUMPRODUCT(--(LEFT(B$2:B$106,LEN(J5))=J5),C$2:C$106)

    Regards
    -----------------------------------------------------

    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 Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Sum up based on specific text with a text string

    Please try at K5
    =SUMIFS(C:C,B:B,J5&"*")

  4. #4
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Re: Sum up based on specific text with a text string

    both work great,

    Bo_Ry - sollution very useful

+ 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] IF functions has specific text, then multiply or divide dependant on text string
    By npereira in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-27-2018, 12:19 PM
  2. [SOLVED] UDF that extracts specific text from cell based on user input string
    By Tunesmith in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-04-2018, 10:41 AM
  3. Replies: 24
    Last Post: 11-10-2015, 07:27 PM
  4. [SOLVED] Macro to convert specific text and format specific text within a string
    By Mencae in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-06-2012, 12:13 AM
  5. [SOLVED] Find Specific Text in Text String and Return Value in Adjacent Column
    By watchouse in forum Excel General
    Replies: 2
    Last Post: 07-11-2012, 03:53 PM
  6. Conditional formating based on specific text in string in another cell
    By mraheelgujjar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2011, 01:09 PM
  7. Searching for Text String and copying specific portion based on characters
    By undergraduate in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-30-2010, 12:45 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