Return a blank cell with no entry

Kidmon

Board Regular
Joined
Mar 4, 2011
Messages
71
I am using excel 2007 & 2010

I have 2 problems:

1) I need to change a formula that now calculates the military time difference between column J and column K. This formula works very well but I need it to also not calculate when only coulmn K contains a date.

When both column dates are entered it is Ok, when only 1 column date is entered I need column L to return a blank cell not a value of K.

2) How can I use coulmn M to count down 30 min from the time entered in column J ?
Thanks again, forum contributors a very appreciated.
K

Excel Workbook
JKLM
5
6Time OutTime InTotal Time OutTime Left
7
8
9111011133
10112311296
1111111234123
1211151115
DDAR Form
Excel 2010
Cell Formulas
RangeFormula
L9=IF(K9-J9=0,"",K9-J9)
L10=IF(K10-J10=0,"",K10-J10)
L11=IF(K11-J11=0,"",K11-J11)
L12=IF(K12-J12=0,"",K12-J12)
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Your first question can go like this:=IF(COUNTA($J9:$K9)=1,"",K9-J9) What would you expect in column M? 1110-30?
 
Upvote 0
Problem 1:
Thank you your solution for problem 1 works great. BUT it revealed a new problem. If BOTH column J and column K are empty, I need column L to return blank. Your formula works great but it returns "0" until I enter a date in column K. How can I make column L return "0" if both J & K are empty?

Problem 2: How to create a "Count down timer". Do I want column M to count to 30 is YES. You assume correctly.
Thank you again.
 
Upvote 0

Forum statistics

Threads
1,215,467
Messages
6,124,984
Members
449,201
Latest member
Lunzwe73

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