Results 1 to 5 of 5

Unique Values from 2 Columns of a table to an array

Threaded View

nikhilsharma30 Unique Values from 2 Columns... 01-05-2020, 03:25 PM
Marc L Re: Unique Values from 2... 01-05-2020, 08:29 PM
nikhilsharma30 Re: Unique Values from 2... 01-05-2020, 10:48 PM
6StringJazzer Re: Unique Values from 2... 01-06-2020, 02:09 PM
nikhilsharma30 Re: Unique Values from 2... 01-07-2020, 11:13 AM
  1. #1
    Registered User
    Join Date
    01-05-2020
    Location
    Sacramento, CA
    MS-Off Ver
    Office 2016
    Posts
    3

    Unique Values from 2 Columns of a table to an array

    Cross Posted on Chandoo Forums as well

    Hi All,

    One of my staff is responsible for maintaining calendars for doctors in excel.
    The data is in a table with Doctor Name, Date, Site, Start Time, End time.


    Sample spreadsheet attached. Please note its not a range but table.

    I need help with achieving 2 things:

    1. Pick up unique values from Doctor and Site Column into a 2 dimensional array.
    From the attached example, the array should have the following values:

    Doc 1 Site 1
    Doc 1 Site 2
    Doc 2 Site 1
    Doc 2 Site 2
    Doc 2 Site 3
    Doc 2 Site 4
    Doc 3 Site 1
    Doc 3 Site 2
    Doc 3 Site 4
    Doc 4 Site 5

    2. If there’s an overlap for a doctor’s time at any other site (same doctor, same date, overlapping time of any sorts), the conflicting rows should get color coded to show a conflict.
    Please note: Start and end times excluded from this criteria. Example: one site ends at 11 AM and another starts at 11 AM, this is not a conflict and should not highlight the rows.

    From the attached example, Row 6 and 7 should get highlighted for conflict.



    Please help!
    Thanks in advance!
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by nikhilsharma30; 01-05-2020 at 10:47 PM. Reason: Cross Post Mention

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dynamic array - unique values from multiple columns
    By istank in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 02-04-2021, 02:42 AM
  2. Replies: 8
    Last Post: 08-16-2019, 10:59 AM
  3. 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
  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: 0
    Last Post: 02-06-2019, 07:52 PM
  5. [SOLVED] How do I create a unique ranking from an array/table of values?
    By pperc15 in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 01-17-2013, 06:24 PM
  6. Replies: 2
    Last Post: 03-27-2012, 06:00 PM
  7. Trying to generate a table of unique values from an array...
    By djsquare in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-21-2007, 11:41 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