+ Reply to Thread
Results 1 to 2 of 2

VBA - VLOOKUP Multi criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    02-12-2016
    Location
    Paris
    MS-Off Ver
    2010
    Posts
    8

    Post VBA - VLOOKUP Multi criteria

    Hello everybody,

    I have a problem, I can't find the right method to consolidate my table. I need to search instance with 3 criteria.
    I join this one to simplify the explication.

    Thanks you in advance for your support
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-12-2016
    Location
    Paris
    MS-Off Ver
    2010
    Posts
    8

    Re: VBA - VLOOKUP Multi criteria

    I found how to consolidate first row, but now I have just a new problem to loop this script...

    So in sheet "PROD" each 11 rows, we have a new table with another item. I would like to loop this script each 11 rows

    I have got a idea ?

    '--------------------------------------------------------------------------------------------------------------------------
    'Consolidation Hours
    '-------------------------------------------------------------------------------------------------------------------------
         For Each Cel In Sheets("PROD").Range("A1:Q1")
            If Cel = Sheets("Matrice").Range("BJ1") Then C = Cel.Column: Exit For
        Next
        If C > 0 Then
            For Each Cel1 In Sheets("Matrice").Range("BK1:BT1")
                For Each Cel In Sheets("PROD").Range("A2:A11")
                    If Left(Cel, Len(Cel1)) = Cel1 Then L = Cel.Row: Exit For
                Next
                Sheets("Matrice").Cells(2, Cel1.Column) = Sheets("PROD").Cells(L, C)
            Next
        End If
    Attached Files Attached Files

+ 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. Multi-criteria VLOOKUP
    By SymphonyTomorrow in forum Excel General
    Replies: 1
    Last Post: 03-20-2017, 12:40 PM
  2. Large multi criteria / Vlookup/Choose Multi criteria
    By deanusa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2014, 01:48 AM
  3. Multi Criteria Vlookup
    By Dendrinos2 in forum Excel General
    Replies: 2
    Last Post: 11-03-2011, 01:45 AM
  4. VLookup multi criteria.
    By noodles1984 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-05-2010, 05:53 PM
  5. How do I do multi VLOOKUP's based on certain criteria per cell?
    By Milky_UK in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  6. [SOLVED] How do I do multi VLOOKUP's based on certain criteria per cell?
    By Milky_UK in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. How do I do multi VLOOKUP's based on certain criteria per cell?
    By Milky_UK in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 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