+ Reply to Thread
Results 1 to 5 of 5

Marking a column based on date in another column

  1. #1
    Registered User
    Join Date
    03-16-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    5

    Marking a column based on date in another column

    I have a worksheet that keeps track of members for an organization. One column, let's call it B, notes the month when the members are due to renew their membership. Our organization requires that members be notified of pending renewals one month before, the month of, and one month after they're due to expire. Rather than having to re-sort the database every time I want to pull up this information, I'd like to create a second column, column C, that puts a character next to the names of members who are about to come do. Ideally this character would change depending on what stage they are in the renewal process (a month before, month of, month after). Super ideally, if this is even possible in Excel, members who haven't renewed by the last month will automatically be moved to worksheet two, which contains recently lapsed members.

    What sort of code would I need to do this? I've tried googling for it, but I can't find quite what I'm looking for, and I have no script savvy whatsoever. Thanks in advance!
    Last edited by Captain Carrot; 03-16-2009 at 02:10 PM.

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

    Re: Marking a column based on date in another column

    Can you post a sample workbook that has dummy data but is organized exactly as your current workbook is?
    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
    Registered User
    Join Date
    03-16-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Marking a column based on date in another column

    Sure thing. Here's a quick sample of the columns I'm concerned with.
    Attached Files Attached Files

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

    Re: Marking a column based on date in another column

    See attached for both problems.

    Formula in I3 of the current sheet tells you if the date is in the previous month, this month or next month...

    Formula in A3 of lapsed sheet, extracts only the names that have a "Month After" renewal date.

    The formula assumes a database of only 100 rows, you can change the ranges in the formula, then you must confirm the formula with CTRL+SHIFT+ENTER keys to get the { } brackets to appear, then copy it down as far as you want and across as many columns as necessary.

    Note: There is a formula in I1 of the lapsed sheet that counts how many "Month Before" there are. If you change that title, then you must change that title in that cell formula too and in the formula in A3, copied down and across.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-16-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Marking a column based on date in another column

    Excellent! That's exactly what I was after. Thanks a lot.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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