+ Reply to Thread
Results 1 to 14 of 14

If Function

  1. #1
    Registered User
    Join Date
    05-08-2007
    Posts
    12

    If Function

    i do not know how to put more than 8 tests in one cell
    i need to put 9 with 1 as the false result
    ive also tried with all the parenthesis at the end.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    See if this formula will work for you:
    Please Login or Register  to view this content.
    HTH

    Jason

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Perhaps just

    =IF(ISNA(MATCH(Z3,W2:W10,0)),1, VLOOKUP(Z3,W2:X10,2,0))

  4. #4
    Registered User
    Join Date
    05-08-2007
    Posts
    12

    that doest seem to work

    what if we take away the need for output of 1 for a false statement and have
    what i have are a list of 10 names in column "W", list of 10 to 1 in column "X".
    i want to display the number in column "X" if name in column "Z" matches name left of number.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-11-2007
    Posts
    4
    I have a similar problem
    I am looking for a solution to this spread sheet. A little back ground mite help to under stand what I am trying to do.
    I supply and install Accordion shutters, the shutter widths only come in certain sizes. (see ShutSizeChart.pdf) and the building openings varies. When I order, I need to go to the next size larger than the window. The problem is the nesting limit; the size chart contains 70 sizes.
    See ShutWorkSh.pdf
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Try this one instead:
    Please Login or Register  to view this content.
    Jason
    Quote Originally Posted by etsusurveyor
    what if we take away the need for output of 1 for a false statement and have
    what i have are a list of 10 names in column "W", list of 10 to 1 in column "X".
    i want to display the number in column "X" if name in column "Z" matches name left of number.
    Last edited by jasoncw; 12-11-2007 at 02:29 PM.

  7. #7
    Registered User
    Join Date
    05-08-2007
    Posts
    12

    nothing yet.

    it outputs 1 when this particular value is 6
    attached is the actual page. if Name1=Name1 then 10. but i need it to run through all of the names incase the name in Z2 is Name 10, then output 1
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Print screens or the actual Excel file always help. You were using Z3 in your original formula, so that is what we assumed you needed. Instead, try using Z2:
    Please Login or Register  to view this content.
    Jason

  9. #9
    Registered User
    Join Date
    12-11-2007
    Location
    Lisbon
    Posts
    1
    Try this one

    if(iserror(vlookup(Z3,W2:X13,2,FALSE)),1,Z3)

    I expect it works because I use Spanish Excel and I had to look for the English formulas.

  10. #10
    Registered User
    Join Date
    12-11-2007
    Posts
    4
    I can not seem to get it to work.
    What I am trying to accomplish is
    I input the actual opening width in C5 and Excel finds the width size that is the same or the next size lager.
    Example
    The width is 20, which is between 17.6 &23.5 on the Shutter size chart, I enter that in C5 excel returns the value of 30.25 from line 4 on the Shutter size chart.
    So I think should be looking for a equal to or greater than type formula but there are so many arguments

  11. #11
    Registered User
    Join Date
    05-08-2007
    Posts
    12
    Please Login or Register  to view this content.
    this worked for me.... thanks.

    so is it impossible to have more than 8 statements in an if function?

  12. #12
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Yes, there is a max number of nested IF statements. However, you can work around this by doing something like this:
    Please Login or Register  to view this content.
    HTH

    Jason

  13. #13
    Registered User
    Join Date
    12-11-2007
    Posts
    4

    Angry

    It still is not working. I am using whole numbers and desamuls =IF(C12=1,0)+IF(C12=6,6)+IF(C12=11.75,11.75)+IF(C12=23.25,23.25)+IF(C12=29,29)+IF(C12=35,35)+IF(C12=40.75,40.75)
    this returns a 0 value.
    I have tryed adding a less than
    =IF(C11<=1,0)+IF(C11<=6,6)+IF(C11<=11.75,11.75)+IF(C11<=23.25,23.25)+IF(C11<=29,29)+IF(C11<=35,35)+IF(C11<=40.75,40.75)
    this returns a 145.75 value witch i think is the sum of the brackets.
    any other ideas

  14. #14
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Timrmason, the replies in this thread were intended for etsusurveyor. As it states in the forum rules, you must start your own thread if you have a question. Please begin a new thread.

    Jason

+ 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