#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default Another Formula

Ok, this has been a very helpful forum so here goes another.

I have 3 columns D2 (with a date ie 20 Aug 09), F2 (with a date or not ie 22
Aug 09 or blank), and G2 which is the total days between the 2 dates (2
days). The formula below is what gives me the total days, but in F2 without a
date, it gives me a negative number. I don't want any number to appear there
if F2 is blank. Help

=DAYS360(D5,F5,FALSE)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Another Formula

Try
=IF(F2,DAYS360(D2,F2,FALSE),"")

If this post helps click Yes
---------------
Jacob Skaria


"Help with cell function" wrote:

Ok, this has been a very helpful forum so here goes another.

I have 3 columns D2 (with a date ie 20 Aug 09), F2 (with a date or not ie 22
Aug 09 or blank), and G2 which is the total days between the 2 dates (2
days). The formula below is what gives me the total days, but in F2 without a
date, it gives me a negative number. I don't want any number to appear there
if F2 is blank. Help

=DAYS360(D5,F5,FALSE)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Another Formula

=IF(F5="","",=DAYS360(D5,F5,FALSE))

--
__________________________________
HTH

Bob

"Help with cell function"
wrote in message ...
Ok, this has been a very helpful forum so here goes another.

I have 3 columns D2 (with a date ie 20 Aug 09), F2 (with a date or not ie
22
Aug 09 or blank), and G2 which is the total days between the 2 dates (2
days). The formula below is what gives me the total days, but in F2
without a
date, it gives me a negative number. I don't want any number to appear
there
if F2 is blank. Help

=DAYS360(D5,F5,FALSE)



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Another Formula

Hi,
=if(F2="","",DAYS360(D5,F5,FALSE))

if this helps please click yes, thanks

"Help with cell function" wrote:

Ok, this has been a very helpful forum so here goes another.

I have 3 columns D2 (with a date ie 20 Aug 09), F2 (with a date or not ie 22
Aug 09 or blank), and G2 which is the total days between the 2 dates (2
days). The formula below is what gives me the total days, but in F2 without a
date, it gives me a negative number. I don't want any number to appear there
if F2 is blank. Help

=DAYS360(D5,F5,FALSE)

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"