Finding the adjacent cell value by referring the cell value and paste the content to next sheet.

mayaa_mmm

Board Regular
Joined
Jul 30, 2014
Messages
54
Office Version
  1. 2010
Platform
  1. Windows
I have an order number such as 012, 013 in a separate sheet with details like

[TABLE="width: 295"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Order No[/TD]
[TD]012[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Status[/TD]
[TD]UserName[/TD]
[TD]Action[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Tom[/TD]
[TD]Await Approval[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Richard[/TD]
[TD]Await Approval[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Swetha[/TD]
[TD]Await Approval[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Michael[/TD]
[TD]Rejected[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Marimuthu[/TD]
[TD]Approved[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Gopi[/TD]
[TD]Approved[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 295"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Order No[/TD]
[TD]013[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Status[/TD]
[TD]UserName[/TD]
[TD]Action[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Tom[/TD]
[TD]Rejected[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Richard[/TD]
[TD]Approved[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Swetha[/TD]
[TD]Approved[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Michael[/TD]
[TD]Await Approval[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Gopi[/TD]
[TD]Await Approval[/TD]
[/TR]
[TR]
[TD]Process[/TD]
[TD]Marimuthu[/TD]
[TD]Await Approval[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: cms_table, width: 497"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I want the summary sheet/Report by providing the await approval (action column) and adjacent cell value (Username). Similarly i have an orders in the separate sheets.
Report should be like

[TABLE="width: 558"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Order No[/TD]
[TD]Action [/TD]
[TD]User name 1[/TD]
[TD]User name 2[/TD]
[TD]User name 3[/TD]
[/TR]
[TR]
[TD]012[/TD]
[TD]Await Approval[/TD]
[TD]Tom[/TD]
[TD]Richard[/TD]
[TD]Swetha[/TD]
[/TR]
[TR]
[TD]013[/TD]
[TD]Await Approval[/TD]
[TD]Marimuthu[/TD]
[TD]Gopi[/TD]
[TD]Michael[/TD]
[/TR]
</tbody>[/TABLE]


[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,223,268
Messages
6,171,100
Members
452,379
Latest member
IainTru

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