+ Reply to Thread
Results 1 to 6 of 6

Return specific dates of the month in one field

  1. #1
    Registered User
    Join Date
    10-14-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac 2011
    Posts
    3

    Return specific dates of the month in one field

    I need to have one field show all the dates that each customer was seen. For example, October 1,4,6,7,8.

    I tried the concatenate function, but it seemed I needed the IF/then statement and there is a limit of 7.

    Here is a screen shot:
    Screen Shot 2013-10-14 at 5.05.25 PM.png

    where J1 = the 1st of the month, K1 = the 2nd of the month, etc.

    So Debbie Doe was seen on October 6,9

    The month is in Field $E$105.

    Thanks in advance for your help.
    -D

  2. #2
    Forum Contributor
    Join Date
    03-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    154

    Re: Return specific dates of the month in one field

    Try this:

    in standard module

    Please Login or Register  to view this content.

    All you need to do is click on a row where a person's name exists, you will get the result in a message box of when they were visited...

    Otherwise, you can open the file I attached ...choose a cell in the row where a person's name exists, and click the button, messagebox will appear...
    Attached Files Attached Files

  3. #3
    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,926

    Re: Return specific dates of the month in one field

    Hi and welcome to the forum

    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you Also, not all members can upload picture files (Company firewalls and stuff)
    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

  4. #4
    Forum Contributor
    Join Date
    03-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    154

    Re: Return specific dates of the month in one field

    Here is another solution, this one updates all the records in the range "E8:E100" in column "AO" when the button is pressed:

    Month in cell E105 and all the dates visited separated by a ","

    Here is the code:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-14-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac 2011
    Posts
    3

    Re: Return specific dates of the month in one field

    Thanks for your reply. I'm trying to see which solution will be best for me.

  6. #6
    Registered User
    Join Date
    10-14-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac 2011
    Posts
    3

    Re: Return specific dates of the month in one field

    Thanks for your reply. I'm trying to see which solution will work best for me.

+ 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: 2
    Last Post: 12-01-2012, 03:06 PM
  2. Restricting Specific Dates in any Given month
    By paxile2k in forum Excel General
    Replies: 11
    Last Post: 07-23-2009, 08:40 PM
  3. [SOLVED] Return the dates of all the mondays and fridays in a month
    By all4excel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-28-2007, 07:20 AM
  4. [SOLVED] In Excel How do I return the Month for a specific date
    By Ashok Natarajan in forum Excel General
    Replies: 1
    Last Post: 01-23-2006, 05:05 AM
  5. Replies: 2
    Last Post: 05-20-2005, 08:06 AM

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