+ Reply to Thread
Results 1 to 8 of 8

Vlookup with condition

  1. #1
    Registered User
    Join Date
    07-23-2012
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    60

    Vlookup with condition

    Hello Everyone,

    See attached the excel for your reference.

    I have table A1:E10 , where i enter Internal team transfers "From Team" to " To Team" with Month

    Now what i want in Table G1:S15 is that whenever a transfer takes place, for that particular month, tables gets filled up as +1 for "To Team" and -1 for "From Team." Also if there are multiple transfers happening for a particular team in a month then that numbers should sum up.

    For your easy understanding, i have filled the table as per my logic explained above.

    Let me know if you need any more info.

    Regards
    Mohammad
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup with condition

    Can you pls explain which is the difference from this thread?

    http://www.excelforum.com/excel-form...n-vlookup.html
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Vlookup with condition

    Hi,

    Perhaps, in H2 and copy across and down:

    =IFERROR(1/(1/(SUMPRODUCT(($E$2:$E$10=H$1)*((-($B$2:$B$10=$G2))+($C$2:$C$10=$G2))))),"")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Registered User
    Join Date
    07-23-2012
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    60

    Re: Vlookup with condition

    This is totally different. You can open and see the excel.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup with condition

    Quote Originally Posted by Zaid View Post
    This is totally different. You can open and see the excel.
    Totaly different? I don't think so..Let's unblock your thread to see the replies..

  6. #6
    Registered User
    Join Date
    07-23-2012
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    60

    Re: Vlookup with condition

    I have unblocked it. Please have a look.

  7. #7
    Registered User
    Join Date
    07-23-2012
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    60

    Re: Vlookup with condition

    XOR LX

    Perfect. This is awesome man. Thanks a lot

  8. #8
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Vlookup with condition

    @Fotis

    Thanks for your patience and understanding

    @Zaid

    You're welcome!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VLookup + If condition
    By denniswtlx in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-12-2013, 04:36 PM
  2. Vlookup with more than one condition/value
    By cesarmontoya in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-08-2013, 07:07 AM
  3. Vlookup and if Condition
    By Karan12345 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-04-2013, 06:50 AM
  4. Vlookup with another condition
    By johncena in forum Excel General
    Replies: 5
    Last Post: 04-15-2010, 11:23 AM
  5. vlookup in two condition
    By val via OfficeKB.com in forum Excel General
    Replies: 1
    Last Post: 03-18-2005, 05:06 AM

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