+ Reply to Thread
Results 1 to 7 of 7

And() if() vlookup() combination

  1. #1
    Forum Contributor meyero90's Avatar
    Join Date
    03-24-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    202

    Arrow And() if() vlookup() combination

    Hello,

    I’m trying to find a formula that will attempt to do the following with respect to a Weight (%) and Fund Name:
    If() Weight (column B) is >0, then Vlookup () the corresponding, and return “INVESTED”, IF NOT (meaning Weight =0), return “NOT INVESTED”.

    Thank you All Again for you help

    Don’t hesitate to come up another way to do it. I started to do AND(IF(X>0 vlookup(XX,XX,X,0),”invested”,if(X=0 vlookup(XX,XX,X,0),”not invested” …… and then I got stuck because I want the weight to match the name (vlookup does it), but couldn’t find the argument that will help add “invested”, “not invested”.

    Attached is the sample
    Attached Files Attached Files

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: And() if() vlookup() combination

    =IF(B4>0,C4,"NOT INVESTED")

    Is this what you want?
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Forum Contributor meyero90's Avatar
    Join Date
    03-24-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: And() if() vlookup() combination

    Nope, it's really not that. Thanks though

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: And() if() vlookup() combination

    Perhaps this: =IF(B4>0,IF(VLOOKUP(B4,$B$4:$C$20,2,FALSE)="","Not Funded","Funded"),"")
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  5. #5
    Forum Contributor meyero90's Avatar
    Join Date
    03-24-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: And() if() vlookup() combination

    It works, but when the weight is equal to 0, I should get "Not Invested", but instead I get "" (nothing).
    Thanks

  6. #6
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: And() if() vlookup() combination

    Try this..

    =IF(B4>0,IF(VLOOKUP(B4,$B$4:$C$20,2,0)="","","Funded"),"Not Funded")

  7. #7
    Forum Contributor meyero90's Avatar
    Join Date
    03-24-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: And() if() vlookup() combination

    Sweet, it works!!!! Thanks day92

+ 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