+ Reply to Thread
Results 1 to 2 of 2

Only return certain numbers from a cell

  1. #1
    Registered User
    Join Date
    02-08-2013
    Location
    Malmö, Sweden
    MS-Off Ver
    Excel 2013
    Posts
    26

    Only return certain numbers from a cell

    Let's say that A1: "01.01.2013 01:00:00 +01:00"

    In B2 I only want "01", and in C2 I only want "2013". Could someone please explain how?


    Btw: Does anyone know about a nice graph/chart program for Windows (except Excel)?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Only return certain numbers from a cell

    You coud use:
    =MID(A1,4,2) for 01, and
    =MID(A1,7,4) for 2013

    assuming htta the number format remains the same. If you want to use the results as numbers (they are returned as text), then put -- before the MID in both cases.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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] from matching numbers in one column return value of second cells in another cell
    By Rob69mfj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-20-2014, 08:23 AM
  2. Adding up a row of numbers until they are > than a cell and then return adjacent date
    By thunderbirdlindy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2014, 06:09 PM
  3. [SOLVED] Count amount of desired numbers in a single cell and return that value in another cell
    By jmallory76 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2013, 10:09 AM
  4. Replies: 3
    Last Post: 03-11-2012, 05:23 PM
  5. return largest number of a list of numbers in the same cell
    By Hells in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-05-2005, 09:05 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