SOLVED

Return blank if xlookup returns blank

Copper Contributor

RIght now B11 is returning a result from a blank cell, what I want is for it to return blank if C11 is Blank

 

This is what i'm currently using =IFNA(XLOOKUP($C11,'File Dump'!D:D,'File Dump'!B:B),"")

 

E and F are also using the same forumla but I can fix that if I can fix the above issue.

 

Days OldPickticketWave #Ship #Ship ViaCustomer Ship to
81500010166420240112090 ONENBUMPER TO BUMPER CALGARY DC #12
545000101617202401050030000960876ONENMASLACK SUPPLY LTD-SUDBURY
275000101634202401121330000974822ONENAUTO PARTS CENTRAL WALL ST #1794
275000101716202401060540000964405ONENBENSON AUTOPARTS
267000251112202312111000000920877ONENMotorcade Industries Inc.
267000251120202312191300000935742ONENWEST-CAN AUTO PARTS (IMPERIAL)
257000251628202312191370000935758ONENCANUSA AUTOMOTIVE WARE
257000251627202312191340000935752ONENLORDCO DISTRIBUTION CENTER
257000251630202312191350000935756ONENLORDCO PARTS (HEAD OFFICE)
245000103080  ONENMOBILE PARTS INC.
247000257829202312291940000951498ONENMOTORCADE INDUSTRIES LIMITED
245000103080  ONENMOBILE PARTS INC.
4 Replies
I've also tried
=XLOOKUP(C2&1,'File Dump'!D:D&--('File Dump'!B:B<>""),'File Dump'!B:B)

The Issue is there's a formula in the C column that seems to be the primary issue.

@Rodney2485 

Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?

@HansVogelaar Here's a test file that has the same formulas and similar set of data.

best response confirmed by Rodney2485 (Copper Contributor)
Solution

@Rodney2485 

Thanks!

 

=IF(C2="","",XLOOKUP(C2,'File Dump'!D:D,'File Dump'!B:B))

1 best response

Accepted Solutions
best response confirmed by Rodney2485 (Copper Contributor)
Solution

@Rodney2485 

Thanks!

 

=IF(C2="","",XLOOKUP(C2,'File Dump'!D:D,'File Dump'!B:B))

View solution in original post