+ Reply to Thread
Results 1 to 4 of 4

Conditional VLOOKUP on Muliple Rows (or similar)

  1. #1
    Registered User
    Join Date
    01-21-2015
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    5

    Conditional VLOOKUP on Muliple Rows (or similar)

    Hey all!

    I am trying to make a query type application in Excel. Access would be better or an integration of the two but for now it needs to be Excel.

    I need to loop through all the rows in a worksheet with this condition:

    If COLUMN A = "X" then IF COLUMN B = "Y" then ADD what's in COLUMN C

    Example:

    Please Login or Register  to view this content.
    I though VLOOKUP but then realized that won't work because it's only the first value it finds. I tried INDEX but couldn't get it to work.

    I just need some guidelines. Not look for the code.

    Thanks!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,673

    Re: Conditional VLOOKUP on Muliple Rows (or similar)

    You need to use SUMIFS

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    01-21-2015
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    5

    Re: Conditional VLOOKUP on Muliple Rows (or similar)

    Quote Originally Posted by 6StringJazzer View Post
    You need to use SUMIFS

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Yes! I knew it was a simple solution. This works like a charm and actually so much better since initially I was looping through each row and writting conditions.

    This way I just denote the size of the sheet and plug in the conditions I am looking for.

    Thank you!

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,673

    Re: Conditional VLOOKUP on Muliple Rows (or similar)

    You're welcome! Thanks for the rep, and thanks for marking your thread Solved!

+ 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. [SOLVED] vlookup, match or if in conditional formatting or similar
    By LinaVa in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-08-2014, 10:07 AM
  2. [SOLVED] VLOOKUP over the whole workbook (muliple sheets)
    By Exodus_NZ in forum Excel Formulas & Functions
    Replies: 58
    Last Post: 09-18-2013, 03:43 PM
  3. [SOLVED] Return muliple values using Vlookup
    By manthankanabar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-09-2012, 04:12 PM
  4. Replies: 3
    Last Post: 12-17-2011, 03:48 PM
  5. Conditional formatting similar to shading alternating rows
    By Conan Kelly in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-22-2006, 06:20 PM

Tags for this Thread

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