ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   due date function (https://www.excelbanter.com/excel-discussion-misc-queries/41225-due-date-function.html)

Lando

due date function
 
I try to make function for due payment. When I made copy file and then drag
down the formula and it's succed. But for the cell that I not fill yet has
due date also.
How to make that cell became 0 (zero) if not fill the cell yet.

example :

A1 A2
19/8/05 =A1+30
- 30/01/00
- 30/01/00

Thanks

Lando

Erasmus Bowen

=IF(C5=""; "" ;C5+30)

Explanation detail
if ([logical test] c5 equals ""; then [result if true] ""; else [result if
false] c5+30)

Explanation brief
if c5 equals "" then "" else c5+30
HTH
Erasmus



"Lando" a écrit dans le message de news:
...
I try to make function for due payment. When I made copy file and then drag
down the formula and it's succed. But for the cell that I not fill yet has
due date also.
How to make that cell became 0 (zero) if not fill the cell yet.

example :

A1 A2
19/8/05 =A1+30
- 30/01/00
- 30/01/00

Thanks

Lando




Bob Phillips

Do you really just want to add 30 days. That will be moving about all over
the place with months?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Lando" wrote in message
...
I try to make function for due payment. When I made copy file and then

drag
down the formula and it's succed. But for the cell that I not fill yet has
due date also.
How to make that cell became 0 (zero) if not fill the cell yet.

example :

A1 A2
19/8/05 =A1+30
- 30/01/00
- 30/01/00

Thanks

Lando





All times are GMT +1. The time now is 03:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com