LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default =IF(logical test,value if true,value if false) always backwards!

Try taking the quotes off the zero in your formula.........

=IF(C3=0,E3+0,E3+1)

Vaya con Dios,
Chuck, CABGx3


"chaminod" wrote:


I think I'm losing my mind....

........C...................D..................... ......E.........
1......1............10/25/2005...........10/26/2005
2......2............10/27/2005...........10/29/2005
3......0............10/29/2005...........10/29/2005
4......3............10/29/2005...........11/01/2005

This is how the data SHOULD look.

Column C is the duration of the project in days. Column D is the
project start date. Column E is the project end date.

In Column D I'm using the formula =IF(logical test,value if true,value
if false). As example, in D4 I'm using the formula
=IF(C3="0",E3+0,E3+1).

In my limited understanding, this is supposed to mean that if C3 is a
0, then D4 will report 10/29/2005, BUT if C3 is a number other than 0,
then D4 will report 10/30/2005.

Here is the issue: the formula =IF(C3="0",E3+0,E3+1) is ignoring the
E3+0 part - it ALWAYS adds 1 day to the duration,even when the C3=0.
Also, I tried flipping the true-false values by using
=IF(C3="0",E3+1,E3+0). In that case it ALWAYS adds 0 days to the
duration, even when the value is something other than 0.

Any help would be GREATLY appreciated. I know it must be my
misunderstanding how this formula is supposed to work.

Christine


--
chaminod
------------------------------------------------------------------------
chaminod's Profile: http://www.excelforum.com/member.php...o&userid=18163
View this thread: http://www.excelforum.com/showthread...hreadid=493465




 
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
Inconsistent Macro Behavior Sarah K Excel Discussion (Misc queries) 4 November 1st 05 10:36 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Grouped Sheets and Formating Pank Mehta Excel Discussion (Misc queries) 3 March 24th 05 01:42 AM
Grand Totals @ Same Place Amber M Excel Worksheet Functions 2 December 30th 04 07:13 PM


All times are GMT +1. The time now is 10:16 AM.

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

About Us

"It's about Microsoft Excel"