+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : condiitonal format sheet 1 from values in sheet2

  1. #1
    Registered User
    Join Date
    10-21-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question condiitonal format sheet 1 from values in sheet2

    I am using MS Excel 2007. I want to conditionally format sheet 1 based on the values in sheet 2. I have 10000 x 1000 rows in sheet 1 and sheet 2.

    I tried to conditonally format a single row with following formula:

    Please Login or Register  to view this content.
    Edits: Small sample example is attached, where I did conditional formatting in column 1.

    I defined sheet2 colA as Sheet2_ColA used in naming column function. I tried to name whole sheet 2 and apply to sheet 1 but do not work.

    As I have huge number of column to deal with I can not do column by column (at least will not be justified in computer age !)

    thank you
    Attached Files Attached Files
    Last edited by shramh; 10-21-2011 at 10:42 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: condiitonal format sheet 1 from values in sheet2

    What exactly are you trying to do? I.e. what is the logic you are looking for in layman's terms?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-21-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: condiitonal format sheet 1 from values in sheet2

    I want apply conditional format to sheet 1 ( whole sheet, i.e. comulns and rows) based on sheet 2 ( whole sheet 2, i.e. coulmn and rows).

    Means that if value in sheet2 A1 cell is > 0.5, the sheet1 A1 cell will be formatted as "red" color.

    Similarly for all corresponding cells in sheet 1 are conditionally formated based on sheet 2. I could do one by one for each column wise (see edits with example for column 1 attached "example1.xls" ).

    I have more than 10000 columns so I want to repeate the same process to whole worksheet.

    thanks;

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: condiitonal format sheet 1 from values in sheet2

    You can apply a name to the whole of sheet2 (although it is recommended you limit the columns and rows because conditional formatting is volatile and therefore recalculates for all cells when you make a change in just one).

    so if you select and name Sheet2!A1:L18 like Sheet2Data

    Then in sheet1 select A1:L18 and apply conditional formula:

    =AND(A1<>"",INDEX(Sheet2Data,ROW(),COLUMN())<0.5)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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