+ Reply to Thread
Results 1 to 2 of 2

search for dates set by a formula

  1. #1
    Registered User
    Join Date
    05-16-2006
    Posts
    1

    search for dates set by a formula

    Hi all,

    I have a formula that filters out the weekend dates. The formula is:
    Please Login or Register  to view this content.
    the named value "jaar" is a defined named value pointing to a different
    cell that contains the value "2006"


    The next cells contains the following codes:
    Please Login or Register  to view this content.

    a third cell contains the code:
    Please Login or Register  to view this content.
    now I want to search for the row that contains the same date as in the
    third cell. (I know this is row 4 here, but I have a lot of dates that
    has to be searched for).
    Whatever I have tried, it won't return the number of the row, as it
    cannot find the date.


    Any ideas?

  2. #2
    Tom Ogilvy
    Guest

    RE: search for dates set by a formula

    Look at Excel help on the Match worksheet function.

    --
    Regards,
    Tom Ogilvy


    "arjen" wrote:

    >
    > Hi all,
    >
    > I have a formula that filters out the weekend dates. The formula is:
    >
    > Code:
    > --------------------
    >
    > =IF(WEEKDAY(DATE(jaar;1;1);1)=7;DATE(jaar;1;1)+2;IF(WEEKDAY(DATE(jaar;1;1);*1)=1;DATE(jaar;1;1)+1;(DATE(jaar;1;1))))
    >
    > --------------------
    >
    > the named value "jaar" is a defined named value pointing to a different
    >
    > cell that contains the value "2006"
    >
    >
    > The next cells contains the following codes:
    >
    > Code:
    > --------------------
    >
    > =IF((WEEKDAY(B4)+1)=7;B4+3;(IF((WEEKDAY(B4)+1)=1;B4+2;B4+1)))
    >
    > --------------------
    >
    >
    >
    > a third cell contains the code:
    >
    > Code:
    > --------------------
    >
    > =b4
    >
    > --------------------
    >
    > now I want to search for the row that contains the same date as in the
    >
    > third cell. (I know this is row 4 here, but I have a lot of dates that
    >
    > has to be searched for).
    > Whatever I have tried, it won't return the number of the row, as it
    > cannot find the date.
    >
    >
    > Any ideas?
    >
    >
    > --
    > arjen
    > ------------------------------------------------------------------------
    > arjen's Profile: http://www.excelforum.com/member.php...o&userid=34484
    > View this thread: http://www.excelforum.com/showthread...hreadid=542447
    >
    >


+ 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