+ Reply to Thread
Results 1 to 9 of 9

Place Items with a specific Date in Monthly Calendar

  1. #1
    Forum Contributor
    Join Date
    12-22-2006
    Posts
    114

    Smile Place Items with a specific Date in Monthly Calendar

    Hi,

    I have a whole list of information i.e. First Name (column A), Last Name (column B), anniversary (column C). Then on another sheet I have a list of all the months of the year in row 1.

    I am trying to create a lookup that will place the persons surname under the corresponding month.

    Thanks in advance.

    Alex

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Place Items with a specific Date in Monthly Calendar

    It would be easier if you could post a workbook showing your setup
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Place Items with a specific Date in Monthly Calendar


    See the attached workbook

    With
    On Sheet1...
    Col_A contains First Names (beginning in Row_2)
    Col_B contains Last Names (beginning in Row_2)
    Col_C contains Anniversary Dates (beginning in Row_2)

    and
    On Sheet2...
    A1:L1 contains Jan, Feb,...Dec

    This will list names with anniv dates in the same month s Row_1.
    (ARRAY FORMULA...committed with CTRL+SHIFT+ENTER, instead of just ENTER)

    Please Login or Register  to view this content.
    Copy A2 into A3 and down as far as you need.
    Copy that series of formulas and paste them under each month name.

    Is that something you can work with?
    Attached Files Attached Files
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Place Items with a specific Date in Monthly Calendar

    non array with helper colums attached
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Contributor
    Join Date
    12-22-2006
    Posts
    114

    Re: Place Items with a specific Date in Monthly Calendar

    Thank you all, that last one worked perfectly! And I am sure I will be able to use that first one in the future.

    Thanks again,

    Alex



    P.S. Happy Christmas

  6. #6
    Forum Contributor
    Join Date
    12-22-2006
    Posts
    114

    Re: Place Items with a specific Date in Monthly Calendar

    One other thing on the same subject, is it possible to have the surname as a list on the left hand side and then their first name returning a value in the calendar. From the attached document, I mean instead of returning sheet 2, returning sheet 3 instead? I have just moved cells around on sheet 3 for the purpose of this illustration.

    Thanks in advance,

    Alex
    Attached Files Attached Files

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Place Items with a specific Date in Monthly Calendar

    im not sure exactly , i confused myself ! is it only one person or several? put another example with some different names so i can uncloud my mind!

  8. #8
    Forum Contributor
    Join Date
    12-22-2006
    Posts
    114

    Re: Place Items with a specific Date in Monthly Calendar

    Hi Sorry about that, I have removed what you did previously and have shown how I am trying to make the two sheets work together. These sheets dont have formulas in them but that is what I am trying to create to automate.

    Any suggestions?

    Thanks for all your time on this!

    Kind regards,

    Alex
    Attached Files Attached Files

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Place Items with a specific Date in Monthly Calendar

    In Sheet2!B2:

    =SUMPRODUCT(--(Sheet1!$B$1:$B$4=$A2),--(TEXT(Sheet1!$D$1:$D$4,"mmm-yy")=TEXT(B$1,"mmm-yy")),Sheet1!$C$1:$C$4)

    adjust ranges to suit.

    copied across the table...

    To hide the Zeroes.. go to Tool|Options and in View tab, uncheck Zero Values

+ 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.6.0 RC 1