Pull all row data based off another cell value

lbradbury1013

New Member
Joined
May 2, 2022
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hello,
I'm looking for a way to pull all row data from another sheet based off a cell value. I have an open sales order list that I want to extract all lines related to a single customer. But this is pulling from another sheet.

Here is an example of the data sheet:
Customer NamePO NumberLineReleasePartSelling QtyShip ByTotal Shipped
Customer 112345611AMMPART1010/31/20220
Customer 1 12345711ABBPART1510/28/20220
Customer 1 12345811ACCPART2510/15/20220
Customer 112345812ACCPART1010/25/20220
Customer 29874511BCCPART15011/25/20220
Customer 29874512BCCPART15012/25/20220
Customer 26541211BMMPART1010/15/20220

I want to have another sheet that has headers for table listing the customer name in the example above it would be Customer 1, and pull all the row information based off cell value of the header "Customer 1"


I hope that makes sense.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
And

This would pull the row information into another sheet?
Yes, you just place the the formula in the first cell wherever you want the results returned to, and the additional columsn/rows will automatically "spill" down/across.

So if you were returning the results to Sheet2 and pulling data from Sheet1, then you might have a formula like this in cell A2 on Sheet2:
Rich (BB code):
=FILTER(Sheet1!A2:H8,Sheet1!A2:A8="Customer 1")

Try it and see!
 
Upvote 0
Solution
Yes, you just place the the formula in the first cell wherever you want the results returned to, and the additional columsn/rows will automatically "spill" down/across.

So if you were returning the results to Sheet2 and pulling data from Sheet1, then you might have a formula like this in cell A2 on Sheet2:
Rich (BB code):
=FILTER(Sheet1!A2:H8,Sheet1!A2:A8="Customer 1")

Try it and see!
AMAZING! I didn't realize it would pull into another sheet!
 
Upvote 0
AMAZING! I didn't realize it would pull into another sheet!
You are welcome.
Most Excel formulas will, as long as you include the Sheet name reference before the Range reference.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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