+ Reply to Thread
Results 1 to 7 of 7

Thread: display customers in date column

  1. #1
    Registered User
    Join Date
    03-02-2011
    Location
    midlands
    MS-Off Ver
    Excel 2003
    Posts
    14

    display customers in date column

    hi I am building A database for all the customers at work, we go out to each customer normally twice a year some times more, the next visit is created from last visit using formula. The months will change through out the year
    I need to display the next visit month in a month column for a vlookup function to work.

    this is what i I have:

    A | B
    Customer | Month
    1 | Jan
    2 | Jan
    3 | Feb
    4 | Mar
    5 | Feb


    I NEED THIS:

    A | B | C
    Jan | Feb | Mar
    1 | 3 | 4
    2 | 5 |
    Last edited by billy3030; 03-03-2011 at 02:03 AM.

  2. #2
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,161

    Re: display customers in date column

    If you are doing this in Access (you posted to the Access Forum, but mention a vlookup, which is an Excel function), then you will need to create a cross tab query.

    Here is a tutorial on how to create a cross tab query to achieve your expected results.

    http://www.datapigtechnologies.com/f.../crosstab.html

    Alan

  3. #3
    Registered User
    Join Date
    03-02-2011
    Location
    midlands
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: display customers in date column

    Sorry I've posted in wrong area it's all in excel

  4. #4
    Valued Forum Contributor MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    5,264

    Re: display customers in date column

    Hi Billy3030
    A quick Pivot Table will give your result. No formulas needed.
    See attached.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * below to say thanks.

  5. #5
    Registered User
    Join Date
    03-02-2011
    Location
    midlands
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: display customers in date column

    Thanks MarvinP

    that looks just what i need
    just need to get my head round pivot tables now lol

  6. #6
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,161

    Re: display customers in date column

    billy:
    Have a look at this web site for several tutorials on pivot tables. This should cover all your pivot table questions.

    http://www.datapigtechnologies.com/ExcelMain.htm

    Alan

  7. #7
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2003, Excel 2007 (Portable)
    Posts
    388

    Re: display customers in date column

    This is an excel thread posted in access forum
    Mahju

    Mark the thread as solved if you are satisfied with the answer

    Rule 9
    Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0