Find J2 in Sheet1 and copy entire row to Sheet2

Madame

New Member
Joined
Jun 8, 2016
Messages
3
Hi,

I did my homework and researched every formula there is online. Nothing works for me. It should be so simple:

In Sheet1 find J2 (copy(able) down to J3, J4, etc.)

Grab entire row of where J2 value was found in Column 9 and copy to Sheet2

(Also, grab ALL occurrences of J2 in Column 9)

I have an abundant amount of J2's and need it to be a formula rather than VBA I think

Visual:

Source Data on Sheet1:
ABCD
1MakeModelColorSN
2HPOJgreen1
3CanonIRblue2
4LexmarkJubeige3

<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>
</tbody>

<colgroup><col width="64" span="4" style="width:48pt"></colgroup><tbody><!--EndFragment--></tbody>

Template on Sheet2:

Enter SN: 2


Enter SN query produces:

Canon, IR, blue, 2

I know there are a ton of vba's and formulas out there but none worked for me. Can anybody guess where I am turning wrong? I'd be eternally grateful! TY!


<colgroup><col width="64" span="4" style="width: 48pt;"></colgroup><tbody>
</tbody>

















<colgroup><col width="64" span="4" style="width:48pt"></colgroup><tbody>
</tbody>
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I found this example below that almost does what I want. Except it doesn't find all rows and you can't copy it down. Would it be easier to fix this formula?
=INDEX(C6:C14,MATCH($B3,$B$6:$B$14,0))
IDStreetCityState
5FullSFCA
2SunMIAFL
1MainLACA
2ParkSFCA
3SunMIAFL
4MoonSeattleWA
5FullSFCA
2ParkSDCA

<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>
</tbody>





Hi,

I did my homework and researched every formula there is online. Nothing works for me. It should be so simple:

In Sheet1 find J2 (copy(able) down to J3, J4, etc.)

Grab entire row of where J2 value was found in Column 9 and copy to Sheet2

(Also, grab ALL occurrences of J2 in Column 9)

I have an abundant amount of J2's and need it to be a formula rather than VBA I think

Visual:

Source Data on Sheet1:
ABCD
1MakeModelColorSN
2HPOJgreen1
3CanonIRblue2
4LexmarkJubeige3

<tbody>
</tbody>

Template on Sheet2:

Enter SN: 2


Enter SN query produces:

Canon, IR, blue, 2

I know there are a ton of vba's and formulas out there but none worked for me. Can anybody guess where I am turning wrong? I'd be eternally grateful! TY!

<tbody>
</tbody>

















<tbody>
</tbody>
 
Upvote 0
Is it possible to use autofilter?
 
Upvote 0
Hi,

Thank you for your answer. Not really as I have hundreds of constantly changing serial numbers to check against and input like this ("1", "3") would to too much work. Good thinking tho!
 
Upvote 0
I meant, if you can set an autofilter above the data table you can filter columns for *1*, or anything else you want, than copy the filtered data to elsewhere (w/ macro ofc)
 
Upvote 0

Forum statistics

Threads
1,216,458
Messages
6,130,757
Members
449,588
Latest member
accountant606

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top