+ Reply to Thread
Results 1 to 2 of 2

Repeated Numbering

  1. #1
    Registered User
    Join Date
    04-29-2015
    Location
    Edinburgh, UK
    MS-Off Ver
    Microsoft Office 2013
    Posts
    19

    Repeated Numbering

    Hi there,

    I have a dataset with data logs every 30 minutes for 10 years. The columns that I have are 'Year', 'Month', ' Day', 'Hour', 'Minute'. However, I would like them to be classified into a 'Day of Year' column that I will be creating on my own.

    Under this new column, I have been able to drag down 48 rows (48 x 30 mins = 24hrs) to select an entire day and, for example, indicate day 1. And then subsequently do the same for the rest of the days, but this is extremely tedious.

    I am sure there must be a faster, more efficient way to do this?

    I have attached a screenshot of my spreadsheet to make things clearer!

    I would appreciate any help at all! Thank you! =)
    Attached Images Attached Images

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Repeated Numbering

    Maybe using formula like this

    =DATEDIF(DATE(A1,1,1),DATE(A1,B1,C1),"d")+1

    or this

    =DAYS360(DATE(A1,1,1),DATE(A1,B1,C1))

    Row\Col
    A
    B
    C
    D
    E
    1
    2003
    3
    8
    67
    2
    2003
    3
    8
    67
    3
    2003
    3
    8
    67
    4
    2003
    3
    8
    67
    5
    2003
    3
    8
    67
    6
    2003
    3
    8
    67
    7
    2003
    3
    8
    67
    8
    2003
    3
    9
    68
    9
    2003
    3
    9
    68
    10
    2003
    3
    9
    68
    11
    2003
    3
    9
    68
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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: 2
    Last Post: 06-27-2014, 06:40 AM
  2. Replies: 14
    Last Post: 05-10-2013, 03:27 PM
  3. [SOLVED] Append data to repeated values with a fixed array to be repeated on value change
    By anchuri_chaitanya in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-06-2011, 12:30 AM
  4. Repeated numbering within a column
    By cmaskew in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-11-2010, 09:51 AM
  5. [SOLVED] Printing text in a repeated cell/row that is longer than repeated
    By Valerie Dyet in forum Excel General
    Replies: 1
    Last Post: 02-12-2006, 11:30 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