Nested XLOOKUP formula

janema

Board Regular
Joined
Nov 28, 2022
Messages
117
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2011
  5. 2010
Platform
  1. Windows
  2. Mobile
I am trying to get this formula using an XLOOKUP to bring back BLANK if there is an error or no data on the source, but it will only do one or the other. Tried it probably 8 different ways and I can't figure out why it won't work. :(

=IF(XLOOKUP(R4,'Radford (Life Science 04.2023)'!L:L,'Radford (Life Science 04.2023)'!EG:EG)="","",XLOOKUP(R4,'Radford (Life Science 04.2023)'!L:L,'Radford (Life Science 04.2023)'!EG:EG))

Above is the formula I entered last, but if you see the image, there are still "N/A" results coming back. The blank appears to be working for the most part of instances where the source just has a blank or no data.

1687811261948.png
 
Another option is
Excel Formula:
=LET(x,XLOOKUP(R4,'Radford (Life Science 04.2023)'!L:L,'Radford (Life Science 04.2023)'!EG:EG,""),IF(x="","",x))

This worked! Thank you so much. I could never reenact this formula, but hope to learn some day soon. It worked for what I need now. THANK YOUUUU!
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Glad we could help & thanks for the feedback.
 
Upvote 1

Forum statistics

Threads
1,215,432
Messages
6,124,858
Members
449,194
Latest member
HellScout

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