+ Reply to Thread
Results 1 to 6 of 6

HELP!Compare values in different sheets based on multiple reference values as conditions

  1. #1
    Registered User
    Join Date
    09-23-2013
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    5

    HELP!Compare values in different sheets based on multiple reference values as conditions

    I have data in two different sheets. The actual data is much much bigger. This is just the sample. So it would be very very painful if I couldn't get a solution to this.

    In sheet1, I have the borrowers and outstanding per employee. In the Area Avg sheet, I have the average borrowers and outstanding in each area as this is the standard for comparison (I got this through the subtotal function).

    Now what I have to do is in sheet1, format(change the color) each cell under borrowers which is greater than the average of the relevant area. Since, (in my actual data) the name of the area may be duplicate in different regions, the reference value (average borrowers of the area) from "Area Avg" sheet has to be traced through multiple criteria which are: Division, Region and Area. The same also has to be done for outstanding but the solution can be provided for borrowers only.

    Any solution that is provided, please let me know if it can be applied to really really huge amount of data.

    Thank in advance.

    Sample.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: HELP!Compare values in different sheets based on multiple reference values as conditio

    So sorry.

    I have replied an irrelevant answer.
    Last edited by ramananhrm; 09-24-2013 at 12:46 AM.
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Registered User
    Join Date
    09-23-2013
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: HELP!Compare values in different sheets based on multiple reference values as conditio

    Can u plz explain why wrong post. Wanted to know since I am new. How can I get help on this????

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: HELP!Compare values in different sheets based on multiple reference values as conditio

    Hi and welcome to the forum

    You can use Conditional Formatting to make cells change color, however, if you use it in a VERY large worksheet/workbook, it can slow your file down considerably You say you have "really really huge amount of data" - just how huge? how many rows/columns?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    09-23-2013
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: HELP!Compare values in different sheets based on multiple reference values as conditio

    I am working with 5180 rows and 46 columns. So, for me that's huge. I also thought of condition formatting but I am caught up in the formula as this cannot be solved with the built in options of conditional formatting.

    Can you give me a solution to reference multiple values as condition (In my case, Division, Region and Area) from different sheets. If it is not possible from different sheets, then I can bring the data into 1 sheet. BUt still I would have to refer to multiple conditions.

    I tried using the following formula in my total data but it didn't work. Don't know why.

    =$I$6>(index($D$5652:$D$6113,match(1,($A$6=$A$5652:$A$6112)*($B$6=$B$5652:$B$6112)*($C$6=$C$5653:$C$6113),0)))

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: HELP!Compare values in different sheets based on multiple reference values as conditio

    See if the attached is what you want?

    I had to use named ranges for the CF because 2007 wont accept ranges from other sheets.
    Attached Files Attached Files

+ 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: 1
    Last Post: 10-01-2013, 02:41 AM
  2. Compare two sheets,copy and paste unique rows based on values in 2 columns
    By ooggiemobile in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2013, 03:58 AM
  3. HELP !!How to add values to sheets based on two conditions
    By Abo Rawad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2012, 06:37 PM
  4. Compare values in multiple sheets
    By marcu_lucia in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2006, 02:49 AM
  5. [SOLVED] Cell values based upon multiple conditions
    By Ryan M via OfficeKB.com in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-18-2005, 10:05 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