Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KHarrison
 
Posts: n/a
Default How do I select a range if one cells contents is equal to another

I have multiple columns of data. In the first two columns I need to find
whether their value is equal .... I can achieve this by using the exact
formula. Is there is a match then I wish to select all the columns of data.


  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
not completely sure what you're trying to do. Could you give an example?

--
Regards
Frank Kabel
Frankfurt, Germany
"KHarrison" schrieb im Newsbeitrag
...
I have multiple columns of data. In the first two columns I need to find
whether their value is equal .... I can achieve this by using the exact
formula. Is there is a match then I wish to select all the columns of
data.




  #3   Report Post  
Domenic
 
Posts: n/a
Default

In article ,
KHarrison wrote:

I have multiple columns of data. In the first two columns I need to find
whether their value is equal .... I can achieve this by using the exact
formula. Is there is a match then I wish to select all the columns of data.


Assuming that Columns A, B, C, and D contain your data, try the
following array formula that needs to be confirmed with
CONTROL+SHIFT+ENTER...

E1, copied across and down:

=IF(ISNUMBER(SMALL(IF(($A$1:$A$10<"")*EXACT($A$1: $A$10,$B$1:$B$10),ROW($
A$1:$A$10)),ROW()-ROW($E$1)+1)),INDEX(A:A,SMALL(IF(($A$1:$A$10<"")* EXACT
($A$1:$A$10,$B$1:$B$10),ROW($A$1:$A$10)),ROW()-ROW($E$1)+1)),"")

Adjust the range accordingly.

Hope this helps!
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
how can i select all the cells with same color on a sheet if there are multipale colors by vba code uobt Charts and Charting in Excel 1 December 15th 04 05:27 PM
copy range of cells from one workbook to another mitmeez Excel Discussion (Misc queries) 1 December 9th 04 08:14 PM
How do you change the size of a range of cells in a column/row SOkoll Charts and Charting in Excel 1 December 8th 04 06:43 AM
summing part of cells in a range excelFan Excel Discussion (Misc queries) 2 December 5th 04 12:33 PM
Protected cells -automatically format to a different color Fred Evans Excel Discussion (Misc queries) 9 December 3rd 04 12:59 PM


All times are GMT +1. The time now is 03:20 PM.

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"