Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dubbs
 
Posts: n/a
Default Excel adding to IF statements together

=IF(AM7="Put"&AN7<K2;$K$2-AN7;AN7-$K$2)*OR(AM7="Call"&AN7K2;AN7-$K$2;$K$2-A
N7)

In the above statement, I am attempting to link or add to IF statements
together. I want it to to do one thing if AM7="Put" and another command if
AM7="Call". When I type this in Excel adds an * before the OR. I am not
sure what that is, or if I am using the right command to link these too
commands.
  #2   Report Post  
Bill Martin -- (Remove NOSPAM from address)
 
Posts: n/a
Default

Dubbs wrote:
=IF(AM7="Put"&AN7<K2;$K$2-AN7;AN7-$K$2)*OR(AM7="Call"&AN7K2;AN7-$K$2;$K$2-A
N7)

In the above statement, I am attempting to link or add to IF statements
together. I want it to to do one thing if AM7="Put" and another command if
AM7="Call". When I type this in Excel adds an * before the OR. I am not
sure what that is, or if I am using the right command to link these too
commands.


---------------------------

If I understand your intentions correctly, try:

[ ] = IF(AM7="Put",PutAction,IF(AM7="Call",CallAction,Ne itherAction))

Good luck....

Bill
  #3   Report Post  
Dubbs
 
Posts: n/a
Default

Do you know why this dicussion group changes "Put" to "Put&quot? I didnt
write it out like that.

"Bill Martin -- (Remove NOSPAM from addre" wrote:

Dubbs wrote:
=IF(AM7="Put"&AN7<K2;$K$2-AN7;AN7-$K$2)*OR(AM7="Call"&AN7K2;AN7-$K$2;$K$2-A
N7)

In the above statement, I am attempting to link or add to IF statements
together. I want it to to do one thing if AM7="Put" and another command if
AM7="Call". When I type this in Excel adds an * before the OR. I am not
sure what that is, or if I am using the right command to link these too
commands.


---------------------------

If I understand your intentions correctly, try:

[ ] = IF(AM7="Put",PutAction,IF(AM7="Call",CallAction,Ne itherAction))

Good luck....

Bill

  #4   Report Post  
Bill Martin -- (Remove NOSPAM from address)
 
Posts: n/a
Default

Dubbs wrote:
Do you know why this dicussion group changes "Put" to "Put&quot? I didnt
write it out like that.

"Bill Martin -- (Remove NOSPAM from addre" wrote:


Dubbs wrote:

=IF(AM7="Put"&AN7<K2;$K$2-AN7;AN7-$K$2)*OR(AM7="Call"&AN7K2;AN7-$K$2;$K$2-A
N7)

In the above statement, I am attempting to link or add to IF statements
together. I want it to to do one thing if AM7="Put" and another command if
AM7="Call". When I type this in Excel adds an * before the OR. I am not
sure what that is, or if I am using the right command to link these too
commands.


---------------------------

If I understand your intentions correctly, try:

[ ] = IF(AM7="Put",PutAction,IF(AM7="Call",CallAction,Ne itherAction))

Good luck....

Bill

---------------

I don't see it like that anywhere in your original note, so it's
probably some function of the program you're using to read it. It
sounds like what you're seeing is an html tag being rendered as plain
text perhaps?

Bill
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I set up multiple if statements in Excel? LKraft0318 Excel Worksheet Functions 2 February 9th 05 09:53 PM
What is the formula for adding mulitple numbers in one excel cell. Merlin_au Excel Discussion (Misc queries) 1 January 4th 05 10:50 AM
Adding a chart to a Word template linked to an Excel doc. Bobbie Excel Discussion (Misc queries) 0 January 3rd 05 08:07 PM
I have Excel columns with different statements (yes, no; numbers). David Verlander Excel Worksheet Functions 2 November 26th 04 10:27 PM


All times are GMT +1. The time now is 10:00 PM.

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"