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.
Categories
- All Categories
- 343.2K Banking & Borrowing
- 250.1K Reduce Debt & Boost Income
- 449.7K Spending & Discounts
- 235.3K Work, Benefits & Business
- 608.1K Mortgages, Homes & Bills
- 173.1K Life & Family
- 248K Travel & Transport
- 1.5M Hobbies & Leisure
- 15.9K Discuss & Feedback
- 15.1K Coronavirus Support Boards