+ Reply to Thread
Results 1 to 5 of 5

grouping 2 data cells within a range

  1. #1
    Registered User
    Join Date
    09-16-2023
    Location
    Spain
    MS-Off Ver
    365
    Posts
    42

    grouping 2 data cells within a range

    Hello Xelers,

    I need a formula/function that fills column D to which group the data of column B ( group to be found in
    column G) AND the data of coumn C (group to be found in column H)
    The data are refreshed daily. That is why I need the formula/function itself
    The first 2 lines D2 and D3 showing you of how I need the data to be presentd (no coloring)

    Thank you very much for your kind help

    Thomas
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,933

    Re: grouping 2 data cells within a range

    In D2 copied down:

    =INDEX($G$2:$G$20,XMATCH(B2,--TEXTBEFORE($G$2:$G$21," "),-1))&" / "&INDEX($H$2:$H$54,XMATCH(C2,--TEXTBEFORE(SUBSTITUTE($H$2:$H$54,",",".")," "),-1))
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-16-2023
    Location
    Spain
    MS-Off Ver
    365
    Posts
    42

    Re: grouping 2 data cells within a range

    Hello Ali,

    would you mind adding that formula into my spreadsheet? Reason is that the englisch formula is not working in my german version. The function "xmatch" and "textbefore" are nor found in the german version of XLSX365.
    Thank you very much
    Thomas

  4. #4
    Registered User
    Join Date
    09-16-2023
    Location
    Spain
    MS-Off Ver
    365
    Posts
    42

    Re: grouping 2 data cells within a range

    Sorry Ali.... my mistake... I see the formula is already added.
    All good...
    Sorry again...
    Thomas

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,933

    Re: grouping 2 data cells within a range

    Yes - that's why I provided a workbook.

    Glad to have helped.

+ 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. Grouping a range of cells
    By Fessy82 in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-19-2015, 07:14 PM
  2. Replies: 4
    Last Post: 07-26-2014, 02:35 AM
  3. Transfering Range of Cells with Merge & Grouping
    By gimgandi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-25-2013, 12:29 PM
  4. Grouping cells for data entry
    By campingshadow in forum Excel General
    Replies: 7
    Last Post: 11-23-2009, 11:23 PM
  5. Grouping cells with identical data
    By ChacoKevy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-23-2008, 03:53 PM
  6. [SOLVED] [SOLVED] Grouping data range
    By zak in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-17-2005, 09:50 AM

Tags for this Thread

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