+ Reply to Thread
Results 1 to 4 of 4

Labelling multiple occurances of variable in larger list

  1. #1
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Newport, England
    MS-Off Ver
    Excel 2013 Windows
    Posts
    144

    Labelling multiple occurances of variable in larger list

    LIST FORMULA HELP.xlsx

    Hi,

    I have been messing around with INDEX, MATCH, COUNTIF, VLOOKUP but I can't seem to get it right.

    On the sample I would like to label in "C:C" the occurance of the variable in order in "B:B" against the individual listed in "A:A".

    i.e. C2 (TOM)="A" C5 (TOM)="B" C9 (GARY) ="A"

    can anyone help?

    many thanks!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Labelling multiple occurances of variable in larger list

    It might be better to label them with numbers, otherwise you will run out of letters after "Z". Put this in C1:

    =IF(B1="x",SUMPRODUCT((A$1:A1=A1)*(B$1:B1="x")),"")

    then copy down.

    Hope this helps.

    Pete

    EDIT: If you really want letters, then you can use this in C1:

    =IF(B1="x",CHAR(SUMPRODUCT((A$1:A1=A1)*(B$1:B1="x"))+64),"")

    then copy down.

    Pete

  3. #3
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Newport, England
    MS-Off Ver
    Excel 2013 Windows
    Posts
    144

    Re: Labelling multiple occurances of variable in larger list

    THat's great thanks!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Labelling multiple occurances of variable in larger list

    Thanks for the rep.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Pete

+ 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] Finding a specific list of names inside larger list
    By Boxed in forum Excel General
    Replies: 7
    Last Post: 09-13-2013, 06:46 PM
  2. Replies: 5
    Last Post: 05-11-2012, 03:38 AM
  3. [SOLVED] Drop-down list Populated by a Subset of a larger list
    By RJH in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-11-2010, 07:17 AM
  4. Replies: 5
    Last Post: 08-26-2008, 01:07 PM
  5. Replies: 3
    Last Post: 01-16-2006, 02:10 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