A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can an If statement return a formula for false?



 
 
Thread Tools Display Modes
  #1  
Old April 21st, 2010, 09:24 AM posted to microsoft.public.excel.misc
mellors
external usenet poster
 
Posts: 1
Default Can an If statement return a formula for false?


Help...

=IF(I3="Closed","Closed",D3-$D$1)

Column I = Open or Closed
D1 = =TODAY()
The rest of column D = =DATE(YEAR(C3),MONTH(C3)+6,DAY(C3))

Can you return a formula in an IF statement as i get a circular ref

Thanks
Andy




--
mellors
  #2  
Old April 21st, 2010, 02:45 PM posted to microsoft.public.excel.misc
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default Can an If statement return a formula for false?

No, you can't "return" a formula in an If statement. You can certainly have
whatever formulas you want in the statement. You need to explain more
clearly what you are trying to do. Where is your If statement? What's in C3?
What result do you want?

Regards,
Fred

"mellors" wrote in message
...

Help...

=IF(I3="Closed","Closed",D3-$D$1)

Column I = Open or Closed
D1 = =TODAY()
The rest of column D = =DATE(YEAR(C3),MONTH(C3)+6,DAY(C3))

Can you return a formula in an IF statement as i get a circular ref

Thanks
Andy




--
mellors


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.