You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Blank cell error

Good morning everyone.


my cell formula is in cell D2 which is; lookup(C2,A2:B32)

when C2 is blank an error (red Triangle) appears in D2

how do I resolve this error?

Cheers

iMac 24″, macOS 15.0

Posted on Oct 1, 2024 4:30 PM

Reply
2 replies

Oct 1, 2024 4:50 PM in response to Sparviero70

It will give an error if it cannot find a match. It will not find a match for a blank cell.


You can use XLOOKUP which allows you to provide a value (or the null string "") when a match is not found. Or you can put the IFERROR function around your current formula, but that would be silly. LOOKUP is an old function. XLOOKUP is much better.

Blank cell error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.