Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
Xlookup formula to find most recent value with criteria returning first value when it should be finding no match
Post Flair (click to view more posts with a particular flair)
Post Body

Hey all,

So I'm using the following formula:

=XLOOKUP(MAX(Purchases[Purchase_Date]),(Purchases[First Name]=C23)*(Purchases[Purchase_Date]),Purchases[Package_ID],"Renewal Required",-1)

trying to find the most recent package/purchase ID for a given name (the name in C23). This formula is working in every cell, but when I have a name that doesnt exist within the purchases table, the formula is returning 1 instead of an error or "Rewnewal Required".

The 1 is coming from the very first row in the purchases table under the package_ID column. I'm not sure understanding why its defaulting to that first value instead of throwing an error like it should be.

Thanks :)

Author
Account Strength
90%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,742
Link Karma
937
Comment Karma
805
Profile updated: 5 days ago
Posts updated: 5 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago