Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Simple IF , maybe, for names in columns

I have a column of 40 names (A3:A43)
In column B, I have only 10 of those names
I'd like column C to show what names are not listed in column B ( the other
30 )

Much thanks,

Steve
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Simple IF , maybe, for names in columns

=IF(ISERR(SMALL(IF(COUNTIF(rngB,rngA)=0,ROW(INDIRE CT("1:"&ROWS(rngA)))),ROWS($1:1))),"",INDEX(rngA,S MALL(IF(COUNTIF(rngB,rngA)=0,ROW(INDIRECT("1:"&ROW S(rngA)))),ROWS($1:1))))

ctrl+shift+enter, not just enter
copy down as far as needed


"Steve" wrote:

I have a column of 40 names (A3:A43)
In column B, I have only 10 of those names
I'd like column C to show what names are not listed in column B ( the other
30 )

Much thanks,

Steve

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Simple IF , maybe, for names in columns

One way

Assume the 10 names in col B is in B3:B12
In C3:
=IF(COUNTIF(B$3:B$12,A3),"",ROWS($1:1))

In D3:
=IF(ROWS($1:1)COUNT(C$3:C$43),"",INDEX(A$3:A$43,S MALL(C$3:C$43,ROWS($1:1))))
Copy C3:D3 down to the last row of data in col A, ie down to D43. Col D
returns the required list of names in col A not found in col B, all neatly
packed at the top

P/s: A3:A43 is 41 cells, not 40
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"Steve" wrote:
I have a column of 40 names (A3:A43)
In column B, I have only 10 of those names
I'd like column C to show what names are not listed in column B ( the other
30 )

Much thanks,

Steve

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Simple IF , maybe, for names in columns

Thanks guys. Gotta go to work, so I'll get back to ya this afternoon hopefully.

Thanks again,

"Max" wrote:

One way

Assume the 10 names in col B is in B3:B12
In C3:
=IF(COUNTIF(B$3:B$12,A3),"",ROWS($1:1))

In D3:
=IF(ROWS($1:1)COUNT(C$3:C$43),"",INDEX(A$3:A$43,S MALL(C$3:C$43,ROWS($1:1))))
Copy C3:D3 down to the last row of data in col A, ie down to D43. Col D
returns the required list of names in col A not found in col B, all neatly
packed at the top

P/s: A3:A43 is 41 cells, not 40
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"Steve" wrote:
I have a column of 40 names (A3:A43)
In column B, I have only 10 of those names
I'd like column C to show what names are not listed in column B ( the other
30 )

Much thanks,

Steve

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Simple IF , maybe, for names in columns

Thanks, It worked great.
One question though. I'm getting some #'s in the first column, and zeros in
the other. See below. Just asthetically curious.

Scott
Bill S
Kurt
John H
Ronnie
6 Sam
Tony
Antho
Pinder
10 Rick S
11 Randy
Maria
13 Rick T
Joe K
Cyndee
16 Tore
17 0
18 0
19 0
20 0
0

Thanks again,


"Max" wrote:

One way

Assume the 10 names in col B is in B3:B12
In C3:
=IF(COUNTIF(B$3:B$12,A3),"",ROWS($1:1))

In D3:
=IF(ROWS($1:1)COUNT(C$3:C$43),"",INDEX(A$3:A$43,S MALL(C$3:C$43,ROWS($1:1))))
Copy C3:D3 down to the last row of data in col A, ie down to D43. Col D
returns the required list of names in col A not found in col B, all neatly
packed at the top

P/s: A3:A43 is 41 cells, not 40
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"Steve" wrote:
I have a column of 40 names (A3:A43)
In column B, I have only 10 of those names
I'd like column C to show what names are not listed in column B ( the other
30 )

Much thanks,

Steve



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Simple IF , maybe, for names in columns

Think you might have some blank cells within col A's data

Try this revised criteria formula for col C

In C3:
=IF(A3="","",IF(COUNTIF(B$3:B$12,A3),"",ROWS($1:1) ))
Copy C3 down to C43
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400, Files:358, Subscribers:55
xdemechanik
---
"Steve" wrote in message
...
Thanks, It worked great.
One question though. I'm getting some #'s in the first column, and zeros
in
the other. See below. Just asthetically curious.

Scott
Bill S
Kurt
John H
Ronnie
6 Sam
Tony
Antho
Pinder
10 Rick S
11 Randy
Maria
13 Rick T
Joe K
Cyndee
16 Tore
17 0
18 0
19 0
20 0
0

Thanks again,



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Simple IF , maybe, for names in columns

Yep, I did. And that was a nice fix.

Thanks again so much,

Steve

"Max" wrote:

Think you might have some blank cells within col A's data

Try this revised criteria formula for col C

In C3:
=IF(A3="","",IF(COUNTIF(B$3:B$12,A3),"",ROWS($1:1) ))
Copy C3 down to C43
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400, Files:358, Subscribers:55
xdemechanik
---
"Steve" wrote in message
...
Thanks, It worked great.
One question though. I'm getting some #'s in the first column, and zeros
in
the other. See below. Just asthetically curious.

Scott
Bill S
Kurt
John H
Ronnie
6 Sam
Tony
Antho
Pinder
10 Rick S
11 Randy
Maria
13 Rick T
Joe K
Cyndee
16 Tore
17 0
18 0
19 0
20 0
0

Thanks again,




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Simple IF , maybe, for names in columns

Welcome, Steve
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500, Files:358, Subscribers:55
xdemechanik
---
"Steve" wrote in message
...
Yep, I did. And that was a nice fix.

Thanks again so much,

Steve



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
change array to simple columns Ray S. Excel Discussion (Misc queries) 7 February 4th 09 05:44 PM
Names in 2 Columns alyzar Excel Discussion (Misc queries) 4 May 4th 07 08:39 PM
Simple Sumproduct of 2 Columns, with some blank cells in range SteveC Excel Discussion (Misc queries) 4 May 12th 06 07:20 PM
Have 2 columns of names - need to filter out names not duplicated Jill Excel Worksheet Functions 6 January 20th 06 08:01 PM
How can I find the common names in two columns of names? hako Excel Discussion (Misc queries) 2 December 8th 04 01:59 AM


All times are GMT +1. The time now is 01:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"