Value lookup formula

slopez94

New Member
Joined
Jun 20, 2023
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello, Everyone

I am needed some help with what I think would be a v look up formula. On one worksheet I have a refreshable report that pulls information, this report lists many rows of info for the same service order number (column A), on another worksheet I would like to pull in all the rows that match with the service order number identified in cell B2 (in the example below, 6247).

What would be the best way to pull in this data from one worksheet to the other?

1716307423934.png
1716307554300.png
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Since you are using Excel 365, you are in luck! This is very easy to do with the new FILTER function.

See here for details and examples:
 
Upvote 0
Since you are using Excel 365, you are in luck! This is very easy to do with the new FILTER function.

See here for details and examples:
I will be using the second worksheet for various service order numbers; I will also be modifying this worksheet with added columns to pull in data from other workbooks. For this reason, I rather pull the data I'm looking for from the original refreshable report rather than just filtering it.
 
Upvote 0
Do not confuse the new FILTER function with the old Filtering feature - they are two different things entirely!
The FILTER function is new, and only available for Excel 2021 and Excel 365.
It is also totally dynamic. It is a Spill function, meaning you just enter the formula in one cell, and all the matches will spill out for however many rows match the criteria (and however many columns you are telling it to return).
You can also reference other cells in the criteria portion of the formula (i.e. if you have the invoice number in cell B2).

Think of it as VLOOKUP on steroids. VLOOKUP can only return one single match (the first one it finds) to one cell.
FILTER can return multiple matches and multiple columns, all in a single formula, and the results can change dynamically as your original data source changes.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
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