Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
macamarr
 
Posts: n/a
Default end result

=DATEDIF(C9,$F$1,"y") formula is in cell D9

=IF(D9=$H$6,4,IF(D9=$H$5,3,IF(D9=$H$4,2,IF(D9= $H$3,1,IF(D9<$H$3,0)))))
formula in cell E9




The above formulas work fine as long as there is a date in cell C9. If the
cell C9 is blank I get a return of 107 in column D9 and 4 in column E9 which
I assume is correct. The solution I am looking for is: When C9 is blank I
want D9 to = 0 (zero) also making E9 = 0(zero). I though making all the cells
in C =F1 but column C is an input cell which removes the formula making the
cell blank if the entry is removed at a later date. In short, is it possible
to make a cell point to F1 as the default value if it is blank?
 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Number format Mani K Excel Discussion (Misc queries) 2 December 28th 05 11:01 AM
Convert number into words Blackwar Excel Discussion (Misc queries) 4 December 2nd 05 12:05 PM
I NEED HELP with the SPELLNUMBER Function vag Excel Worksheet Functions 0 June 21st 05 08:17 AM
EXCEL:NUMBER TO GREEK WORDS vag Excel Worksheet Functions 1 June 15th 05 05:57 PM
How can i change this VBA project According to Indian Numeric Rao Ratan Singh Excel Discussion (Misc queries) 1 April 21st 05 07:53 PM


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

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

About Us

"It's about Microsoft Excel"