+ Reply to Thread
Results 1 to 6 of 6

Generate a fixed text value every nth day in the correct date column

  1. #1
    Registered User
    Join Date
    11-14-2017
    Location
    Houston, Texas
    MS-Off Ver
    Office 2016
    Posts
    3

    Generate a fixed text value every nth day in the correct date column

    Hi,

    I am a beginner/moderate user of Excel and I'm having difficulty solving this issue. Can someone help identify if there is a formula I can use to do this?

    I have a list of ID numbers in column A. I have a list of consecutive dates in row 1. I need to populate the ID number periodically in the correct date column based on a frequency, leaving all non-applicable dates blank.

    For example:
    ID # A123 should populate every 7 days, weekly. The first date is 11/10/17. Therefore, I want it to populate ONLY in every seventh date - 11/17, 11/24, 12/1, and so on, with the rest of the columns blank for that row. Is there a formula that can do this?

    excel help example.PNG

    I filled in the first example manually, but there has to be a way to get this populate automatically. I also have no clue how to get a "twice a week" frequency to generate, especially if the dates are different. One could be Monday/Thursday, another could be Tuesday/Friday. After the formulas are set up and plugged in, I want to be able to scroll down through the list to see which ID#s fall on a particular day, say 11/17. Is this even possible? Is there another way to do this that would be easier or more straightforward?

    I appreciate the help.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    13,761

    Re: Generate a fixed text value every nth day in the correct date column

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    I am sure this can be done: please ensure your data is really representative of your requirement

  3. #3
    Registered User
    Join Date
    11-14-2017
    Location
    Houston, Texas
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Generate a fixed text value every nth day in the correct date column

    I have attached a sample worksheet with the first few filled in.
    Attached Files Attached Files

  4. #4
    Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    242

    Re: Generate a fixed text value every nth day in the correct date column

    Try

    =IF(ISNUMBER($C2),IF(MOD(E$1-$D2,$C2),"",$A2),IF(ISNUMBER(SEARCH("*"&TEXT(E$1,"ddd")&"*",$C2)),$A2,""))

  5. #5
    Registered User
    Join Date
    11-14-2017
    Location
    Houston, Texas
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Generate a fixed text value every nth day in the correct date column

    Wow - that is incredible, it works perfectly!! Thank you so much! I'm going to apply this to my spreadsheet and spend some time mentally unraveling the formula to try and learn how to do it myself. Thanks again!

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    13,761

    Re: Generate a fixed text value every nth day in the correct date column

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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