+ Reply to Thread
Results 1 to 9 of 9

Sumif like function for text

  1. #1
    Registered User
    Join Date
    05-17-2012
    Location
    Estonia
    MS-Off Ver
    Excel 2010
    Posts
    64

    Sumif like function for text

    Hello I have a problem with excel and I cannot find a solution, maybe somebody can help, if no one else can help then I have to hire the A-Team.
    So I have a list of things with same codename for similar items. I used sumif function to pick out similar things and sum their quantity. Now I'd like to select out similar items product codes, which occasionally contain letters and +-/ etc marks. I don't want to sum them up, but add found product codes on different cells or into one cell as a comma separated list.

  2. #2
    Forum Contributor
    Join Date
    05-04-2012
    Location
    Stamford,Connecticut,USA
    MS-Off Ver
    Excel 2003
    Posts
    105

    Re: Sumif like function for text

    Use Filter functionality then copy paste to a different worksheet

  3. #3
    Registered User
    Join Date
    05-17-2012
    Location
    Estonia
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: Sumif like function for text

    Thanks for quick response! I cannot do that because the list of things is always updated and new things added or deleted. I want the product code list to be current.

  4. #4
    Forum Contributor
    Join Date
    05-04-2012
    Location
    Stamford,Connecticut,USA
    MS-Off Ver
    Excel 2003
    Posts
    105

    Re: Sumif like function for text

    Load a representative sample of your data, to have a better idea of the source data and the results you expect

  5. #5
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Sumif like function for text

    Kalts,

    Welcome to the Excel Forum.

    To get the most precise answer, it is best to upload/attach a sample workbook (sensitive data scrubbed/removed/changed) that contains an example of your raw data on one worksheet, and on another worksheet your desired results.

    The structure and data types of the sample workbook must exactly duplicate the real workbook. Include a clear and explicit explanation of your requirements.

    To attach your workbook, scroll down and click on the Go Advanced button, then scroll down and click on the Manage Attachments button.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Sumif like function for text

    How about using a pivot table to filter out what you do and don't want to sum?
    HTH
    Regards, Jeff

  7. #7
    Registered User
    Join Date
    05-17-2012
    Location
    Estonia
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: Sumif like function for text

    Hello all
    I made a simple example file about what I want to achieve. The formula should pick up all similar items and list their product codes. Ultimately I want to greate a dropdown list for every item on a different sheet to show all product codes in storage at the moment.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    05-04-2012
    Location
    Stamford,Connecticut,USA
    MS-Off Ver
    Excel 2003
    Posts
    105

    Re: Sumif like function for text

    I know you are trying to make it simple, but with the current information what the end result should be still a little to vague. However, based on your postings, I think your best bet is to leverage the subtotal functionality of Excel.
    First sort your data by Product, then from the Main Menu click on the Data Tab, then select the area where the data is, and click on the subtotal ribbon. When the dialog window pops, select at each change in Product, use Function -> Count and select Add Subtotal to Product.
    Attached Files Attached Files
    Last edited by RaulRodriguez; 05-18-2012 at 09:50 AM. Reason: Loaded the file

  9. #9
    Registered User
    Join Date
    05-17-2012
    Location
    Estonia
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: Sumif like function for text

    Thank you for replys! I sorted it out with "concatIfs"

+ 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