Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6714339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:29:04+00:00 2026-05-26T08:29:04+00:00

I have a table in excel which has a column for UserIds in the

  • 0

I have a table in excel which has a column for UserIds in the first column. It has other information in the rest of the column.

I also have a list of UserIds that I want to choose from that first table.

How can I highlight only the rows in the table that match the UserIds in the list?

Example,

Table

User   Name    Age
 1     Tom     25
 23    Sam     18
 5     Tim     23
 15    Tod     19
 35    rob     38

and the list (which i have copied into a column the same excel sheet is):

User
15
5
1

So, I should be able to highlight the rows in the Table for Users 15, 5 and 1.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:29:05+00:00Added an answer on May 26, 2026 at 8:29 am

    You can use conditional formatting

    1. I suggest you apply a range name to your look up list for ease of management, I have used a range name MyList for G11:G13 in the pic below
    2. Highlight the cell range to be formatted, start your selection at the top left cell
    3. Select Conditional Formatting from the Excel menu (xl2010 screenshot below)
    4. Use a formula to determine which cells to format
    5. Enter a formula like =COUNTIF(MyList,$A2)>0

    This works by looking at row 2 and testing if A2 occurs at least once in Mylist. Which is does for “1”, so A2, B2 and C2 are coloured in

    A3 is not in the list, so A3:C3 are uncoloured etc

    There is an excellent write up of conditional formatting at Debra Dalgleish’s site here. In xl2003 conditional formatting is accessed via the Format .. Conditional Formatting menu.

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table (it was imported from Excel) that has a wide variety
I have an Excel spreadsheet which has a pivot table on it. The data
I have a table in Excel which has the columns: Date Person Name Amount
I have an Excel table with some data that I would like to export
I am importing massive amounts of data from Excel that have various table layouts.
I have the following macro which needs to loop though an Excel-2007 table. The
I have a RDLC report which has a table, calling a subreport N times.
I have an Excel file (which has data imported from Oracle 10G Database) one
I have a table in MS Access, which has the following data to be
I'm currently working with MS SQL 2005, and have a table that has 17

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.