+ Reply to Thread
Results 1 to 3 of 3

Serial Number generator by Day, two week cycle, pattern driven?

  1. #1
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Serial Number generator by Day, two week cycle, pattern driven?

    Well that's a fun thread title. I have a feeling this is fairly simple to do, I just can't think of the solution

    The below explanation is in the sample file, it will make sense I promise!

    -

    Entering a date into cell E4 will VLOOKUP that date in A:C, and return the Day # and Week #.

    Leaving E4 blank, will VLOOKUP the same information for =TODAY()'s date.

    Any date needs to be able to be entered into E4, and an accurate Serial number based on the pattern in A:C must be returned.

    What I would like to do is have the above table (E3:H4) function as it currently does, but without the need for the table in A:C. The table is updated manually every couple of months, and with manual entry comes error.

    The pattern is fixed, Week and Day is separated on purpose and needs to remain as such.

    Thanks!


    twoweekswitch.xlsx
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Serial Number generator by Day, two week cycle, pattern driven?

    In F4:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    In G4:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    You don't need those cells though - you can determine the serial directly, in H4, by combining those two:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Serial Number generator by Day, two week cycle, pattern driven?

    Perfect! thanks.

    I could combine them but I need them separate, about 40,000 formulas across 3 tabs and a couple macros reference these cells and I don't feel like remembering which ones to change

+ 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. Serial number generator for document (application form)
    By jaysakle in forum Excel General
    Replies: 2
    Last Post: 03-04-2014, 03:51 AM
  2. Macro to increase serial number by one after each print cycle
    By CRS1972 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-20-2013, 06:17 AM
  3. VBA to Get Auto Serial Number As Per Defined Pattern
    By Rajeshkumar R in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-24-2012, 08:46 AM
  4. Use VBA to calculate week cycle based on date
    By batteredveg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2012, 11:06 AM
  5. Finding a serial number in a list of serial numbers
    By zocoloco in forum Excel General
    Replies: 2
    Last Post: 02-04-2009, 05:20 AM

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