+ Reply to Thread
Results 1 to 3 of 3

Using a Date format in a cell instead of a Text format to support a formula.

  1. #1
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Using a Date format in a cell instead of a Text format to support a formula.

    I am using the following formula where Cell A6 contains a date in TEXT format (i.e. 10-01-10)

    =IFERROR(SUM(INDIRECT("'"&A6&"'!C3:E3")),"")

    I want to have this same formula work with a cell that contains a date in a DATE format.

    I had to put A6 as text as I couldn't get it to work as a date format.

    Attached is a sample.

    Columns ABC are a working copy in TEXT format. Columns EFG is an example of what I want to work with.

    Thanks for any help.

    Nick
    Attached Files Attached Files
    Last edited by avidcat; 10-02-2010 at 05:17 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Using a Date format in a cell instead of a Text format to support a formula.

    You can use the TEXT function to convert the date value to date string:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Re: Using a Date format in a cell instead of a Text format to support a formula.

    Perfect Thanks!

    Nick

+ 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