+ Reply to Thread
Results 1 to 6 of 6

Help request to change serial number for new date

  1. #1
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Help request to change serial number for new date

    Hi friends,

    I have a serial number in column ‘A’
    I have a date in column ‘C’

    I have a macro ‘SerialNumber’ in which I want to add a code which will change the serial number after changing the date in column ‘C’. In short I want to start a serial number 1 for each new date. I have shown the required serial number in column ‘B’.

    Any help will be highly appreciated.

    Thanking you,
    Attached Files Attached Files
    Sincerely,

    mso3

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help request to change serial number for new date

    b6=countif($C$6:$C6;$C6) and drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help request to change serial number for new date

    Thank you.

    No, it's working as per requirement. It's giving error so I changed it as follows but it's counting the number of dates instead of serial number. There are 6 entries of 29/04/2016; output 6 which is worong.

    Please Login or Register  to view this content.
    I want a formula in column 'A'. I have shown the required output in column 'B'. There is a another data in column 'B' in my original workbook.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help request to change serial number for new date

    The formula in #2 will give the exact answers you showed in your file in column B.

    So what is the problem?

  5. #5
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help request to change serial number for new date

    Hi oeldere,

    Thank you. I changed a ';' to ',' and now it's working fine as per requirement.

    Thank you and have a nice time.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help request to change serial number for new date

    Thanks for the rep.

    You're welcome. We appreciate the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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. [SOLVED] Convert a Text String Date to Date Serial Number
    By herve73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-10-2015, 10:53 AM
  2. how to convert date serial number to regular date?
    By union in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-21-2013, 10:15 PM
  3. How to change Serial Number to Text
    By reneesunny in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 11-08-2013, 09:32 PM
  4. Converting a date serial number back to a date within a string
    By bharris77 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2012, 01:15 PM
  5. [SOLVED] Chart - Date, Value, Serial Number
    By BobInNoVa in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 06-12-2012, 09:35 AM
  6. Change date serial to actual date numbers
    By thompssc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2012, 12:47 PM
  7. Serial number of Date
    By Gazzr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-24-2006, 05:10 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