#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Help wit a formula

Column c may or may not have a date in each cell.
Column d may or may not have a date in each cell.
They will not have a date in corresponding cells at the same time.
If column c has a date then add 90 to that to equal column e
If column d has a date then add 60 to that to get column e.
And on it goes for each cell in each column

C1 D1 E1
3/27/2008 result
4/14/2008 result
C2 D2 E2
4/21/2008 result

Please help...of course column E would convert serial number to date.
MANY THANKS...
caseysmydog
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Help wit a formula

Try this:

=IF(COUNT(C1:D1),MAX(C1+90,D1+60),"")

Format as DATE


--
Biff
Microsoft Excel MVP


"caseysmydog" wrote in message
...
Column c may or may not have a date in each cell.
Column d may or may not have a date in each cell.
They will not have a date in corresponding cells at the same time.
If column c has a date then add 90 to that to equal column e
If column d has a date then add 60 to that to get column e.
And on it goes for each cell in each column

C1 D1 E1
3/27/2008 result
4/14/2008 result
C2 D2 E2
4/21/2008 result

Please help...of course column E would convert serial number to date.
MANY THANKS...
caseysmydog



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 02:20 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"