Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old February 8th 07, 04:00 PM posted to microsoft.public.excel.programming
DP7 DP7 is offline
external usenet poster
 
First recorded activity by ExcelBanter: Oct 2006
Posts: 54
Default If statement + date calculation

Hi I am not quiet sure how to write this IF statement. If AC= “mon” then
add 8 days to ab, but if AC = “thur” the add 6 days to ab.
Thanks



  #2   Report Post  
Old February 8th 07, 04:35 PM posted to microsoft.public.excel.programming
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 4,624
Default If statement + date calculation

One way:

=IF(AC1="mon",AB1+8,IF(AC1="thur",AB1+6,""))

In article ,
DP7 wrote:

Hi I am not quiet sure how to write this IF statement. If AC= “mon” then
add 8 days to ab, but if AC = “thur” the add 6 days to ab.
Thanks



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
How do I perform calculation within IF statement? Steven Masterson Excel Worksheet Functions 4 December 15th 08 08:13 AM
Date Calculation (from entered date / 1yr later in next field) ajaminb Excel Worksheet Functions 6 September 29th 08 02:11 PM
End Date Calculation (adding a start date duration) Silena K-K Excel Discussion (Misc queries) 5 January 25th 08 04:27 PM
Tricky Date calculation: How to calculate a future date [email protected] Excel Discussion (Misc queries) 9 August 11th 06 04:24 AM
Coding to show first _weekday_ prior to a date, when date calculation happens to fall on weekend? StargateFan[_3_] Excel Programming 5 December 9th 04 09:06 AM


All times are GMT +1. The time now is 07:06 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017