Highlighting selected numbers in table

Pa1234

New Member
Joined
Jan 2, 2022
Messages
4
Office Version
  1. 2013
  2. 2007
When I have 1 table of Excel data, my specific example is as follows:
When I enter values in the Input data box, then in the EXCEL data table cells those numbers will be marked with any color for example in the image below. I want this process to be done automatically instead of entering it manually
Please forum members help me to do it

View attachment 57207
 

Attachments

  • Untitled.png
    Untitled.png
    197.3 KB · Views: 13

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
are they always 3 digits numbers
the merged cell has 1 cell reference
or is that across multiple rows

Book2
ABCDEFGHIJ
1
2123234456188
3756334256555256,555,224,123,333,444,555,666,777,888,999,
4222223224225
5
6
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:E4Expression=AND(B2<>"",FIND(B2,$H$3,1))textNO
 
Upvote 0
are they always 3 digits numbers
the merged cell has 1 cell reference
or is that across multiple rows

Book2
ABCDEFGHIJ
1
2123234456188
3756334256555256,555,224,123,333,444,555,666,777,888,999,
4222223224225
5
6
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:E4Expression=AND(B2<>"",FIND(B2,$H$3,1))textNO
 

Attachments

  • Untitled.png
    Untitled.png
    165.3 KB · Views: 12
Upvote 0
are they always 3 digits numbers
the merged cell has 1 cell reference
or is that across multiple rows

Book2
ABCDEFGHIJ
1
2123234456188
3756334256555256,555,224,123,333,444,555,666,777,888,999,
4222223224225
5
6
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:E4Expression=AND(B2<>"",FIND(B2,$H$3,1))textNO
I don't know how to put the formula in the cell
 
Upvote 0
my solution will not work where the number of digits vary - for example as a 2 will be found in any number with a 2 in so 22, 23, 234 etc
 
Upvote 0
giải pháp của tôi sẽ không hoạt động khi số lượng chữ số khác nhau - ví dụ như số 2 sẽ được tìm thấy trong bất kỳ số nào có số 2 trong 22, 23, 234, v.v.

my solution will not work where the number of digits vary - for example as a 2 will be found in any number with a 2 in so 22, 23, 234 etc
will be 002 rather than 2. they are all 3-digit numbers. Your solution worked but I don't know how to add them in excel. Please give an example with a specific picture
 
Upvote 0
They need to be entered as TEXT
Numbers will remove the leading zero's and formatting will not resolve - as we are using find to find exact match - NOT a formatting
so 2
must be Text entered as 002


for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
B6:D15 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=AND(B6<>"",FIND(B6,$H$5,1))

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK


Book3
ABCDEFGH
1
2
3
4
5002,201,030,010,004
6002004
7010020
8100300
9
10
11
12
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B6:C8Expression=AND(B6<>"",FIND(B6,$H$5,1))textNO
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,214,606
Messages
6,120,497
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top