+ Reply to Thread
Results 1 to 4 of 4

Vlookup formula with the conditional formatting of multiple unique values

  1. #1
    Registered User
    Join Date
    11-27-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Vlookup formula with the conditional formatting of multiple unique values

    Dear Experts,

    I have a challenge where I need your expertise help.

    Attached is an example of the sheet where I need to get the price on specific date for a brand which is available in sheet 2. I have tried using the conditional formula combined with vlookup and I have got stuck since the vlookup is always fetching the first available data.

    Can you please suggest the best way forward to resolve this? Many thanks in advance.

    Best Regards,
    Bharathi
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019
    Posts
    3,775

    Re: Vlookup formula with the conditional formatting of multiple unique values

    Try this in Cell D2 on Sheet1 and drag down.

    =SUMPRODUCT((A2>=Sheet2!$B$2:$B$5)*(A2<=Sheet2!$C$2:$C$5)*(B2=Sheet2!$A$2:$A$5)*Sheet2!$D$2:$D$5)

    I have only assumed the data on Sheet2 to be till row 5 (Marked in Red). Change the formula accordingly
    Last edited by NeedForExcel; 12-16-2019 at 01:19 AM.
    Cheers!
    Deep Dave

    www.NeedForExcel.com

  3. #3
    Registered User
    Join Date
    11-27-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Vlookup formula with the conditional formatting of multiple unique values

    Thanks a ton for your kind help and support. Much appreciated. I will do further checks and I will let you know in case of any further support required.

    Thanks once again. You made my day!

    Best Regards,
    Bharathi

  4. #4
    Forum Moderator Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    9,721

    Re: Vlookup formula with the conditional formatting of multiple unique values

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    You really don't have to give me rep points for moderating. It's part of the job. Keep rep points for those who find solutions

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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