Results 1 to 21 of 21

Unique Values from multiple columns of Table

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-24-2019
    Location
    India
    MS-Off Ver
    Ms. Office 2016
    Posts
    174

    Exclamation Unique Values from multiple columns of Table

    Hello,

    As per attached sample file, there are two sheets, sheet 1 is Basic Data and Sheet 2 is Expected Result.
    In basic data sheet, Table is given in which header is name of the subject and below it list of teachers is given. One teacher can be seen multiple times at different subjects. As it is sample file, in actual work number of teachers and subject may increase or decrease. Also name of the teacher and subject from basic table may also get replaced. It is because in future teacher or subject may get replace and new teacher and subject may get introduced.

    I want to have unique list of teachers in result sheet in given format. Also their name of the subjects will appear next to their name as per given format.

    In result sheet, In the blank cell of subject, automatic value 'Nil' will appear.

    In Basic data sheet, size of the table will increase or decrease with addition or deletion of the teacher and subject name.

    This code will work only in selected areas in result sheet as per given (separate instructions) in the sample file.

    Need VBA code for this. I have tried formulas but it is reducing performance/speed of the file.

    Thank you for Help.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formula to get unique list of values from multiple columns in a table
    By paulma1960 in forum Excel Formulas & Functions
    Replies: 35
    Last Post: 10-31-2021, 07:31 PM
  2. Unique Values from 2 Columns of a table to an array
    By nikhilsharma30 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2020, 11:13 AM
  3. Replies: 8
    Last Post: 08-16-2019, 10:59 AM
  4. Insert blank rows above a table based on unique values in one of the columns in the table
    By carlito2002wgn in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-08-2019, 01:06 PM
  5. Insert blank rows above a table based on unique values in one of the columns in the table
    By carlito2002wgn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-06-2019, 07:52 PM
  6. Replies: 16
    Last Post: 01-11-2012, 10:51 AM
  7. Replies: 5
    Last Post: 04-21-2011, 05:22 PM

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