+ Reply to Thread
Results 1 to 6 of 6

Formula Needed to Copy Cell with Date and Text of another Cell

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    areadua TRON
    MS-Off Ver
    Excel 2007
    Posts
    14

    Formula Needed to Copy Cell with Date and Text of another Cell

    Cell & " " & Nextcell
    doesn't work when trying to copy the date along with text of another cell. It turns the date into some weird number. Anyway I can get around this so I can see the date from one cell and the text of another a space after that?

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Formula Needed to Copy Cell with Date and Text of another Cell

    Handle the date like this:
    Please Login or Register  to view this content.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    06-22-2012
    Location
    areadua TRON
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Formula Needed to Copy Cell with Date and Text of another Cell

    I played around with your format, but couldn't get anything other than "Microsoft Office Excel cannot use the number format you typed." And what do I replace 'yourvariable' with? I tried using the cell I am getting the date from, then removing it all together. What should I do?

  4. #4
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Formula Needed to Copy Cell with Date and Text of another Cell

    Please post a sample of your workbook including the code you are working with and I'll take a swing at it.

  5. #5
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Formula Needed to Copy Cell with Date and Text of another Cell

    let us say you have date in cell A1 and some text in cell B1, put this in cell C1:

    =TEXT(A1,"dd-mmm-yy")&" "&B1
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  6. #6
    Registered User
    Join Date
    06-22-2012
    Location
    areadua TRON
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Formula Needed to Copy Cell with Date and Text of another Cell

    Perfect Icestation. 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.6.0 RC 1