XLOOKUP - How to Exclude Blanks Altogether and Return Matches (Consolidate List)

excelnewbie10101

New Member
Joined
Jul 29, 2024
Messages
1
Office Version
  1. 365
Hello! Wondering if anyone can help... I've been stuck trying to figure out how to exclude blanks with an XLOOKUP. I've tried many different variations of formulas, but nothing seems to achieve what I want. I am trying to have one single consolidated list based on the data with no blanks pulled in. Is there a way to get the list to shrink down to only show what has data? Please see screenshots attached.

sample test for xlookup.xlsx
J
8apple
Sheet1
Cell Formulas
RangeFormula
J8:J13J8=XLOOKUP(J4,B3:F3,B4:F9)&""
Dynamic array formulas.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Generally speaking you could probably e.g. use FILTER function to exclude cells without values but could you please upload more of your sample data?
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,178
Members
452,615
Latest member
bogeys2birdies

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