LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Searching the row that contains the same two columns


Hi,

I have two lists. Each list contains two columns. Both columns in a ro
represent an identification that is unique. For example, collumn A
114555 and the B = 104. Those two columns are in columns A and B an
the other list exactly the same one but in a completly different orde
is in columns AG and AH. So the code must search for eac
identification from combination AG and AH to find where is the sam
combination in columns A and B and then copy columns AG to BL from th
row from combination AG and AH to this new location (columns A to AF
that was found with the 2 cells value from columns A and B.

Note that the list is dynamic. So I use the code line in the code ta
below to determine the number of rows (the two lists are in the sam
range of rows and have the same number of rows.) Also, the main reaso
why I do that is because I have a complexe sorting function that work
well but that does not copy the values attached to their identificatio
when those identifications moves (see also the link below to see tha
special sorting function if you want).

Link :
http://www.ozgrid.com/forum/showthread.php?t=22170

Could anybody help me on that one?

Thx!

Werner


Code
-------------------


Let lstRw = Sheets("Formulaire").Range("a65536").End(xlUp).Row


-------------------

--
Werne
-----------------------------------------------------------------------
Werner's Profile: http://www.excelforum.com/member.php...fo&userid=2430
View this thread: http://www.excelforum.com/showthread.php?threadid=38572

 
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
searching columns for the same value Diggs Setting up and Configuration of Excel 1 March 30th 08 01:22 PM
Searching Columns mully Excel Discussion (Misc queries) 2 February 3rd 06 12:50 PM
Searching the row that contains the same two columns Jean-Jerome Doucet via OfficeKB.com Excel Programming 3 July 9th 05 12:59 AM
Searching Columns Aviator Excel Discussion (Misc queries) 3 January 26th 05 11:13 PM
Searching Columns Pat[_9_] Excel Programming 0 November 24th 03 06:46 PM


All times are GMT +1. The time now is 06:58 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"