+ Reply to Thread
Results 1 to 5 of 5

Possible to classify rows of data by ID into 3 Groups based on column data input.

  1. #1
    Registered User
    Join Date
    09-10-2019
    Location
    kent
    MS-Off Ver
    2016
    Posts
    12

    Possible to classify rows of data by ID into 3 Groups based on column data input.

    Wondering if it is possible to classify my rows of data in my table into three categories based on data recorded in two columns, after doing some research it looks like I may have to do countif and if function.

    The spreadsheet attached shows the format of the data currently and how I want the second format to look like.

    Here is how I would like the data to be classified based on what been input in the c Appointment and N Appointment columns.

    For a particular ID if, the c appointment and the N appointment both have marked as 1 then I want C then N.

    If N appointment is only marked in the column then n only.

    If possible if the N appointment is marked as 1 on a earlier date and then c appointment is marked on a later date then, n then c this could be based on the date column so - I understand this one would be difficult...

    Appreciate the responses

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Possible to classify rows of data by ID into 3 Groups based on column data input.

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    09-10-2019
    Location
    kent
    MS-Off Ver
    2016
    Posts
    12

    Re: Possible to classify rows of data by ID into 3 Groups based on column data input.

    The attachment should be here.
    Last edited by shevchenko2020; 11-13-2020 at 01:57 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Possible to classify rows of data by ID into 3 Groups based on column data input.

    Not yet ...
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    09-10-2019
    Location
    kent
    MS-Off Ver
    2016
    Posts
    12

    Re: Possible to classify rows of data by ID into 3 Groups based on column data input.

    my apologies.
    Here is the file.
    Attached Files Attached Files

+ 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. Remove rows based on data in groups of columns
    By CMOT Dibbler in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-28-2020, 05:00 PM
  2. Replies: 4
    Last Post: 05-22-2020, 04:01 AM
  3. Replies: 3
    Last Post: 01-27-2020, 07:11 PM
  4. Classify a data set by A-B-C based on % of total values
    By greatgenes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-22-2017, 02:10 AM
  5. [SOLVED] Sorting data into groups based on blank rows.
    By Voluntaryist in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-20-2014, 08:42 AM
  6. Finding intersecting row and column on data chart based on data input...
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2014, 08:09 PM
  7. [SOLVED] Enter text in column a based on data in several other columns for groups of rows
    By mrswain in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-27-2012, 03:29 PM

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