+ Reply to Thread
Results 1 to 2 of 2

Want to calculate using only a certain section of a cell

  1. #1
    Registered User
    Join Date
    12-15-2011
    Location
    Kansas
    MS-Off Ver
    Excel
    Posts
    1

    Want to calculate using only a certain section of a cell

    Hello,

    I process excel spreadsheets at work that contains a column of numbers which are made up by different parts. Here is an example:

    1136556709

    "11" represents the year 2011

    "365" represents the day of the year. 001 being Jan 01 and 365 being Dec 31.

    "56709" represent the number of transactions made on that day.

    Is there a formula that will only take the "365" part of the cell and ignore the rest of the numbers?

    I'm trying to translate that number into the actual date it represents. I already figured out a formula that takes the 365 number and calculate it into Dec 31 but those other pesky numbers are getting in the way.
    Last edited by demasigirl; 12-15-2011 at 06:59 PM. Reason: Problem solved

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Want to calculate using only a certain section of a cell

    Assume the date always be in 000 format. Say below 100 will be like for Jan 1 - 11001, For Apr 9 - 11099 etc..

    So try this.

    =DATE("20"&LEFT(A1,2),1,MID(A1,3,3))
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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