+ Reply to Thread
Results 1 to 5 of 5

Text & formula in 1 cell.

  1. #1
    Registered User
    Join Date
    08-05-2014
    Location
    Las Vegas, NV
    MS-Off Ver
    Windows 7
    Posts
    16

    Text & formula in 1 cell.

    Im trying to Combine text and date formula to add months or days to the date. I want it to say Next payment date: mm/dd/yy the formula adds days or months to last payment date based on their pay frequency.

    ="Payment Date" &DATE(YEAR(J54),MONTH(J54)+1,DAY(J54))
    when i enter this formula i get Payment Date41905

    So i tried ="Payment Date" &DATE(YEAR(J54),MONTH(J54)+1,DAY(J54), mm/dd/yyyy)
    But now it says there are too many arguements. Please HELP

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Text & formula in 1 cell.

    You need to use the TEXT function on the Date within the concatenated string.

    ="Payment Date" &TEXT(DATE(YEAR(J54),MONTH(J54)+1,DAY(J54)),"mm/dd/yyyy")

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Text & formula in 1 cell.

    You're probably looking for

    ="Payment Date "&Text(DATE(YEAR(J54),MONTH(J54)+1,DAY(J54)), "mm/dd/yyyy")
    or select a different format ie "mmm d, yyyy"
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    08-05-2014
    Location
    Las Vegas, NV
    MS-Off Ver
    Windows 7
    Posts
    16

    Re: Text & formula in 1 cell.

    Awesome that worked!!! thank you!

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Text & formula in 1 cell.

    You're welcome.

  6. #6
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Text & formula in 1 cell.

    ="Payment Date" &DATE(YEAR(J54),MONTH(J54)+1,DAY(J54))
    ="Payment Date "&DATE(YEAR(J54),MONTH(J54)+1,DAY(J54))
    Also, note! The space needs to be inside the quotes for it to show in text
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped 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. Formula to find and return text string within a cell full of text strings
    By LightingPop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2013, 11:45 PM
  2. Formula to identify part of a text in cell from range of cells & insert adjacent cell text
    By Novicebutnotforlong in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-19-2013, 02:11 AM
  3. Replies: 1
    Last Post: 01-24-2012, 11:15 AM
  4. Replies: 3
    Last Post: 12-05-2011, 09:07 AM
  5. Replies: 4
    Last Post: 04-11-2011, 08:41 PM

Tags for this Thread

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