+ Reply to Thread
Results 1 to 15 of 15

I need to have manual data track a unique dynamic list.

  1. #1
    Registered User
    Join Date
    10-17-2022
    Location
    Louisiana, USA
    MS-Off Ver
    365
    Posts
    9

    I need to have manual data track a unique dynamic list.

    Hello,

    I've been fighting this for weeks, I have a dataset that is entered manually. I'm using the =unique function to extract the unique values in the list, but I need "attach" manual data to what's extracted. In my attached example I have a list of colors that spans several rows and columns. Next to this I extract the unique colors and manually assign a color code. If the dataset changes or grows I need a way to automatically shift the color code to the correct row.

    In my real spreadsheet there would be hundreds of rows and columns, and everything to the right of the dynamic list would need to track it's corresponding "color".
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: I need to have manual data track a unique dynamic list.

    with Power Query
    (tailored to your example)

    NAMES COLOR1 COLOR2 COLOR3 COLOR4 COLOR5 Value Hex Code
    TED RED GREEN BLUE BLACK 000000
    RODNEY PURPLE RED BLACK BLUE 0000FF
    NICK GREEN BLUE RED YELLOW GREEN 008000
    DENNIS RED ORANGE PINK ORANGE FFA500
    TONY VIOLET GREEN BLUE PINK FFC0CB
    RICHARD ORANGE PURPLE PINK RED YELLOW PURPLE 800080
    VIOLET 7F00FF
    RED FF0000
    YELLOW FFFF00


    update your source (blue) table then Refresh result (green) table
    no need to manually input HEX colors
    Last edited by sandy666; 01-03-2023 at 06:33 PM. Reason: file updated

  3. #3
    Registered User
    Join Date
    10-17-2022
    Location
    Louisiana, USA
    MS-Off Ver
    365
    Posts
    9

    Re: I need to have manual data track a unique dynamic list.

    While you did just blow my mind, the real spreadsheet doesn't actually have anything to do with colors. In my head I had written that in my original post, but after re reading it I obviously did not. My apologies.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: I need to have manual data track a unique dynamic list.

    sssooooo, in the next post say what you really need

  5. #5
    Registered User
    Join Date
    10-17-2022
    Location
    Louisiana, USA
    MS-Off Ver
    365
    Posts
    9

    Re: I need to have manual data track a unique dynamic list.

    Using your example above pretend the hex data wasn't being calculated, but manually entered. the data itself is irrelevant. The important part is it must be entered manually, and always track with the dynamic data set.

    So if the value/ hex columns originally looked like

    value | hex

    brown| potato
    green | ostrich
    red | bandanna

    but due to the dynamic list changing it would end up becoming

    value | hex

    yellow | potato
    brown | ostrich
    red | bandanna
    green |

    What I really need is

    value | hex

    yellow |
    brown | potato
    red | bandanna
    green | ostrich

    Thank you for taking the time to help me. I'm afraid this is one of those times I don't even know how to ask the proper question.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: I need to have manual data track a unique dynamic list.

    post example excel file with source data (BEFORE) and expected result (AFTER) with a bit more than 2-3 lines, maybe 10-20

  7. #7
    Registered User
    Join Date
    10-17-2022
    Location
    Louisiana, USA
    MS-Off Ver
    365
    Posts
    9

    Re: I need to have manual data track a unique dynamic list.

    Book2.xlsx

    Here is another example.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: I need to have manual data track a unique dynamic list.

    if I understand well
    Color code - manual entries
    Unique list - automatic assign to your manual entries

    IMO you'll need to create assignment table

    EDIT:
    should the dataset be updated too? (I hope - not)
    Last edited by sandy666; 01-03-2023 at 07:30 PM.

  9. #9
    Registered User
    Join Date
    10-17-2022
    Location
    Louisiana, USA
    MS-Off Ver
    365
    Posts
    9

    Re: I need to have manual data track a unique dynamic list.

    You're correct, and that's pretty much what I did in the working version of the spreadsheet before I had access to office 365 and the unique function. I created a sheet with almost all possible "color codes" and just used index/match to perform lookups. Unfortunately for me I'm using several array formulas, and a lookup on a different workbook. The calculation times had climbed ~ 1 minute. I was hoping by generating the list as I went it would cut down the calc times. Inserting a row into my "color codes" table also takes ~ 1 minute.

    Do you know of a function that excel would only trigger once and forget? I was thinking I could do what I need with xlookup if I had a way to initially give it a value to look up. Say COLOR CODE had a lookup formula nested in an if statement, and when UNIQUE LIST <> blank it would copy that text string into the XLOOKUP value somehow, and then never try to overwrite the lookup value.

    Edit Reply: No the dataset is updated manually.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: I need to have manual data track a unique dynamic list.

    set it and forget it ?

    with formula(s) maybe someone else

    I can try with Power Query but I really need assignment table
    btw. in my first post assignment table (color and HEX) has 251 rows

    Quote Originally Posted by EtradeBaby View Post
    Edit Reply: No the dataset is updated manually.
    good news

  11. #11
    Registered User
    Join Date
    10-17-2022
    Location
    Louisiana, USA
    MS-Off Ver
    365
    Posts
    9

    Re: I need to have manual data track a unique dynamic list.

    You definitely sent me down a power query rabbit hole. I see a lot of reading and YouTube in my future. Thank you for that. I think. Maybe ask me in a week.


    Seriously though. Thank you for trying to help me it's greatly appreciated.

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: I need to have manual data track a unique dynamic list.

    Power Query is not so complicated as you think

    anyway you can try with your unique list and assignment table then create new table assignment and manual entries in proper order
    it can be done with formula(s)

    assignment table is required because nobody knows the 2 is red but not brown or 256 is pink but not blue

    but sorry I can't help with formula

  13. #13
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: I need to have manual data track a unique dynamic list.

    is that what you want?

    unique manual
    List Hex Hex Name
    BLACK FFA500 000000 BLACK
    BLUE FFC0CB 0000FF BLUE
    GREEN FFA500 ORANGE
    ORANGE 7F00FF FFC0CB PINK
    PINK 7F00FF VIOLET
    PURPLE FFFF00 FFFF00 YELLOW
    VIOLET
    RED 000000
    YELLOW 0000FF


    unfortunately with Power Query
    Last edited by sandy666; 01-03-2023 at 08:37 PM.

  14. #14
    Registered User
    Join Date
    10-17-2022
    Location
    Louisiana, USA
    MS-Off Ver
    365
    Posts
    9

    Re: I need to have manual data track a unique dynamic list.

    Unfortunately not, I'd still need some way to fill in the missing data.

  15. #15
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: I need to have manual data track a unique dynamic list.

    Quote Originally Posted by EtradeBaby View Post
    Unfortunately not, I'd still need some way to fill in the missing data.
    you can do that in the manual column then Refresh green table, no problem

    good luck
    Have a nice day
    Last edited by sandy666; 01-04-2023 at 09:28 AM.

+ 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. Dynamic Unique List using a Grid (2 axis of data)
    By coinbank in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-10-2018, 03:41 PM
  2. Track Dynamic Data with VBA
    By entaxei in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-17-2016, 04:05 AM
  3. [SOLVED] Dynamic Unique List from multiple dynamic columns
    By JO505 in forum Excel General
    Replies: 7
    Last Post: 06-11-2015, 05:41 PM
  4. Create unique list from dynamic list with dupes
    By kfryar in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-10-2014, 09:20 PM
  5. Trying to track time it takes to recieve quotes without manual entry.
    By chris24609 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-19-2013, 02:08 PM
  6. Dynamic Unique List
    By John Bates in forum Excel General
    Replies: 8
    Last Post: 03-01-2010, 07:51 PM
  7. Unique Dynamic Validated List
    By Jason Morin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 07:05 AM

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