+ Reply to Thread
Results 1 to 10 of 10

Collection date numbers

Hybrid View

  1. #1
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Collection date numbers

    How are collected date of numbers as shown in View
    I am using Office 2003
    Thanks very much
    Attached Files Attached Files

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

    Re: Collection date numbers

    see the attached file.

    please reply
    Attached Files Attached Files
    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 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
    30,775

    Re: Collection date numbers

    In your first 2 examples you have treated day as one number (18,15) where as in the remaining examples you have 15 as separate numbers i.e 1+5>

    Which is correct?

  4. #4
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Re: Collection date numbers

    Thank you very much, Mr. "oeldere"
    This is what required
    You are genius
    Solving wonderful
    God bless you

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

    Re: Collection date numbers

    if the question is solved, will you mark it solved.

    You can add rep(utationpoints) to the forummembers, who helped you by clicking on the star on the left side.

  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
    30,775

    Re: Collection date numbers

    See my previous comment: logic is inconsistent.

  7. #7
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Re: Collection date numbers

    Thank you very much, Mr. "johntopley"
    On this note

  8. #8
    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
    30,775

    Re: Collection date numbers

    ... So solution provided should be

    F2 =TEXT(A2,"yyyymmdd")

    G2 =MID(F2,1,1)+MID(F2,2,1)+MID(F2,3,1)+MID(F2,4,1)+MID(F2,5,1)+MID(F2,6,1)+MID(F2,7,1)+MID(F2,8,1)

  9. #9
    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
    30,775

    Re: Collection date numbers

    Better solution

    =SUM(VALUE(MID(F2,ROW($A$1:OFFSET($A$1,LEN(F2)-1,0)),1)))

    Enter with Ctrl+Shift+Enter

  10. #10
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Re: Collection date numbers

    Thank you very much, Mr. "johntopley"
    This formula is simple and wonderful
    God bless you

+ 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. Collection of cells containing the texts & Numbers
    By shimaa01234 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2014, 12:36 PM
  2. [SOLVED] Performance of iteration through Words collection degrades as collection gets bigger
    By 6StringJazzer in forum Word Programming / VBA / Macros
    Replies: 7
    Last Post: 01-14-2014, 09:44 AM
  3. Replies: 2
    Last Post: 12-23-2011, 11:04 AM
  4. Possible to change the index numbers within a collection?
    By jerseyguy1996 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-02-2010, 09:53 AM
  5. Date Differance collection
    By plopleuk in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-04-2009, 01:39 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