janema
Board Regular
- Joined
- Nov 28, 2022
- Messages
- 143
- Office Version
- 365
- 2021
- 2019
- 2011
- 2010
- Platform
- Windows
- Mobile
I am trying to get this formula to return BLANK if cell AS2 is blank, and if the first XLOOKUP is Blank or no data, to use the second XLOOKUP, otherwise keep the first XLOOKUP. For some reason, it is only working with the first XLOOKUP. Can someone please help me figure out why the formula isn't working? Thank you so much in advance!
The formula is currently written as follow and shown below:
=IF(AS2="","",IF(XLOOKUP(AS2,'LS 4.2024'!L:L,'LS 4.2024'!P:P)="",XLOOKUP(AS2,'All US 4.2024'!L:L,'All US 4.2024'!P:P),XLOOKUP(AS2,'LS 4.2024'!L:L,'LS 4.2024'!P:P)))
The formula is currently written as follow and shown below:
=IF(AS2="","",IF(XLOOKUP(AS2,'LS 4.2024'!L:L,'LS 4.2024'!P:P)="",XLOOKUP(AS2,'All US 4.2024'!L:L,'All US 4.2024'!P:P),XLOOKUP(AS2,'LS 4.2024'!L:L,'LS 4.2024'!P:P)))