=IF(ISBLANK Formula returning error

pawcoyote

Board Regular
Joined
Mar 5, 2012
Messages
89
Office Version
  1. 365
Platform
  1. Windows
Howdy,

I am working with the following formula in my spreadsheet.

=IF(ISBLANK(F3),"Never Reported",IF(OR(MONTH(TODAY())<MONTH(F3),YEAR(TODAY())<YEAR(F3)),"Not Reporting","Reporting"))

F3 has a formula in that cell as well which reports either a date or blank.

When a date is in the cell the formula works but when there is a blank the formula returns #VALUE !

I would like to know how I can get the Never Reported to show if the cell is Blank.

Thank you for any help!
 
I have a INDEX MATCH formula that is pulling in the date from Sheet B. On Sheet B the date is in this format 2/21/19 12:00 AM etc... I format the date on Sheet A to be 2/21/2019. Could this be causing the issue?

Also, I tried to use the HTML Maker it doesn't export or save anything for me to post..
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Is my last post what you would expect to see? My dates are UK format :)

I can't help with the HTML maker as I can't install it.
 
Upvote 0
Hi,

What I have is the following formula that is working but showing anything within this year as Reporting. The Blanks are working ok as well. The issue is it is not breaking out the dates that are less than today. Column F is a INDEX MATCH from another Sheet that has the date format as 2/22/19 12:00 AM not straight up date 2/22/19.

Code:
=IF (F3 ="","Never Reported" , IF ( OR (MONTH ( TODAY ()) < MONTH (F3), YEAR (TODAY()) < YEAR (F3)), "Stopped Reporting", "Reporting" ))


[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column F[/TD]
[/TR]
[TR]
[TD]Notes[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]Reporting[/TD]
[TD]2/22/19[/TD]
[/TR]
[TR]
[TD]Stopped Reporting[/TD]
[TD]2/21/19[/TD]
[/TR]
[TR]
[TD]Stopped Reporting[/TD]
[TD]2/15/19[/TD]
[/TR]
[TR]
[TD]Never Reported[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Reporting[/TD]
[TD]2/22/19 12:00 AM[/TD]
[/TR]
[TR]
[TD]Stopped Reporting[/TD]
[TD]1/15/19[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Hmm

Did you try the formula i posted?
Your formula will never work, it is saying "if the month OR the year is less than what is in F3", so any date that has a month that is greater than Feb, regardless of the year, will say "Reporting"!
 
Upvote 0
I got it to work with your code. Thank you. I must have fat fingered something.
 
Last edited:
Upvote 0
If you have dates that inc time, try this one instead

=IF(F3="","NEVER REPORTED",IF(INT(F3)=TODAY(),"REPORTING","STOPPEDREPORTING"))
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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