+ Reply to Thread
Results 1 to 5 of 5

Part name part formula?

  1. #1
    Forum Contributor
    Join Date
    10-16-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    257

    Part name part formula?

    I have a thread which is ongoing about opening a file then a sheet with a part name.
    Is there a way of making a formula like this?

    I want a sheet opened which is called "3 Days 25.1.13" BUT the date will change weekly and the 3 days will always stay the same.
    So in the macro I have "3 days & A1 value" (25.1.13)
    But it's not working.

    The formula in A1 is this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    So the text now appears 25.1.13 HOW; if possible can i get the "3 days" incorporated before this formula starts? I tried using
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and other combination types, but it wont recognise this?

    I dont mind using 2,3 or more cells to get the final combination somehow, so then in my macro I can then say A1 value which i'm hoping to be read as
    "3 days 25.1.13"

    Thanks

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Part name part formula?

    Maybe one of these...

    ="3 days "&TEXT(TODAY()-WEEKDAY(TODAY())+6,"d.m.yy")

    ="3 days "&TEXT(TODAY()-WEEKDAY(TODAY())+6,"dd.m.yy")

    The first one will return this:

    3 days 1.2.13

    And the second one will return this:

    3 days 01.2.13
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    Newark, DE
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Part name part formula?

    Maybe try something like this.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    http://www.mrspreadsheets.com

  4. #4
    Forum Contributor
    Join Date
    10-16-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    257

    Re: Part name part formula?

    Any of these are great!
    I can just change the format of how the tabs are written to suit the date!
    Thanks guys.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Part name part formula?

    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)

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