+ Reply to Thread
Results 1 to 13 of 13

Convert cell reference to text string

Hybrid View

packe Convert cell reference to... 02-06-2007, 08:17 AM
starguy I think date format is not... 02-06-2007, 08:41 AM
packe When selecting "Format Cells"... 02-06-2007, 08:44 AM
starguy I have't found this format in... 02-06-2007, 09:04 AM
packe Nevermind the format, it... 02-07-2007, 09:24 AM
  1. #1
    Registered User
    Join Date
    01-09-2007
    Posts
    17

    Question Convert cell reference to text string

    Hi,

    I have one cell that the contents is a date that you shall be to change. This date is put in the format of 2007-02-06 (cell N8).

    In order to get the advanced filter to work, I need the cell that shall be used as criteria to contain a text string like the following:
    =">=2006-06-01"
    and to get this, I have found that I can use the formula
    ="="">="&N8&""""
    But then the advanced filter will not work. Do I need to somehow convert this formula to a static text string to use when filtering? If yes, how do I do that?

    Hmm, I hope everyone understands my description :D

  2. #2
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by packe
    Hi,

    I have one cell that the contents is a date that you shall be to change. This date is put in the format of 2007-02-06 (cell N8).

    In order to get the advanced filter to work, I need the cell that shall be used as criteria to contain a text string like the following:


    and to get this, I have found that I can use the formula
    ="="">="&N8&""""
    But then the advanced filter will not work. Do I need to somehow convert this formula to a static text string to use when filtering? If yes, how do I do that?

    Hmm, I hope everyone understands my description :D
    I think date format is not that Excel can recongnise it

  3. #3
    Registered User
    Join Date
    01-09-2007
    Posts
    17
    When selecting "Format Cells" and "Date", that format is there for me to choose.

  4. #4
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by packe
    When selecting "Format Cells" and "Date", that format is there for me to choose.
    I have't found this format in Date category (yyyy-mm-dd)

  5. #5
    Registered User
    Join Date
    01-09-2007
    Posts
    17
    Nevermind the format, it works for me and I can choose it. But that ain't the problem.

    What can be done to solve the problem?

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,677
    hello packe

    You shouldn’t need to convert anything to text. You can use a formula for this in the criteria range.

    Criteria label should be blank.

    Put this formula in the criteria range

    =A5>=$N$8

    where A5 is the first record in your advanced filter list range and N8 contains a date. Note: the cell containing the formula will return TRUE or FALSE but that won’t affect how the filtering works

+ 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