Trying to get formula to show blank in a cell if the date column is blank
Hello,
I am using this formula in a summary field to grab the most recent entry. I do this by have a 2nd column that converts the enter date into just the month format. If the date field is blank it causes an invalid data type which then populates in the summary field. Here is what I am using:
=INDEX([Member Service Level MTD]:[Member Service Level MTD], MATCH(MAX(COLLECT([Date of Service]:[Date of Service], Month:Month, "April", [Member Service Level MTD]:[Member Service Level MTD], NOT(ISBLANK(@cell)))), [Date of Service]:[Date of Service], 0))
I wasn't quite able to make the formula work to make my month column blank if there is no date in the Date of Service column. I want to get rid of the invalid data type.
Answers
-
Wrap your formula in the month column in an IFERROR function. Something like this:
=IFERROR( PUT YOUR FORMULA HERE , "")
-
Thank you so much! I must have been placing it in the wrong area or forgetting the comma after the wrapped formula.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!