+ Reply to Thread
Results 1 to 5 of 5

Thread: Returning a month on a spreadsheet

  1. #1
    Registered User
    Join Date
    03-03-2011
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    30

    Returning a month on a spreadsheet

    Hello All

    im struggling to solve this and would appreciate any help you can give me

    Please refer to the attached spreadsheet

    Basically what I am trying to do is if Someone puts the long month in Cell A1 ie January as apposed to Jan in A19 I want to return YTD Jan and not YTD January

    I have tried to do this as a lookup in column C to get the short month but have a number of errors

    1 if I put short date in a1 column c comes back #NA
    2 in A19 how can I make this say YTD Jan - if someone puts in Jan or January in A1

    I need A19 to say shortend month as the data base im reading from does not like long month and im trying to automate a report for non use excel readers so they in case they input long one it automatcally returns short date for me

    thanks
    bumbty blue
    Attached Files Attached Files
    Last edited by bumpty; 06-24-2011 at 11:28 AM.

  2. #2
    Forum Contributor
    Join Date
    05-27-2008
    Location
    Newcastle Upon Tyne UK
    MS-Off Ver
    XP Excel 2003
    Posts
    105

    Re: Returning a month on a spreadsheet

    You were nearly there

    =CONCATENATE("YTD"," "&A1)

    edvwvw

  3. #3
    Registered User
    Join Date
    03-03-2011
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Returning a month on a spreadsheet

    thank you edwww
    this solves one of the problems but what about if they put January in A1 I still need A19 to say YTD JAN and not YTD January

    do you know how I can get this to happen ?

  4. #4
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    567

    Re: Returning a month on a spreadsheet

    =CONCATENATE("YTD"," "&left(A1,3))

    ?

  5. #5
    Registered User
    Join Date
    03-03-2011
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    30

    SOLVED Returning a month on a spreadsheet

    thank that works

+ 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.2.0