Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Keren
 
Posts: n/a
Default Finding a match in several columns


Hi,

I have 4 columns in my excel sheet. Some of the cells (content) appear
in all columns and some don't.
I would like to have a formula which finds the cells that appear in all
4 columns and would write them in a different column.

Is there such a formula?

Thank you,
Keren


--
Keren
------------------------------------------------------------------------
Keren's Profile: http://www.excelforum.com/member.php...o&userid=23755
View this thread: http://www.excelforum.com/showthread...hreadid=374133

  #2   Report Post  
duane
 
Posts: n/a
Default


how about the following - looking at columns a:d for "thing"

if(and(countif(a:a,"thing")0,countif(b:b,"thing") 0,countif(c:c,"thing")0,countif(c:c,"thing")0), "thing","")

search for at least one occurance of "thing" in each of columns a:d


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=374133

  #3   Report Post  
Keren
 
Posts: n/a
Default


I don't know the "thing" I'm looking for in advance.
I need it to give me all the strings that appear in all 4 columns.

Thanks for the suggestion anyway.


--
Keren
------------------------------------------------------------------------
Keren's Profile: http://www.excelforum.com/member.php...o&userid=23755
View this thread: http://www.excelforum.com/showthread...hreadid=374133

  #4   Report Post  
duane
 
Posts: n/a
Default


well then instead of counting "thing", count whatever is in column a

if(and(countif(a:a,a1)0,countif(b:b,a1)0,countif (c:c,a1)0,countif(c:c,a1)0),a1,"")

maybe in column e and copied down for the rows of data?

alternatively, a macro could do the same search


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=374133

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
MATCH function - 2 columns w/ SIMILAR, not EXACT data Jane Excel Worksheet Functions 3 March 5th 05 03:11 AM
Finding common data in multiple columns and rows in Excel sparham Excel Worksheet Functions 3 February 12th 05 04:11 AM
how to build a formula to match numbers in 2 columns with the equ. mcdilash Excel Worksheet Functions 1 November 10th 04 05:31 PM
How do i Match all COLUMNS? Siddiqui Excel Worksheet Functions 1 November 9th 04 08:26 PM
HOW TO MATCH MULTIPLE COLUMNS WITH OR WITHOUT GAPS IN eXCEL ? hims Excel Worksheet Functions 2 October 27th 04 07:03 PM


All times are GMT +1. The time now is 04:27 PM.

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"