+ Reply to Thread
Results 1 to 5 of 5

Find values in two columns then highlighted cells

  1. #1
    Forum Contributor
    Join Date
    10-03-2012
    Location
    USA
    MS-Off Ver
    2010
    Posts
    496

    Find values in two columns then highlighted cells

    Hello,
    I am looking for VBA to find the value (200) in A2:F15, The lookup value should be in between
    A1:B15, A2:A15 or B2:B15. Once the lookup (200) is defined its location, then next lookup the
    result (21) in one of five columns based on the your status in K5 (MFJ). The row no. for the
    result has the same row no. as the first lookup value (200).

    Fill 2 cells for the lookup values (A12 and B12), and the result in D12 in light blue R: 197, G: 217
    and B: 241.


    Thanks for the help.
    Last edited by Rocky2013; 04-15-2017 at 02:00 PM.

  2. #2
    Registered User
    Join Date
    02-22-2016
    Location
    Harare, Zimbabwe
    MS-Off Ver
    2007 & 2010
    Posts
    71

    Re: Find values in two columns then highlighted cells

    Maybe you could use Conditional Formatting?
    Happy? Click the * to the left.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,996

    Re: Find values in two columns then highlighted cells

    named ranges:
    AtLeast=Sheet1!$A$1:$A$15
    hoh=Sheet1!$F$1:$F$15
    LessThan=Sheet1!$B$1:$B$15
    mfs=Sheet1!$E$1:$E$15
    mjf =Sheet1!$D$1:$D$15
    Single=Sheet1!$C$1:$C$15
    N6:
    Please Login or Register  to view this content.
    N9:
    Please Login or Register  to view this content.
    O9:
    Please Login or Register  to view this content.
    conditional format columns
    a:b
    Please Login or Register  to view this content.
    c - f:
    Please Login or Register  to view this content.
    Ben Van Johnson

  4. #4
    Forum Contributor
    Join Date
    10-03-2012
    Location
    USA
    MS-Off Ver
    2010
    Posts
    496

    Re: Find values in two columns then highlighted cells

    Hi protonLeah, It works well without using VBA.

    Hi myou, Thanks for suggestion.

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,996

    Re: Find values in two columns then highlighted cells

    Your're welcome

+ 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. Find values in two columns then highlighted cells
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2017, 11:39 AM
  2. Deleting highlighted cells within four columns of data - VBA?
    By RedditGold in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-21-2017, 06:10 PM
  3. Macro to find cells that are highlighted within column A and then highlight below
    By cavancullen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-19-2016, 11:54 AM
  4. Find Highlighted Cells and Delete
    By basketball2524 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-27-2014, 04:56 PM
  5. [SOLVED] For each row in Column A copy only corresponding Highlighted cells In other Columns
    By boorama in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2013, 02:12 AM
  6. Macro to find Red Highlighted cells from Conditional Formatting
    By aharvestofhealth in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-02-2012, 10:22 AM
  7. Replies: 3
    Last Post: 01-14-2012, 01:48 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