LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default search for dates set by a formula


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;I F(WEEKDAY(DATE(jaar;1;1);*1)=1;DATE(jaar;1;1)+1;(D ATE(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;B 4+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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search between dates & return other column sonic-the-mouse[_2_] Excel Worksheet Functions 8 June 10th 09 01:06 PM
Search dates WELSH_EXCEL Excel Worksheet Functions 2 June 3rd 09 02:21 PM
search through dates smudgedwhiteink Excel Worksheet Functions 1 May 28th 09 10:01 AM
Search between two dates David494 Excel Discussion (Misc queries) 1 June 21st 05 01:46 PM
Search dates differences mac_see[_3_] Excel Programming 6 April 7th 05 06:59 PM


All times are GMT +1. The time now is 04:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"