+ Reply to Thread
Results 1 to 4 of 4

Excel adding to IF statements together

Hybrid View

Guest Excel adding to IF statements... 06-13-2005, 04:05 PM
Guest Re: Excel adding to IF... 06-13-2005, 04:05 PM
Guest Re: Excel adding to IF... 06-15-2005, 01:05 PM
Guest Re: Excel adding to IF... 06-15-2005, 02:05 PM
  1. #1
    Dubbs
    Guest

    Excel adding to IF statements together

    =IF(AM7="Put"&AN7<K2;$K$2-AN7;AN7-$K$2)*OR(AM7="Call"&AN7>K2;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. #2
    Bill Martin -- (Remove NOSPAM from address)
    Guest

    Re: Excel adding to IF statements together

    Dubbs wrote:
    > =IF(AM7="Put"&AN7<K2;$K$2-AN7;AN7-$K$2)*OR(AM7="Call"&AN7>K2;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,NeitherAction))

    Good luck....

    Bill

  3. #3
    Dubbs
    Guest

    Re: Excel adding to IF statements together

    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"&AN7>K2;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,NeitherAction))
    >
    > Good luck....
    >
    > Bill
    >


  4. #4
    Bill Martin -- (Remove NOSPAM from address)
    Guest

    Re: Excel adding to IF statements together

    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"&AN7>K2;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,NeitherAction))
    >>
    >>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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1