=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 had to put spaces between almost everything to get it to post...<month(f3),year(today())<year(f3)),"not reporting","reporting"))[="" code]<="" html=""></month(f3),year(today())<year(f3)),"not>

Weird!

So what are you trying to do?
Looks like if today is less than F3 then "NOT REPORTING" else " REPORTING"
 
Upvote 0

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi,

Whenever posting a formula with the < "less than" sign that is followed by Any Alpha character (including function calls), put a Space After the < sign and the next character, like

=IF(A< B,1,0)

=IF(A< TODAY(),1,0)

=IF(OR(A< B,B>C,C<>D),1,0)

=IF(A<10,1,0)
 
Last edited:
Upvote 0
Hi,

Whenever posting a formula with the < "less than" sign that is followed by Any Alpha character (including function calls), put a Space After the < sign and the next character, like

=IF(A< B,1,0)

=IF(A< TODAY(),1,0)

=IF(OR(A< B,B>C,C<>D),1,0)

=IF(A<10,1,0)

Yes, but strangely it still wouldn't work!
 
Upvote 0
This is the formula from Post # 20, with Only a space after each < sign, with or without code tags:

=IF(F3"","NEVER REPORTED",IF(OR(MONTH(TODAY())< MONTH(F3),YEAR(TODAY())< YEAR(F3)),"NOT REPORTING","REPORTING"))

Code:
=IF(F3"","NEVER REPORTED",IF(OR(MONTH(TODAY())< MONTH(F3),YEAR(TODAY())< YEAR(F3)),"NOT REPORTING","REPORTING"))
 
Upvote 0
This is the formula from Post # 20, with Only a space after each < sign, with or without code tags:

=IF(F3"","NEVER REPORTED",IF(OR(MONTH(TODAY())< MONTH(F3),YEAR(TODAY())< YEAR(F3)),"NOT REPORTING","REPORTING"))

Code:
=IF(F3"","NEVER REPORTED",IF(OR(MONTH(TODAY())< MONTH(F3),YEAR(TODAY())< YEAR(F3)),"NOT REPORTING","REPORTING"))

Yes, but strangely it still wouldn't work earlier!
 
Upvote 0
It's not IDing the devices as Not Reporting if they fall within this year. It makes everything as reporting unless the year is something other than 2019. I want it to mark those that are not "Today" i.e. 2/21/2019 Not Reporting. If it is 2/21/2019 then it states Reporting. Does it matter if Column F is a formula (Index Match) from another worksheet?

Weird!

So what are you trying to do?
Looks like if today is less than F3 then "NOT REPORTING" else " REPORTING"
 
Upvote 0
Try it as

=IF(F3="","NEVER REPORTED",IF(F3=TODAY(),"REPORTING","NOT REPORTING"))
 
Last edited:
Upvote 0
The other option, when posting formulae that include < or > is to go advanced, then scroll down and in the HTML section select HTML off

=IF(A2<B2,TRUE,FALSE)
 
Upvote 0
It changes for me! Is the below what you are expecting?

Code:
[TABLE="width: 261"]
<colgroup><col width="87" span="3" style="width: 65pt;"></colgroup><tbody>[TR]
[TD="class: xl63, width: 174, colspan: 2"]NOT REPORTING[/TD]
[TD="class: xl64, width: 87, align: right"]21/02/2019[/TD]
[/TR]
[TR]
[TD="class: xl63, colspan: 2"]NOT REPORTING[/TD]
[TD="class: xl64, align: right"]01/03/2019[/TD]
[/TR]
[TR]
[TD="class: xl63"]REPORTING[/TD]
[TD][/TD]
[TD="class: xl65, bgcolor: yellow, align: right"]22/02/2019[/TD]
[/TR]
[TR]
[TD="class: xl63, colspan: 2"]NEVER REPORTED[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl63, colspan: 2"]NOT REPORTING[/TD]
[TD="class: xl64, align: right"]01/12/2018[/TD]
[/TR]
[TR]
[TD="class: xl63, colspan: 2"]NOT REPORTING[/TD]
[TD="class: xl64, align: right"]01/09/2018[/TD]
[/TR]
</tbody>[/TABLE]
 
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