+ Reply to Thread
Results 1 to 3 of 3

Search for text in 2 separate columns then highlight/colour cell in another sheet

  1. #1
    Registered User
    Join Date
    05-29-2015
    Location
    London
    MS-Off Ver
    Excel for Mac 2011 - V 14.4.9
    Posts
    2

    Search for text in 2 separate columns then highlight/colour cell in another sheet

    Hi all, I'm new to this forum and fairly new to formulas and conditional formatting etc so any help would be greatly appreciated!

    I currently have a 2 sheets, Sheet1 is a 'sign out' sheet for Items that contains several columns that will be filled out by me and my colleagues 1 row at a time, Sheet2 lists all of the possible Items (a fixed drop down list) and their current status.
    The data is very similar on both sheets but different people will use them for different reasons so I do need both.

    The 'status' (Column G) on Sheet1 is currently controlled by a drop down list featuring 2 options, 'IN USE' and 'IN USE (OUT OF OFFICE)" and is colour coded using conditional formatting to search for a text match and then auto fill the cell with the right colour.

    Sheet 1
    SHEET1_SCREENSHOT.png

    Sheet 2
    SHEET2_SCREENSHOT.png

    I used to simply colour code the status on each sheet manually to match but this often caused issues due to my own human error so I got it into my head that maybe a formula/conditional formatting could do this for me?

    I'm not sure this is even possible, but what I would like is for the cell next to the item name on Sheet2 (the Status column - Column C) to auto fill the colour to match the current status colour when it is changed on Sheet1 - so it's yellow for IN USE and orange for IN USE (OUT OF OFFICE).

    I assume the formula will need to check Sheet 1 so that if, for example: Column A says "ITEM A1" and also Column G says "IN USE" then cell Sheet2-C2 should fill colour to YELLOW, if it only finds 1 or none of these criteria then it will leave it blank.

    I have managed to get this to work using conditional formatting using the following 2 conditions:
    *=AND('Sheet1'!$A3="ITEM A1", 'Sheet1'!$G3="IN USE")*
    *=AND('Sheet1'!$A3="ITEM A1", 'Sheet1'!$G3="IN USE (OUT OF OFFICE)")*

    But this only works when the information is input into the specific cells (Sheet1) A3 and G3. The problem I have is that the sheet will be constantly added to so I need the formula to be able to search all the rows in Column A to find the correct item name then search the corresponding row in Column G to find a text match there and then fill the cell on Sheet2 with the correct colour!

    Can this be done or is this wishful thinking?

    Apologies if this is not clear, let me know if you have any questions.

    Workbook
    KALIUS EXAMPLE.xlsx

    Thanks
    Last edited by kalius; 06-01-2015 at 05:25 AM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Search for text in 2 separate columns then highlight/colour cell in another sheet

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    05-29-2015
    Location
    London
    MS-Off Ver
    Excel for Mac 2011 - V 14.4.9
    Posts
    2

    Re: Search for text in 2 separate columns then highlight/colour cell in another sheet

    Thank you, I have amended the post now!

+ 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. Replies: 0
    Last Post: 02-28-2014, 06:50 PM
  2. Search cell for multiple text , return comma separated text in separate cell if found
    By dangerdoug in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2013, 01:52 PM
  3. Replies: 3
    Last Post: 08-16-2012, 03:25 PM
  4. Replies: 3
    Last Post: 05-11-2012, 02:07 PM
  5. How to separate text cell into columns
    By ExcelNewby in forum Excel General
    Replies: 7
    Last Post: 11-06-2007, 07:46 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