Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hi,
I am stuck on the following problem: I want to exclude names (or give them another color) from 1 column if they are also in another column. To illustrate this, the result from the following data: A B 1 John Peter 2 Sue Floyd 3 Peter Dan 4 Mike Chris would have to be: John Sue Mike Or in this case I could use a conditional formatting to paint A3 red. How do I do this? |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Try something like this:
Using your posted example: Select A1:A4, with A1 as the active cell From the Excel main menu: <format<conditional formatting Formula is: =COUNTIF($A$1:$B1,A1)1 Click the [Format...] button and choose your settings Click the [OK] buttons Is that something you can work with? *********** Regards, Ron XL2002, WinXP "mmaan" wrote: Hi, I am stuck on the following problem: I want to exclude names (or give them another color) from 1 column if they are also in another column. To illustrate this, the result from the following data: A B 1 John Peter 2 Sue Floyd 3 Peter Dan 4 Mike Chris would have to be: John Sue Mike Or in this case I could use a conditional formatting to paint A3 red. How do I do this? |
#3
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hi Ron,
If I try it with my example data it works (if I replace the comma by a ";"), but if I use it on my actual data (830 rows), it does not work. It makes no sense to me. Best regards, Maarten "Ron Coderre" wrote: Try something like this: Using your posted example: Select A1:A4, Ron, If I with A1 as the active cell From the Excel main menu: <format<conditional formatting Formula is: =COUNTIF($A$1:$B1,A1)1 Click the [Format...] button and choose your settings Click the [OK] buttons Is that something you can work with? *********** Regards, Ron XL2002, WinXP "mmaan" wrote: Hi, I am stuck on the following problem: I want to exclude names (or give them another color) from 1 column if they are also in another column. To illustrate this, the result from the following data: A B 1 John Peter 2 Sue Floyd 3 Peter Dan 4 Mike Chris would have to be: John Sue Mike Or in this case I could use a conditional formatting to paint A3 red. How do I do this? |
#4
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hi Ron,
I tried it once again, with a clean worksheet and now it works! I am not sure what went wrong just now. But never mind that. Thank you for your help! Best regards, Maarten "mmaan" wrote: Hi Ron, If I try it with my example data it works (if I replace the comma by a ";"), but if I use it on my actual data (830 rows), it does not work. It makes no sense to me. Best regards, Maarten "Ron Coderre" wrote: Try something like this: Using your posted example: Select A1:A4, Ron, If I with A1 as the active cell From the Excel main menu: <format<conditional formatting Formula is: =COUNTIF($A$1:$B1,A1)1 Click the [Format...] button and choose your settings Click the [OK] buttons Is that something you can work with? *********** Regards, Ron XL2002, WinXP "mmaan" wrote: Hi, I am stuck on the following problem: I want to exclude names (or give them another color) from 1 column if they are also in another column. To illustrate this, the result from the following data: A B 1 John Peter 2 Sue Floyd 3 Peter Dan 4 Mike Chris would have to be: John Sue Mike Or in this case I could use a conditional formatting to paint A3 red. How do I do this? |
#5
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
If you want to exclude names, then try this:
=IF(ISERR(SMALL(IF(COUNTIF($A$1:$B$4,$A$1:$A$4)=1, ROW(INDIRECT("1:"&ROWS($B$1:$B$4)))),ROWS($1:1))), "",INDEX($A$1:$A$4,SMALL(IF(COUNTIF($A$1:$B$4,$A$1 :$A$4)=1,ROW(INDIRECT("1:"&ROWS($B$1:$B$4)))),ROWS ($1:1)))) ctrl+shift+enter (not just enter) "mmaan" wrote: Hi, I am stuck on the following problem: I want to exclude names (or give them another color) from 1 column if they are also in another column. To illustrate this, the result from the following data: A B 1 John Peter 2 Sue Floyd 3 Peter Dan 4 Mike Chris would have to be: John Sue Mike Or in this case I could use a conditional formatting to paint A3 red. How do I do this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Inputting data to one worksheet for it effect another | Excel Discussion (Misc queries) | |||
Help PLEASE! Not sure what answer is: Match? Index? Other? | Excel Worksheet Functions | |||
how to put data in the column A to the next row of the column B | Excel Discussion (Misc queries) | |||
Sort pages? | Excel Discussion (Misc queries) | |||
In a column with no data, only color filling, how can I filter fo. | Excel Discussion (Misc queries) |