Post a sample workbook.. with some parts and how you want the 4th sheet to look.
Post a sample workbook.. with some parts and how you want the 4th sheet to look.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Here is the workbook. Parts1 and Parts2 two both are using all 65000 rows.
See attached for formula based approach.
In each Parts sheet I added a helper column to count matches to Part number in the Search sheet.
Formula in Z2 of each sheet is
copied down![]()
=IF(C2=Search!$A$2,MAX($Z$1:Z1)+1,"")
In each Part sheet after the first, at the top of the Z column is a formula to find the Max number from the previous page to add number of matches in current page on to...
So in Z1 of PART2 and PART3, there is formula:
=MAX(PARTS1!Z:Z) and =MAX(PARTS2!Z:Z), respectively.
Then in the Search page there is a count formula in D1 that shows the maximum number on the last Part3 page...
=MAX(PARTS3!Z:Z)
Then, to extract the data, we have formula in A6 of Search page:
copied down as far as you need and across all required columns.![]()
=IF(ROWS($A$6:$A6)>$D$1,"",IF(ISNUMBER(MATCH(ROWS($A$6:$A6),PARTS1!$Z:$Z,0)),INDEX(PARTS1!B:B,MATCH(ROWS($A$6:$A6),PARTS1!$Z:$Z,0)),IF(ISNUMBER(MATCH(ROWS($A$6:$A6),PARTS2!$Z:$Z,0)),INDEX(PARTS2!B:B,MATCH(ROWS($A$6:$A6),PARTS2!$Z:$Z,0)),IF(ISNUMBER(MATCH(ROWS($A$6:$A6),PARTS3!$Z:$Z,0)),INDEX(PARTS3!B:B,MATCH(ROWS($A$6:$A6),PARTS3!$Z:$Z,0)),""))))
Last edited by NBVC; 09-21-2009 at 09:13 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks