+ Reply to Thread
Results 1 to 6 of 6

why If, THEN does not work

  1. #1
    childothe1980s
    Guest

    why If, THEN does not work

    Hello:

    I'm trying to get a very simple nested IF, THEN statement to work. But,
    instead of returning a value, it returns "FALSE". I really don't get it.
    Below is my formula. Please help!!!

    =IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI", "20",
    IF($K2="F", "60")))))

    childofthe1980s

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486
    works for me, what are you finding it does for you??

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486
    =IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI", "20",IF($K2="F", "60","")))))
    you were missing the last 2 quotes at the end of the formula, if L2 does not meet any of the criteria, then it will show blank you can enter other values if you wish, for text just insert in the quotes, numbers don't use quotes
    Last edited by davesexcel; 03-04-2006 at 05:10 PM.

  4. #4
    Niek Otten
    Guest

    Re: why If, THEN does not work

    <IF($K2="F", "60")))))>

    And what if $K2 not equals "F"?

    Your formula is not complete

    --
    Kind regards,

    Niek Otten


    "childothe1980s" <[email protected]> wrote in message
    news:[email protected]...
    > Hello:
    >
    > I'm trying to get a very simple nested IF, THEN statement to work. But,
    > instead of returning a value, it returns "FALSE". I really don't get it.
    > Below is my formula. Please help!!!
    >
    > =IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI", "20",
    > IF($K2="F", "60")))))
    >
    > childofthe1980s




  5. #5
    childothe1980s
    Guest

    Re: why If, THEN does not work

    I really don't know what you mean. Could you please explain?

    childofthe1980s

    "Niek Otten" wrote:

    > <IF($K2="F", "60")))))>
    >
    > And what if $K2 not equals "F"?
    >
    > Your formula is not complete
    >
    > --
    > Kind regards,
    >
    > Niek Otten
    >
    >
    > "childothe1980s" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hello:
    > >
    > > I'm trying to get a very simple nested IF, THEN statement to work. But,
    > > instead of returning a value, it returns "FALSE". I really don't get it.
    > > Below is my formula. Please help!!!
    > >
    > > =IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI", "20",
    > > IF($K2="F", "60")))))
    > >
    > > childofthe1980s

    >
    >
    >


  6. #6
    Bob Phillips
    Guest

    Re: why If, THEN does not work

    =IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI", "20",
    IF($K2="F", "60","you need to do something here when all else fails)))))

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "childothe1980s" <[email protected]> wrote in message
    news:[email protected]...
    > I really don't know what you mean. Could you please explain?
    >
    > childofthe1980s
    >
    > "Niek Otten" wrote:
    >
    > > <IF($K2="F", "60")))))>
    > >
    > > And what if $K2 not equals "F"?
    > >
    > > Your formula is not complete
    > >
    > > --
    > > Kind regards,
    > >
    > > Niek Otten
    > >
    > >
    > > "childothe1980s" <[email protected]> wrote in

    message
    > > news:[email protected]...
    > > > Hello:
    > > >
    > > > I'm trying to get a very simple nested IF, THEN statement to work.

    But,
    > > > instead of returning a value, it returns "FALSE". I really don't get

    it.
    > > > Below is my formula. Please help!!!
    > > >
    > > > =IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI",

    "20",
    > > > IF($K2="F", "60")))))
    > > >
    > > > childofthe1980s

    > >
    > >
    > >




+ 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