+ Reply to Thread
Results 1 to 4 of 4

Extract data from different cells based on colour

  1. #1
    Forum Contributor
    Join Date
    04-28-2016
    Location
    Stavanger, Norway
    MS-Off Ver
    365
    Posts
    142

    Extract data from different cells based on colour

    Hi,

    I have a dataset with cells in different colours, where I would like to extract data from column A and row 2 based on the colour of the cell (see attached example). The example contains a table showing the scenario of the data I have and how I would like to present the extracted data.
    I am not really sure how to go about doing this, please advice.
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,737

    Re: Extract data from different cells based on colour

    A
    B
    C
    D
    E
    F
    G
    1
    What I have:
    2
    A B
    3
    X
    4
    Z
    5
    Y


    macro:
    Please Login or Register  to view this content.
    result:

    A
    B
    C
    D
    E
    F
    G
    1
    What I have:
    2
    A B
    3
    X X-A Z-A Y-A
    4
    Z X-B Y-B
    5
    Y Z-B
    Attached Files Attached Files
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    04-28-2016
    Location
    Stavanger, Norway
    MS-Off Ver
    365
    Posts
    142

    Re: Extract data from different cells based on colour

    Thats spot on! Thanks
    Last edited by mss90; 08-05-2020 at 11:53 AM.

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,737

    Re: Extract data from different cells based on colour

    Happy to help.
    Thanks for rep.

+ 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. Colour a cell based on the colour of a range of other cells
    By Kendhal in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2019, 06:19 AM
  2. Colour cells based on colour of another cell
    By chrisellis250 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-12-2019, 12:54 PM
  3. conditional formatting fill cells based on text, how to find sum based on CF colour
    By tubbybear in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-27-2016, 12:04 PM
  4. [SOLVED] Search cells based on student name, cell background colour and return a tally for colour
    By drof_06 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-26-2016, 04:31 AM
  5. Replies: 3
    Last Post: 12-18-2014, 10:27 AM
  6. Change colour of cells based on another cell's colour (Not value)
    By LTrain89 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2013, 08:44 PM
  7. Highlight or colour a cell or cells based on cells in another range.
    By baffld in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2012, 08:41 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