We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel
Options

Verb
Posts: 227 Forumite


in Techie Stuff
Hi
Can someone offer some assistance. I'll try and explain best I can.
I'm trying to add a function to my sheet where I put a value in a specific cell and sheet searches the rest of the sheet and highlights the two in question. I've used conditional formatting but it highlighting all duplicates.
I would like to input a value in cell A1 and on the sheet it highlights A1 and any values that match A1 only
Thanks
Can someone offer some assistance. I'll try and explain best I can.
I'm trying to add a function to my sheet where I put a value in a specific cell and sheet searches the rest of the sheet and highlights the two in question. I've used conditional formatting but it highlighting all duplicates.
I would like to input a value in cell A1 and on the sheet it highlights A1 and any values that match A1 only
Thanks
0
Comments
-
Apart from writing a Macro (visual basic) you could use Find & Replace but it is a very manual action.0
-
You could use conditional formatting rather than a function0
-
As I understand it, if you type 25 into cell A1 you would like this cell plus any other cells on the spreadsheet which also equal 25 to be highlighted.
Surely that is the same as highlighting duplicates?
If this is what you need, then conditional formatting is the way to go.0 -
As I understand it, if you type 25 into cell A1 you would like this cell plus any other cells on the spreadsheet which also equal 25 to be highlighted.
Surely that is the same as highlighting duplicates?
That's what I originally though. But in actual fact anything with a duplicate value is highlighted which means the value I put in A1 is mixed in with the other highlighted values. I would like to just have A1 and any values that match only that0 -
-
If you don't want A1 to be highlighted, then just exclude it from the conditional formatting.
Or am I also misreading the question?:wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:
Any posts are my opinion and only that. Please read at your own risk.0 -
Eh?
I'll rephrase ... what makes a matching cell a duplicate and what makes a matching cell a matching value? How are the two things different?
(Yes - I've read post #7 ... I'm still none-the-wiser).
Maybe the OP is actually wanting to test 2 values, hence "two" in the original question?
If so, it'll probably need a formula within the data to combine the values into a single, searchable column and then apply the lookups, conditional formatting, etc. to it.
Or perhaps, they want to highlight only the first (2?) matching value in the column?
Basic Conditional formatting certainly works for me (I needed to put the reference cell as fixed location e.g. =$B$4). Once the rule is defined and working for one cell, use the Format Painter tool to apply it to all the others.
I see that my version of Excel Starter has loads of other goodies under the Conditional Formatting menu. I shall have to explore.
EDIT: Reading it again, I wonder if it is this: Highlight any cells in the data that match A1, AND highlight A1 if any cells match?0 -
what makes a matching cell a duplicate and what makes a matching cell a matching value? How are the two things different?
The OP only wants to highlight cells that have the same value as cell A1.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.9K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.9K Work, Benefits & Business
- 598.7K Mortgages, Homes & Bills
- 176.9K Life & Family
- 257.2K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards