Change cell color based on another column

Solved/Closed
ritzutak Posts 2 Registration date Tuesday 1 September 2015 Status Member Last seen 2 September 2015 - 1 Sep 2015 à 08:24
Ambucias Posts 47312 Registration date Monday 1 February 2010 Status Moderator Last seen 28 March 2026 - 24 Nov 2016 à 18:18
Hi All,

I am not very good at excel, however I am looking for a solution for the following problem.

There are two columns (Column A and Column B) in excel and both the column have some numbers. Now if any number of column A matches with the number in column B then the number in Column B will automatically be highlighted in some color.

Say Column A has 100, 200, 300, 400 and Column B has 100, 140, 500, 200. Then the cells containing 100 and 200 in Column B will be colored. Now if in Column A, I add 500, then automatically the cell containing 500 in Column B will be highlighted.

I am using Excel 2013.
Your answers will be of great help!
Related:

2 responses

Mazzaropi Posts 1983 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
1 Sep 2015 à 09:13
ritzutak, Good morning.

I did an small example for you:
http://speedy.sh/R67bH/01-09-2015-en-Kioskea-Conditional-Format-OK.xlsx

Select column B1:B10
Conditional Format Menu
Using formula
=ISNUMBER(MATCH(B1,$A$1:$A$10,0))

Format fill colour as you desire.
OK.

Is that what you're looking for?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
ritzutak Posts 2 Registration date Tuesday 1 September 2015 Status Member Last seen 2 September 2015
2 Sep 2015 à 01:18
A very good morning Mazzaropi .
Thanks a lot for your help, it was very useful for me. my problem is now solved.
Mazzaropi Posts 1983 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
2 Sep 2015 à 09:36
Thanks for the feedback.

I feel happy to help you.

Have a nice day!
--
Belo Horizonte, Brasil.
Marcílio Lobão
BormannPL Posts 1 Registration date Thursday 24 November 2016 Status Member Last seen 24 November 2016
24 Nov 2016 à 17:01
I am new here so my question can seem funny but... where can I see the solution?
Ambucias Posts 47312 Registration date Monday 1 February 2010 Status Moderator Last seen 28 March 2026 11,166 > BormannPL Posts 1 Registration date Thursday 24 November 2016 Status Member Last seen 24 November 2016
24 Nov 2016 à 18:18
Hi

The solution was deleted by mistake, it has now been restored.

Cheers