+ Reply to Thread
Results 1 to 3 of 3

Using a formula to fill in a sentence

  1. #1
    Forum Contributor
    Join Date
    06-03-2009
    Location
    Phoenix, Az
    MS-Off Ver
    MS Office 365
    Posts
    144

    Using a formula to fill in a sentence

    Hello.
    I am attempting to develop a formula so that when I change the month in two other columns, it automatically changes it in a 3rd column.

    The heading of the main column says "Average error rate for Feb to July".
    Currently, at the start of every month, I need to manually go in and change that heading to the 6 month window corresponding to the month I am testing. (I am testing July Production, so the window is now Feb to July)
    I am looking to see if there is a way that when I type the first month I need, then the last month I need, it will automatically change the months involved in the sentence "Average error rate for Feb to July" to whatever months I need.

    Thanks.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Using a formula to fill in a sentence

    Where A1 = month1, B1 = month 2

    ="Average error rate for "&A1&" to "&B1

  3. #3
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Using a formula to fill in a sentence

    Assuming A1 has your first month and A2 your second month:
    ="Average error rate for "&A1&" to "&A2
    This is assuming A1 and A2 are text, e.g. "July". If they are actual dates then you will need to use TEXT(A1,"mmm") in place of A1 and a similar change for A2.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

+ 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] Need advice, formula problem - separate the last word in sentence ?
    By zeko90 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-13-2012, 07:25 AM
  2. Replies: 2
    Last Post: 03-22-2012, 01:35 PM
  3. Sentence case FORMULA??
    By simjambra in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2009, 08:30 AM
  4. Translate formula into a sentence
    By BTMLOCICERO in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2008, 10:43 PM
  5. [SOLVED] Any formula to shorten sentence to a specific length
    By supercloudbug in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-14-2005, 10:06 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