+ Reply to Thread
Results 1 to 14 of 14

Combining two formulas

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-13-2006
    Location
    League City, TX
    MS-Off Ver
    2010
    Posts
    139

    Re: Combining two formulas

    That did the trick my friend Thank You very much. Now I need to study it so I can know how to do it for next time...lol
    Thanks again.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Combining two formulas

    From PM:

    I tried to add another column but it's not working can you help me out on it it's returning a 0.
    here is the formula

    =IF(P9="","",IF(ISNA(VLOOKUP(P9,DATA!$A$14:$C$23,3,0)),IF(ISNA(VLOOKUP(P9,DATA!$D$6:$E$23,2,0)),IF(ISNA(VLOOKUP(P9,DATA!$F$6:$G$23,2,0)),"",VLOOKUP(P9,DATA!$F$6:$G$23,2,0)),VLOOKUP(P9,DATA!$D$6:$E$23,2,0)),VLOOKUP(P9,DATA!$A$14:$C$23,3,0)))
    thx,
    mrggutz
    If you are referring still to the same workbook as you had previously attached... I think your merged columns are messing you up. It is advisable to no use merged columns as they lead to confusion and messy formulas....

    Bust, as you have the sheet now, try instead

    =IF(P9="","",IF(ISNA(VLOOKUP(P9,DATA!$A$14:$B$23,2,0)),IF(ISNA(VLOOKUP(P9,DATA!$C$6:$E$23,3,0)),IF(ISNA(VLOOKUP(P9,DATA!$F$6:$G$23,2,0)),"",VLOOKUP(P9,DATA!$F$6:$G$23,2,0)),VLOOKUP(P9,DATA!$C$6:$E$23,3,0)),VLOOKUP(P9,DATA!$A$14:$B$23,2,0)))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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