+ Reply to Thread
Results 1 to 9 of 9

VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

  1. #1
    Registered User
    Join Date
    09-24-2018
    Location
    US
    MS-Off Ver
    2010
    Posts
    17

    VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

    Hi folks,

    I have a unique requirement, attached is the spreadsheet where I have column A, B and C with the data

    I already have formula to vlookup/ match the source and put it across the rows as you can see in the attached sheet. Column D is the look up value and column E to G i have the results displaying in row from the column B.

    Question: I want to use column C in a way that if there is a month Jan in that column, the corresponding fruit in the Results (Column E to G) should highlight in Green color. so for example for the Banana fruit the month is Jan and it should highlight in the results row whereever it is Banana in Green color. How do I put that conditional formatting?

    Thanks

    Chintu
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

    Month dropdown in C1.
    cond format with:
    Please Login or Register  to view this content.
    Last edited by protonLeah; 08-29-2020 at 07:22 PM.
    Ben Van Johnson

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,416

    Re: VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

    Please see the attached conditional formatting formula
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,795

    Re: VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

    Sorry for off-topic interjection:

    Once again, wk9128, although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    09-24-2018
    Location
    US
    MS-Off Ver
    2010
    Posts
    17

    Re: VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

    Thank you wk9128 appreciate your help

    Is it possible to combine your match table to not look at ONLY Fruit Column, but also the Name column?

    Thanks

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,416

    Re: VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

    Moderator, I am in the right direction. I am busy at work and take the time to answer. I only owe a name to it. Is it so serious? Just add it, please refer to this attachment.
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,795

    Re: VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

    If you are busy at work, then you probably shouldn't be posting here, anyway, and you are completely missing the point of the request. Some members are not able to download attachments, so your answers, for them now and in years to come, are inaccessible.

    Please co-operate with this request in future, for the benefit of all our members. Thanks.

    For the benefit of all, here is the CSE (array) formula suggested in the attachment above:

    =IFERROR(INDEX($B$3:$B$13, SMALL(IF($D3=$A$3:$A$13, ROW($B$3:$B$13)-2,""), COLUMN()-4)),"")
    Last edited by AliGW; 08-31-2020 at 05:16 AM.

  8. #8
    Registered User
    Join Date
    09-24-2018
    Location
    US
    MS-Off Ver
    2010
    Posts
    17

    Re: VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

    Hi AligW

    The formula that you mention is straight copy paste of my formula from my excel attachment, that is not what i asked..

    I think i got what wk9128 provided in his excel as conditional formatting

    Thanks for your response appreciate

    Regards

    chintu

  9. #9
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,416

    Re: VLOOKUP return multiple matching ROWS and Condition Format based on 3rd Criteria

    #06 There is a conditional formatting formula I wrote, I copied one, Formula is =COUNTIFS($A:$A,$D3,$B:$B,E3,$C:$C,$C$5) Color choice green


    Other practices and so on.......

+ 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. Return multiple matching values based on one criteria
    By jaystarrr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2020, 03:05 AM
  2. [SOLVED] Objective: delete rows based on multiple criteria matching
    By Quint6778 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2017, 05:25 PM
  3. Vlookup based on matching multiple rows
    By PCaldwel in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-03-2016, 03:16 PM
  4. Combine multiple rows in a specific column based on matching criteria? VBA solution?
    By hopegriffin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-06-2015, 07:11 PM
  5. copy rows from multiple worksheets to a new condition based on criteria
    By TheVoodoo in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-20-2012, 02:37 PM
  6. [SOLVED] Mark or Delete Rows based on Matching Multiple Criteria in another worksheet
    By clearbluez in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-11-2012, 02:38 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