Results 1 to 5 of 5

Thread: Highlight A Cell Using Conditional Format Using Row And Column Index

  1. #1
    Member
    Join Date
    Dec 2012
    Posts
    78
    Rep Power
    12

    Highlight A Cell Using Conditional Format Using Row And Column Index

    Hi

    How do I apply condition formatting to the cell range B2:M13 by the answer in Q10....how do I have the answer in cell Q10 (30) be highlighted in the table....can it be either Red or a double border

    Cheers

    Rich
    Attached Files Attached Files

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    here's what I've done. Used =CELL("address",OFFSET(Sheet1!$A$1,Sheet1!$Q$8,She et1!$Q$7,1,1))=ADDRESS(ROW(Sheet1!A1),COLUMN(Sheet 1!A1)) as conditional format formula starting from B2 to M13
    Attached Files Attached Files
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  3. #3
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,122
    Rep Power
    10
    Hi

    Or


    =AND(ROWS(B$2:B2)<=$Q$8,COLUMNS($B2:B2)<=$Q$7)
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  4. #4
    Member
    Join Date
    Dec 2012
    Posts
    78
    Rep Power
    12
    Excellent Guys
    Thank you

  5. #5
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    A better solution Admin. Had to make a minor modification though

    =AND(ROWS(B$2:B2)=$Q$8,COLUMNS($B2:B2)=$Q$7)
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Replies: 3
    Last Post: 05-23-2013, 11:17 PM
  2. Highlight Active Cell’s Row and Column
    By Transformer in forum Tips, Tricks & Downloads (No Questions)
    Replies: 0
    Last Post: 05-17-2013, 12:32 AM
  3. Replies: 7
    Last Post: 04-21-2013, 07:50 PM
  4. Replies: 4
    Last Post: 02-22-2013, 02:24 AM
  5. Replies: 4
    Last Post: 07-27-2012, 08:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •