+ Reply to Thread
Results 1 to 7 of 7

Shift Sequence

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Shift Sequence

    Good evening, from the attached file you see the initial part of the result that I would like to have inserted by hand some letters R in yellow.

    In line 43 I put a formula but, it doesn't give me the desired result.
    It brings me back 2 R then in the rows under 5-3-1 white cells
    and then it starts again and I don't like it.

    thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Shift Sequence

    Please try at B3

    =REPT("R",MOD(COLUMNS($B3:B3)+ROWS(B$3:B3)-2,8)<3)
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Shift Sequence

    Hi
    thanks for the reply Bo
    I apologize, perhaps to be brief, in the request above, I had not said that the shift had to be updated to the choice of month a1 and year in cell A2
    Attached Files Attached Files

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Shift Sequence

    =INDEX(Foglio1!$D$7:$K$7,1+MOD(B$1-DATE($A$2,1,)+MOD((ROWS($1:1)-1),39),8))
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Shift Sequence

    ok correct
    Thanks

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Shift Sequence

    Just change to B3

    =REPT("R",MOD(B$1+ROWS(B$3:B3)-2,8)<3)

  7. #7
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Shift Sequence

    Hi Bo

    Also this is perfect
    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: 4
    Last Post: 04-27-2021, 11:49 AM
  2. Replies: 3
    Last Post: 09-09-2019, 10:25 AM
  3. Find a short-sequence in a longer sequence (Clash Royale Chests Challenge)
    By GeneralDisarray in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-08-2016, 12:20 PM
  4. Replies: 7
    Last Post: 06-08-2015, 08:39 AM
  5. macro to shift columns in sequence
    By pockethands in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2014, 06:11 PM
  6. Caculating # of Day Shift Hrs & Night Shift Hrs of a Given Shift
    By DaKhoda in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-29-2014, 08:36 PM
  7. Replies: 0
    Last Post: 12-12-2012, 06:39 PM

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