+ Reply to Thread
Results 1 to 14 of 14

If Function

Hybrid View

etsusurveyor If Function 12-11-2007, 12:07 PM
jasoncw See if this formula will work... 12-11-2007, 12:26 PM
daddylonglegs Perhaps just ... 12-11-2007, 01:13 PM
etsusurveyor that doest seem to work 12-11-2007, 01:13 PM
timrmason I have a similar problem I... 12-11-2007, 01:28 PM
jasoncw Try this one instead: ... 12-11-2007, 02:24 PM
etsusurveyor nothing yet. 12-11-2007, 02:55 PM
jasoncw Print screens or the actual... 12-11-2007, 03:13 PM
Koneks Try this one ... 12-11-2007, 03:19 PM
timrmason I can not seem to get it to... 12-11-2007, 03:21 PM
etsusurveyor =IF(ISNA(MATCH(Z2,$W$2:$W$10,0... 12-11-2007, 03:47 PM
jasoncw Yes, there is a max number of... 12-11-2007, 04:44 PM
timrmason It still is not working. I am... 12-11-2007, 05:38 PM
jasoncw Timrmason, the replies in... 12-11-2007, 05:42 PM
  1. #1
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Try this one instead:
    =IF(ISNA(MATCH(Z3,W2:W10,0)),1,INDEX(W2:X10,MATCH(Z3,W2:W10,0),2))
    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.

  2. #2
    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

  3. #3
    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:
    =IF(ISNA(MATCH(Z2,W2:W10,0)),1,INDEX(W2:X10,MATCH(Z2,W2:W10,0),2))
    Jason

  4. #4
    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.

  5. #5
    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

  6. #6
    Registered User
    Join Date
    05-08-2007
    Posts
    12
    =IF(ISNA(MATCH(Z2,$W$2:$W$10,0)),1,INDEX($W$2:$X$10,MATCH(Z2,$W$2:$W$10,0),2))
    this worked for me.... thanks.

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

  7. #7
    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:
    =IF(Z3=W2,X2,0)+IF(Z3=W3,X3,0)+IF(Z3=W4,X4,0)+IF(Z3=W5,X5,0)+IF(Z3=W6,X6,0)+IF(Z3=W7,X7,0)+IF(Z3=W8,X8,0)+IF(Z3=W9,X9,0)+IF(Z3=W10,X10,0)
    HTH

    Jason

  8. #8
    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

  9. #9
    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