Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ChrisRad
 
Posts: n/a
Default Returning a value if data is in a large list

I think you use a IF function but I am not sure.

I have two large lists of numbers. The lists are in columns A and C with
columns B and D blank. In B, I want to insert an "X" if the number in column
A next to it is somewhere in column C. I tried =IF(A2=C:C,"X","") and
=IF(A2=C2;C1000,"X","") but they do not work. Is there a way I can do this?
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

One way:
=IF(COUNTIF(C:C,A1)0,"x","")

Another way:
=IF(ISNUMBER(MATCH(A1,C:C,0)),"x","")

I like the second way. It'll be faster for larger lists in column C.

ChrisRad wrote:

I think you use a IF function but I am not sure.

I have two large lists of numbers. The lists are in columns A and C with
columns B and D blank. In B, I want to insert an "X" if the number in column
A next to it is somewhere in column C. I tried =IF(A2=C:C,"X","") and
=IF(A2=C2;C1000,"X","") but they do not work. Is there a way I can do this?


--

Dave Peterson
  #3   Report Post  
gazornenplat
 
Posts: n/a
Default


=IF(ISNA(MATCH(B4,D4:D8)),"","X")

is, I think, what you want.

Gaz


--
gazornenplat
------------------------------------------------------------------------
gazornenplat's Profile: http://www.excelforum.com/member.php...o&userid=24494
View this thread: http://www.excelforum.com/showthread...hreadid=380928

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
large non contiguous data set bhofsetz Charts and Charting in Excel 0 May 25th 05 05:30 PM
Using a Vlookup to return values in a data list? rtjeter Excel Worksheet Functions 2 April 26th 05 05:56 AM
How do I create a list in excel that contains external data? bill@bb Excel Discussion (Misc queries) 1 February 15th 05 02:45 AM
Conditional summing with large amounts of data Revontulet Excel Worksheet Functions 1 January 26th 05 08:13 PM
Bin and sort a large list of data bsears Excel Discussion (Misc queries) 4 January 25th 05 08:58 PM


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

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

About Us

"It's about Microsoft Excel"