+ Reply to Thread
Results 1 to 3 of 3

IF Stament formula nesting

  1. #1
    Registered User
    Join Date
    10-27-2005
    Posts
    4

    IF Stament formula nesting

    I want to nest a formula with some if statements

    Here is my data i.e.:

    If my cell A1 equals "SWEEP" then I want it to say 10105, if it doesnt then I want it say 10145, but if it equals "0" then I want it to say "-"

    Thanks for the help in advance , my trouble is when I put the second If statement

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    You wrote "....I want *it* to say...." You don't tell us what IT is. I hope you are referring to the cell that contains the IF formula. If so...

    Try this in the cell of your choice:

    =IF(A1="SWEEP",10105,IF(A1=0,"-",10145))

    Does this meet your needs?
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    JE McGimpsey
    Guest

    Re: IF Stament formula nesting

    One way:

    =IF(A1="SWEEP",10105,IF(A1=0,"-",10145))

    An alternative:

    =IF(A1=0,"-",10105+40*(A1="SWEEP"))





    In article <[email protected]>,
    batmanlasd <[email protected]>
    wrote:

    > I want to nest a formula with some if statements
    >
    > Here is my data i.e.:
    >
    > If my cell A1 equals "SWEEP" then I want it to say 10105, if it doesnt
    > then I want it say 10145, but if it equals "0" then I want it to say "-"
    >
    >
    > Thanks for the help in advance , my trouble is when I put the second If
    > statement


+ 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