+ Reply to Thread
Results 1 to 5 of 5

Formula for adding Text and Month in one cell

  1. #1
    Registered User
    Join Date
    08-06-2015
    Location
    U.S.
    MS-Off Ver
    2007
    Posts
    2

    Formula for adding Text and Month in one cell

    I have about 6 different columns with info. One column is account numbers, the other is Description, date, amount, year, term.
    I want my Description column to print out "PV Online Housing Payment - "month"
    Column D has the account numbers (they area about 6 account numbers)
    Column F has the dates

    I want Column E to read column D an F and be able to determine what to print out.

    this is the formula that I was trying to use buy can't make it work, it has been giving me FALSE instead.

    =IF(D5="11000013620000","PV Online Housing Payment "&CHOOSE(MONTH(F5),"- Jan","- Feb","- Mar","- Apr","- May","- Jun","- Jul","- Aug"))

    At the same time to able to determine what account number it is and what month to choose and print out "PC Online Housing Payment - (month, what ever month it was done)

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: Formula for adding Text and Month in one cell

    are you only referring to just one account number?

    it would be easier to understand and help you if you could post a sample file.
    If I've helped U pls click on d *Add Reputation

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

    Re: Formula for adding Text and Month in one cell

    If it's returning FALSE
    That means D5 does NOT = "11000013620000"

    Try removing those Quote marks around the account number.


    also, here's a much simpler way to get the month name
    =TEXT(F5,"mmm")

    So you could try
    =IF(D5=11000013620000,"PV Online Housing Payment - "&TEXT(F5,"mmm"))

  4. #4
    Registered User
    Join Date
    08-06-2015
    Location
    U.S.
    MS-Off Ver
    2007
    Posts
    2

    Re: Formula for adding Text and Month in one cell

    That worked thanks

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

    Re: Formula for adding Text and Month in one cell

    You're welcome.

+ 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. linking current month cell to formula adding single months
    By Cjpepperman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2014, 03:34 PM
  2. [SOLVED] Formula for adding Numbers with Text also in the cell?
    By TwistedFaith in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-08-2014, 09:04 AM
  3. [SOLVED] Get the month as text in cell from formula
    By graiggoriz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-15-2013, 09:07 AM
  4. Replies: 5
    Last Post: 10-04-2012, 07:06 AM
  5. adding text after ever 30 chars in cell via formula
    By robotrip in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-10-2010, 08:30 AM
  6. Adding text in a cell containing a formula?
    By mpnuttall in forum Excel General
    Replies: 2
    Last Post: 06-15-2007, 04:14 AM
  7. Adding a formula to a cell that already has text
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2005, 01:05 PM

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