#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Formula help needed


The reply I received suggested this formula...
=IF(COUNT(C1:D1),MAX(C1+90,D1+60),"")
Many thanks and I carefully tried it but did not completely work.
Maybe I confused the issue...
In column C, if there is a date in C1 or C2 or C3 or C4 and on down say thru
C30, I wish to add 90 days & have the date put in the corresponding E cell,
ie C20 answer in E20.

In column D, if there is a date in D1 or D2 or D3 or D4 and on down say thru
D30, I wish to add 60 days & have the date put in the corresponding E cell.

There would not be a date in C1 and D1 at the same time.
MANY MANY thanks for your help
David
This is a spreadsheet where we would enter a date in either C Or D column
vertically and have it automatically calculate the forward date in E column.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Formula help needed

hi
try this one..
=IF(C10,C1+90,IF(D10,D1+60,""))

regards
FSt1

"caseysmydog" wrote:


The reply I received suggested this formula...
=IF(COUNT(C1:D1),MAX(C1+90,D1+60),"")
Many thanks and I carefully tried it but did not completely work.
Maybe I confused the issue...
In column C, if there is a date in C1 or C2 or C3 or C4 and on down say thru
C30, I wish to add 90 days & have the date put in the corresponding E cell,
ie C20 answer in E20.

In column D, if there is a date in D1 or D2 or D3 or D4 and on down say thru
D30, I wish to add 60 days & have the date put in the corresponding E cell.

There would not be a date in C1 and D1 at the same time.
MANY MANY thanks for your help
David
This is a spreadsheet where we would enter a date in either C Or D column
vertically and have it automatically calculate the forward date in E column.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula help needed

I carefully tried it but did not completely work.

Can you explain what "did not completely work" means?

What results do you expect with these dates:

................C.................D............... E.....
1......1/1/2008.....................................
2.........................2/27/2008................
3.....3/13/2008....................................

Based on your explanation the formula returns these results:

E1 = 3/31/2008 (C1+90)
E2 = 4/27/2008 (D2+60)
E3 = 6/11/2008 (C3+90)


--
Biff
Microsoft Excel MVP


"caseysmydog" wrote in message
...

The reply I received suggested this formula...
=IF(COUNT(C1:D1),MAX(C1+90,D1+60),"")
Many thanks and I carefully tried it but did not completely work.
Maybe I confused the issue...
In column C, if there is a date in C1 or C2 or C3 or C4 and on down say
thru
C30, I wish to add 90 days & have the date put in the corresponding E
cell,
ie C20 answer in E20.

In column D, if there is a date in D1 or D2 or D3 or D4 and on down say
thru
D30, I wish to add 60 days & have the date put in the corresponding E
cell.

There would not be a date in C1 and D1 at the same time.
MANY MANY thanks for your help
David
This is a spreadsheet where we would enter a date in either C Or D column
vertically and have it automatically calculate the forward date in E
column.



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
needed formula Mikey[_2_] Excel Worksheet Functions 4 December 19th 07 12:56 AM
Formula Set Up Needed unique Charts and Charting in Excel 2 December 4th 05 10:24 PM
= if formula needed WYN Excel Discussion (Misc queries) 5 September 5th 05 11:04 PM
Formula needed audi Excel Discussion (Misc queries) 4 August 3rd 05 12:09 PM
Formula needed Connie Martin Excel Worksheet Functions 22 November 9th 04 03:43 PM


All times are GMT +1. The time now is 04:30 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"