+ Reply to Thread
Results 1 to 2 of 2

VLOOKUP, select one out of several rows

  1. #1
    Registered User
    Join Date
    07-16-2014
    Location
    Rio de Janeiro, Brazil
    MS-Off Ver
    MS Office for Mac 2011, MS Office 2013
    Posts
    4

    VLOOKUP, select one out of several rows

    Hey guys!

    I'm trying to analyse some data, consisting of a table with clients "checking in" at a certain restaurant at a certain time. In another table I have the restaurant data, including information on different discounts they offer on different days and at different times. If a restaurant offers distinct discounts for distinct days of the week (or hours), it will be listed several times. Now, for each check-in I'd like to know, how much money the client safed (all check-ins are within some of the discount hours of the restaurant they checked in at). If there were only one line per restaurant, VLOOKUP would do the task without any problem, however, as there are several rows per restaurant, I don't know how to look up the correct discount according to the date and hour the client checked in. I've attached a data sample.

    Sample data.xlsx

    Thank you!

  2. #2
    Registered User
    Join Date
    07-16-2014
    Location
    Rio de Janeiro, Brazil
    MS-Off Ver
    MS Office for Mac 2011, MS Office 2013
    Posts
    4

    Re: VLOOKUP, select one out of several rows

    Anyone, guys?

+ 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. Code to prevent user to Select COLUMNS but allow to select ROWS
    By tengrosita in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2011, 03:46 AM
  2. Replies: 1
    Last Post: 04-23-2007, 04:23 PM
  3. [SOLVED] select a cell following vlookup
    By caroline in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-17-2006, 12:10 PM
  4. Macro to select 4 entire rows and then delete rows
    By Scott Viney in forum Excel General
    Replies: 3
    Last Post: 09-22-2005, 03:05 PM
  5. select block of rows w/data between blank rows
    By Janna in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2005, 11:06 PM

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