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

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
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,224,817
Messages
6,181,149
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