Return entire Row?

fatboy2131

New Member
Joined
May 5, 2008
Messages
13
Hello Everyone,

Is there a formula in excel (2007) where I can return an entire row from one tab based off of the row being highlighted, or an indicator (like an "X" at then end of the row)?

For example, tab 1 (which is empty) looks like this:

_A..................B................C
Part #.......Description......Model


Then, Tab 2 - 50 looks like this:

__A................B.................C...........D
Part#........Description.......Model......RoHS?
1245............PCB................T...........X
4459............Nut................T

Each row that has the "X" in it is also highlighted blue.

Now, what I would like to do is have a formula or an easy way to populate Tab 1 with the information in Tab 2 - 50. So if the row has an "X" in the RoHS colum, then all the info from that row will be pulled into Tab 1. Hopefully that makes sense. Sorry for all the periods (.) but I couldn't get the format to line up in here...

If any of you have an idea or know if it is possible, please let me know.

Thanks!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
You would have to use an event macro to copy the data to tab 1 when an x is entered.
If you're not proficient at writing macro's. then I would suggest a manual approach of using filters on the column, showing all the X's and then copy en-mass to tab 1.
You can also get the lines to highlight in blue by using conditional formatting.
Highlight the table, go to conditional formatting. Note the Activecell (white one in the block).
Choose New Rule
By Formula
Formula is =or($D1="X",$D1="x")
Click on Fill
Choose blue.
Click Apply - OK.

See how that goes.
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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