+ Reply to Thread
Results 1 to 2 of 2

how to assign a value to several others

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2007
    Posts
    3

    how to assign a value to several others

    I am creating a table to go into a database for a hotel
    In order to sort my database each guest is assigned a customer_id
    each booking is also assigned a booking_id
    I need to create a table which shows the booking_id and the guest_id, and i'm not sure the best way to do this without going through hundreds of individual rows, as some guests can have more than 1 booking_id

    Any help would be appreciated

    Thanks
    Last edited by gavlaar69; 11-05-2013 at 04:28 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: how to assign a value to several others

    Hi and welcome to the forum

    Not sure if this will help at all, but if you have a 2-column list (Guest_Id and Booking_ID) you could sort on Guest and do it that way?

    What are you planning on doing with the info once you have it?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Replies: 3
    Last Post: 04-23-2013, 03:46 PM
  2. [SOLVED] assign a value to x
    By 167notout in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2013, 07:29 PM
  3. Assign value to a name in VBA
    By SpringLily in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 09-22-2010, 04:52 AM
  4. assign
    By jeremy via OfficeKB.com in forum Excel General
    Replies: 7
    Last Post: 06-08-2005, 12:05 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