Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Conditional formula for dates

I'm looking for help with a conditional formula.

A B C D
1 11/1/09 z

I'd like a formula in column B to calculate days depending on columns A and
D. If column D is "z", i'd like to add 10 days to column A. If column D is
"y", I'd like to add 20 days to column A.

Thanks for any assistance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Conditional formula for dates

ColB with Y or N and Col A with numerics..Try the below to return sum for Y

=SUMIF(B:B,"Y",A:A)

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


"BMoran" wrote:

I'm looking for help with a conditional formula.

A B C D
1 11/1/09 z

I'd like a formula in column B to calculate days depending on columns A and
D. If column D is "z", i'd like to add 10 days to column A. If column D is
"y", I'd like to add 20 days to column A.

Thanks for any assistance!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Conditional formula for dates

Try the below..If D do not contain z or y then return cell A1 date itself.

=A1+IF(D1="z",10,IF(D1="y",20,0))

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


"BMoran" wrote:

I'm looking for help with a conditional formula.

A B C D
1 11/1/09 z

I'd like a formula in column B to calculate days depending on columns A and
D. If column D is "z", i'd like to add 10 days to column A. If column D is
"y", I'd like to add 20 days to column A.

Thanks for any assistance!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Conditional formula for dates

Please ignore this post on SUMIF()...

"Jacob Skaria" wrote:

ColB with Y or N and Col A with numerics..Try the below to return sum for Y

=SUMIF(B:B,"Y",A:A)

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


"BMoran" wrote:

I'm looking for help with a conditional formula.

A B C D
1 11/1/09 z

I'd like a formula in column B to calculate days depending on columns A and
D. If column D is "z", i'd like to add 10 days to column A. If column D is
"y", I'd like to add 20 days to column A.

Thanks for any assistance!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default Conditional formula for dates

Hi
try this =IF(D1="z",A1+10,IF(D1="y",A1+20,"")) , you can copy down the column.
HTH
John
"BMoran" wrote in message
...
I'm looking for help with a conditional formula.

A B C D
1 11/1/09 z

I'd like a formula in column B to calculate days depending on columns A and
D. If column D is "z", i'd like to add 10 days to column A. If column D is
"y", I'd like to add 20 days to column A.

Thanks for any assistance!




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Conditional formula for dates

Thank you!!!

"Jacob Skaria" wrote:

Try the below..If D do not contain z or y then return cell A1 date itself.

=A1+IF(D1="z",10,IF(D1="y",20,0))

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


"BMoran" wrote:

I'm looking for help with a conditional formula.

A B C D
1 11/1/09 z

I'd like a formula in column B to calculate days depending on columns A and
D. If column D is "z", i'd like to add 10 days to column A. If column D is
"y", I'd like to add 20 days to column A.

Thanks for any assistance!

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional formula for dates

Try this...

=IF(COUNT(A1),IF(D1="z",A1+10,IF(D1="y",A1+20,"")) ,"")

--
Biff
Microsoft Excel MVP


"BMoran" wrote in message
...
I'm looking for help with a conditional formula.

A B C D
1 11/1/09 z

I'd like a formula in column B to calculate days depending on columns A
and
D. If column D is "z", i'd like to add 10 days to column A. If column D
is
"y", I'd like to add 20 days to column A.

Thanks for any assistance!



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
Conditional formula to highlight dates (and that entire row) Shane Devenshire[_2_] Excel Worksheet Functions 0 June 8th 09 09:41 PM
conditional formula based on dates filups[_2_] Excel Worksheet Functions 4 November 30th 08 01:38 AM
formula in conditional formatting with dates MelB Excel Discussion (Misc queries) 3 November 16th 07 01:41 AM
Conditional formatting formula for past due dates Annabelle Excel Discussion (Misc queries) 1 July 18th 07 04:28 PM
Conditional formatting with dates formula problem. [email protected] Excel Discussion (Misc queries) 8 March 5th 05 11:47 PM


All times are GMT +1. The time now is 11:27 AM.

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"