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  

Two IF Statements with two answers



 
 
Thread Tools Display Modes
  #1  
Old January 28th, 2005, 09:43 PM
heater
external usenet poster
 
Posts: n/a
Default Two IF Statements with two answers

In cell J9 I need a formula that would do the following:

If G9="Yes" then F9, If G9="No" then -f9

Note: G9 has a drop down list with Yes, No answers.

  #2  
Old January 28th, 2005, 10:11 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default

If there are no other alternatives that yes and no

=IF(G9="Yes",F9,-F9)

otherwise

=IF(G9="Yes",F9,IF(G9="No",-F9,"")


Regards,

Peo Sjoblom

"heater" wrote:

In cell J9 I need a formula that would do the following:

If G9="Yes" then F9, If G9="No" then -f9

Note: G9 has a drop down list with Yes, No answers.

  #3  
Old January 28th, 2005, 10:13 PM
Alan
external usenet poster
 
Posts: n/a
Default

=IF(G9="Yes",F9,-F9)
"heater" wrote in message
...
In cell J9 I need a formula that would do the following:

If G9="Yes" then F9, If G9="No" then -f9

Note: G9 has a drop down list with Yes, No answers.



  #4  
Old January 28th, 2005, 10:29 PM
heater
external usenet poster
 
Posts: n/a
Default

Thanks!

"Peo Sjoblom" wrote:

If there are no other alternatives that yes and no

=IF(G9="Yes",F9,-F9)

otherwise

=IF(G9="Yes",F9,IF(G9="No",-F9,"")


Regards,

Peo Sjoblom

"heater" wrote:

In cell J9 I need a formula that would do the following:

If G9="Yes" then F9, If G9="No" then -f9

Note: G9 has a drop down list with Yes, No answers.

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft office 97 access r.broman General Discussion 11 January 7th, 2005 07:56 PM
How to create a query with multiple answers to a question? Amit Running & Setting Up Queries 4 November 9th, 2004 04:52 PM
multiple sql statements in OLE DB command Jerry Nettleton Running & Setting Up Queries 2 June 18th, 2004 04:58 AM
Concatenating the answers from a single field that is linked to a master record Kevin Running & Setting Up Queries 1 June 16th, 2004 03:11 AM
IF Statements Bill Worksheet Functions 8 February 6th, 2004 06:46 PM


All times are GMT +1. The time now is 06:29 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.