Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2007

Tip: Looking for answers? Try searching our database.

IF statement with multiple scenarios.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AMS - 21 May 2007 20:28 GMT
I am struggling with an IF statement...here's my situation:

I need the default value of a cell (C64) to be 8 as long as cells F24 and
F25 contain text "n".  If F24 text is "y" (F25 will remain "n"), then I need
the value of C64 to be (8-I24).  If the F25 text is "y" (F24 will remain
"n"), then the value of C64 must be (8+I25).  Is this possible to do within
one cell?
JE McGimpsey - 21 May 2007 20:38 GMT
One way:

C64:    =8 - I24*(F24="y") + I25*(F25="y")

> I am struggling with an IF statement...here's my situation:
>
[quoted text clipped - 3 lines]
> "n"), then the value of C64 must be (8+I25).  Is this possible to do within
> one cell?
AMS - 21 May 2007 21:06 GMT
Perfect.  Thank you.

> One way:
>
[quoted text clipped - 7 lines]
> > "n"), then the value of C64 must be (8+I25).  Is this possible to do within
> > one cell?
bj - 21 May 2007 21:47 GMT
=if(f24="n",if(f25="n",8,8+I25),if(f5="n",8-I24,"neither f24 nor f25 = n"))
You did not say what to do if bothe are not "n"

> I am struggling with an IF statement...here's my situation:
>
[quoted text clipped - 3 lines]
> "n"), then the value of C64 must be (8+I25).  Is this possible to do within
> one cell?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.