Results 1 to 8 of 8

formula to generate a string

Threaded View

  1. #1
    Registered User
    Join Date
    08-08-2019
    Location
    the Netherlands
    MS-Off Ver
    Office 2016
    Posts
    4

    formula to generate a string

    Hi,

    I am trying to build a relationship table from a flat table and should look something like this. The number in column A is considered a parent product and the relations in the result column should be the other products which have the same group values.

    It should look like this:

    A B C
    Number Group result
    1223 110001 1224
    1224 110001
    1225 100502 1226 | 1227
    1226 100502
    1227 100502
    1228 110720 1229 | 1230 | 1231
    1229 110720
    1230 110720
    1231 110720

    The column result obviously needs to be populated with a formula, but I cannot seem to figure out what the formula should be.
    I have tried a countif(B:B,B1) formula and copy that down. That allows me to filter out all single occurences.
    Then I wanted to work with an if formula to test if B2 is different from B1. If not, then I need to concatenate the value in column A with something. As I said, I can't seem to figure out how to dow this.

    I hope somebody can help me.

    Thank you in advance.
    Last edited by lightframe109; 08-08-2019 at 10:26 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Generate random values between two number and specific string
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-28-2016, 04:15 PM
  2. [SOLVED] Generate a string of numbers according to number of days in the month
    By bqheng in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-04-2016, 03:30 AM
  3. [SOLVED] Auto generate number with text string
    By hkbhansali in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-31-2015, 09:54 AM
  4. Extracting Number from Dates to generate a string of numbers...
    By Adam_S in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-23-2014, 04:48 AM
  5. Button to Generate Random String of Numbers
    By dlenoxx in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-26-2009, 06:37 PM
  6. Replies: 7
    Last Post: 09-01-2007, 04:29 PM
  7. [SOLVED] Generate Text String
    By Joe S. in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-03-2005, 12:06 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