+ Reply to Thread
Results 1 to 6 of 6

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

Hybrid View

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

    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
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,211

    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
    8

    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
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    514

    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
    8

    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
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,211

    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)

Similar Threads

  1. Replies: 1
    Last Post: 01-15-2016, 07:05 PM
  2. Replies: 0
    Last Post: 02-26-2013, 05:08 AM
  3. Text to column: Fixed width
    By Shelter417 in forum Excel General
    Replies: 5
    Last Post: 10-22-2012, 05:57 AM
  4. Replies: 3
    Last Post: 07-11-2009, 12:39 AM
  5. Replies: 13
    Last Post: 08-17-2008, 03:20 PM
  6. Need text in column fixed
    By solo_clipper in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-11-2006, 05:17 PM
  7. fixed column width with text string
    By Sarah in forum Excel General
    Replies: 1
    Last Post: 02-08-2005, 06:06 PM

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