+ Reply to Thread
Results 1 to 5 of 5

Combining/Grouping Cell/Row information

  1. #1
    Registered User
    Join Date
    06-10-2012
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2007
    Posts
    17

    Combining/Grouping Cell/Row information

    Hi,

    I have a need to deduce the quantity of cells in a specific row that contain identical information. I don't think a "=COUNTA" will work since there are multiple options.

    Row A will have cells like this
    STD
    STD
    CC
    CC
    STD
    FL
    CC
    STD
    FL
    EPX
    CC
    STD

    I'd like as few cells as possible to generate the following information:
    4 Types
    5 STD
    4 CC
    2 FL
    1 EPX

    I could have up to 8 different types of "stuff" in these cells.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Combining/Grouping Cell/Row information

    Good day,


    Assuming all your data is in Column A, use COUNTIF instead of COUNTA. e.g.
    =COUNTIF(A:A,"STD")&" STD";
    =COUNTIF(A:A,"CC")&" CC"

  3. #3
    Registered User
    Join Date
    06-10-2012
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Combining/Grouping Cell/Row information

    Thanks Ace,

    I need to improve my communication skills.

    I was looking for something more "automated"

    I am looking for excel to establish the various types based on the information in the row. Then establish how many of each type.

    I need this to be fairly dynamic, I am importing from a data base and occasionally a new Type is added. I would like it if I did not have to modify the excel spreadsheet with new data.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Combining/Grouping Cell/Row information

    With the recorded macro in this file.

    Push the button to run the macro.

    Please reply if this is what youre up to.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-10-2012
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Combining/Grouping Cell/Row information

    Yes, that worked perfectly. Thanks!

+ 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