+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting based on linking two excel sheets by ID number? Save my career

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    5

    Exclamation Conditional formatting based on linking two excel sheets by ID number? Save my career

    Dear All,

    This would really help me show my boss that I am a good worker and can find solutions to problems with some research and with your help, you have no idea how much this will help me and I really appreciate any help I could get.

    Here is the situation:

    I have two excel files with data. each file holds different types of data for a similar Item, which is identified by the same ID name in both sheets.

    My question is whether I can make conditional formatting of the first excel sheet based on the other.


    I attached two example excel sheets, however the databases I am dealing with have more column and rows. The main thing is for book 2 conditional formatting for the column called "missing" to be able to look at Book 1 at the column called "Available" and see whether the value is 1, if the value of item ID is 1 in Book 1 under "Available", and for the same ID in book 2 under "missing" it is also 1, I want the conditional formatting to highlight that 1 under "missing" in purple. and do nothing if the value is 0 in book 1 under available.

    I did the highlighting manually just to show what I mean, I hope someone can shed a light and help me. Thank you

    Book1.xlsxBook2.xlsx

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Conditional formatting based on linking two excel sheets by ID number? Save my career

    Hi,

    Please use the following formula in F3 in Book2.xlsx

    =IF(VLOOKUP(B3,[Book1.xlsx]Sheet1!$A:$C,3,0)=D3,"Y","N")

    Then use the conditional formatting D3=F3 to get the desired result.

    Hope this helps..

    Regards,
    Chandraimage.jpg

+ 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. Conditional Formatting, Excel 2010, based on number of a certain text value in a range
    By trueimperfection in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2014, 06:55 AM
  2. [SOLVED] Add border & apply conditional formatting to sheets based on cell value
    By amar05 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2013, 11:02 AM
  3. Conditional formatting based on other results from other sheets......
    By Samba Glee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-03-2013, 02:20 PM
  4. Conditional formatting based on a row number
    By dlwoodsaust in forum Excel General
    Replies: 3
    Last Post: 03-15-2012, 12:33 PM
  5. Conditional formatting based on the file save date
    By rpadilla65 in forum Excel General
    Replies: 3
    Last Post: 10-28-2011, 08: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