+ Reply to Thread
Results 1 to 4 of 4

Column Comparision

  1. #1
    Registered User
    Join Date
    03-25-2006
    Posts
    28

    Smile Column Comparision

    Hi,

    I need help for my daily job.
    My need is
    First compare cell of column E with column A and check for corresponding value in column D.

    In attached sheet, cell E1= cell A39 and corresponding value at D39 is 1 then enter text of E1 with red color in cell H1. if its value is zero then with green color in cell H1. Cell E2= cell A46 and corresponding value at D46 is zero then text of E2 is of green color in cell H2.

    Regards
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by dayaptl
    Hi,

    I need help for my daily job.
    My need is
    First compare cell of column E with column A and check for corresponding value in column D.

    In attached sheet, cell E1= cell A39 and corresponding value at D39 is 1 then enter text of E1 with red color in cell H1. if its value is zero then with green color in cell H1. Cell E2= cell A46 and corresponding value at D46 is zero then text of E2 is of green color in cell H2.

    Regards
    Hi,

    In H1 put

    =IF(VLOOKUP(E1,A:D,2,FALSE)=1,E1,IF(VLOOKUP(E1,A:D,2,FALSE)=0,E1,""))

    and formula fill down, then highlight column H and Format, Conditional Format,
    Formula =VLOOKUP(E1,A:B,2,FALSE)=1 colour=Red
    add another
    Formula =H1=E1 colour=Green - amended from this
    Formula =AND(H1=E1,H1<>"") colour=Green

    hth
    ---
    Last edited by Bryan Hessey; 11-27-2006 at 05:16 PM.
    Si fractum non sit, noli id reficere.

  3. #3
    Registered User
    Join Date
    03-25-2006
    Posts
    28

    Thanks

    Hi,

    Thanks for help.

    It works O.K.

    Regards

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by dayaptl
    Hi,

    Thanks for help.

    It works O.K.

    Regards
    Good to see it work for you, and thanks for the response.

    ---

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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