Calculate between two dates, but one date cell has a formula in?

CarolBell44

New Member
Joined
Nov 23, 2016
Messages
9
I am using this formula in cell P13 =IF(ISBLANK(N13),"",N13-F13) and it works when there is data in cell N13. The problem I have that cell N13 has this formula in =IF(M13<>"",IF(N13="",NOW(),N13), "") therefore I get #VALUE in cell P13 until a date is entered in cell N13. I want this to show blank or even a zero, or some text.


Is this at all possible? ;)


Hope someone can help me please :)
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

CarolBell44

New Member
Joined
Nov 23, 2016
Messages
9
Hi

I have tried that but it doesn't work! I copied and pasted it into the spreadsheet and it stayed as text. when I type it in it says I have entered to may arguments.
 
Upvote 0

jondavis1987

Active Member
Joined
Dec 31, 2015
Messages
425
Office Version
  1. 2019
Platform
  1. Windows
sorry, was in a bit of a hurry this morning. That should work. It works for a #DIV/0! error so I would think it would work for val error
 
Upvote 0

Forum statistics

Threads
1,191,165
Messages
5,985,033
Members
439,935
Latest member
Monty238

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
Top