+ Reply to Thread
Results 1 to 11 of 11

Simple solution. Criteria based conditional formatting. (Index match) HELP!

  1. #1
    Registered User
    Join Date
    10-15-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Question Simple solution. Criteria based conditional formatting. (Index match) HELP!

    Hey everyone,

    I would like to ask for assistance in wrapping my head around a VBA macro or if possible inline formula. I'm sure its a fairly simple implementation, but I'm struggling with it seeing as I'm new to VBA.

    I have two sheets that need to be compared and differences highlighted on budget sheet in the Budget sheet.

    Please see the attached example sheet as it outlines my goal exactly.

    Also please consider that these sheets will be ongoing, so more dates and vendors will be added.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    Why do you use two different colours?
    Why are columns H-O are not highlighted as these columns do not match?

  3. #3
    Registered User
    Join Date
    10-15-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    Quote Originally Posted by AB33 View Post
    Why do you use two different colours?
    Why are columns H-O are not highlighted as these columns do not match?
    Hey, apologies. I didn't finish the table. This sheet is only an example of what I would like. Budget sheet, is supposed to compare to the Expense sheet. Does this help?

    I have been looking at 2 way lookups, but I am not sure about the conditional formatting aspect of this. I assume this request can only be done in VBA?
    Last edited by omni13; 11-01-2013 at 10:33 AM.

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    I know that but you have not answered my questions.
    Is it mistake to use 2 different colours? Is it also you have not coloured column H-O, though it should be coloured?

  5. #5
    Registered User
    Join Date
    10-15-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    1. First, thanks so much for the fast reply! Really appreciate it!

    Yes There should be multiple colors.

    Basically, I would like the values between two sheets (Budget and Expense) to be conditionally highlighted on Budget.
    -RED: Expense value > Budget value
    -Green: Expense < Budget value
    -YELLOW : Expense Value exists, but no value for Budget. or vice versa?
    -No color: Budget=Expense.

    Also note: Vender name is large in Expenses, but only a few are used in Budget. I am having trouble wrapping my head around the Match/Index of the vendors portion, to make sure the values correspond to the appropriate Vender /Date cell.

    Even better option. To have colors dictate how much over or how much under?


    2. Yes, H-O should be colored too. I uploaded a sheet before finishing those.

    I think i'm looking at something similar to this with two way lookups (http://www.youtube.com/watch?v=rQQa1kfad0U) but it would have to be live and dynamic as I enter data in to both sheets. This seems a tough one

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    "-YELLOW : Expense Value exists, but no value for Budget. or vice versa?"

    "Also note: Vender name is large in Expenses, but only a few are used in Budget"

    If a cell does exist in expense but not in budget you can not colour in budget as it does not exist. This is only possible with match function if you colour the cells in expense sheet.

  7. #7
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    The clip deals with formulas and I do not think you can change the colour of a cell with a function.

  8. #8
    Registered User
    Join Date
    10-15-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    To my understanding the process is something like this in 3 parts:

    ***Expenses=Sheet1 Budget=Sheet1

    Part 1: Compare Vendors List

    1. Lookup Sheet1's Long Vendor list.

    2. Find matches for Sheet1's vendor list in Sheet2's smaller Vendor list.

    3. Using vendor match's between Sheet1 and Sheet2, scan across row and match common months between the two common vendors.


    Part 2: Compare Values for Vendors and Dates to find cells for comparision.

    Part 3: Apply conditional formatting based on the cell's values (after all lookups)

    Red: if Sheet1 cell value > Sheet2
    Green: if Sheet1 cell value < Sheet2
    Yellow: if Sheet1 cell value EXISTS, but Sheet2 Value does not exist
    Blue: if Sheet1 cell value does not Exist, but Sheet3 Value Exists.
    No Color: if Sheet1 cell value = Sheet2 Cell value

    Part 4: All will persist if Vendor is added, or if more months are added.

    It's really tough. Hopefully this made the mud a little clearer. To my understanding, this is possible to pull off inside excel? or is it better to make it a VBA code?

  9. #9
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    Can I show me how are going to return Name 17 from expense sheet by looking up in sheet budget using a Look up or match and index function?

  10. #10
    Registered User
    Join Date
    10-15-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    Apologies, I should have mentioned this as well. The Expenses Sheet is somewhat of a master sheet that may have many vendors that will not be used in the budgeting sheet. I would like to account for this.

  11. #11
    Registered User
    Join Date
    10-15-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Simple solution. Criteria based conditional formatting. (Index match) HELP!

    No ideas? Anyone?

+ 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. [SOLVED] Conditional formatting based on VLOOKUP/INDEX:MATCH
    By strud in forum Excel General
    Replies: 2
    Last Post: 06-13-2013, 07:02 AM
  2. Index Match based on 2 Criteria only returning 1 match
    By stsanders22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2012, 11:26 PM
  3. Replies: 4
    Last Post: 02-29-2012, 01:28 PM
  4. Replies: 2
    Last Post: 09-18-2009, 07:07 PM
  5. probably a simple solution on conditional formatting
    By rwethington in forum Excel General
    Replies: 3
    Last Post: 09-01-2006, 08:24 PM

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