LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Max
 
Posts: n/a
Default

Sorry, the formula was insufficiently tested it seems ..

Perhaps better to amend the array formula in Sheet2's C3 to:

=IF(OR(A3="",B3=""),"",INDEX(Sheet1!$D$3:$D$100,MA TCH(1,(YEAR(Sheet1!$A$3:$A
$100)=YEAR(A3))*(Sheet1!$A$3:$A$100<A3)*(Sheet1!$B $3:$B$100=A3)*(Sheet1!$C$
3:$C$100=B3),0)))

Added one more criteria to help ensure unique matching
to suit the source data format:
(YEAR(Sheet1!$A$3:$A$100)=YEAR(A3))

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
<dom wrote in message ...
Thank you for your help, it seem function one of part. I also prefer when

I
change sheet2 "A2" value to 3.2.2001, the sheet2 "C3" value will be

changed
to "$300"

thanks
dom





 
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Inserting the date that an excel sheet is saved into a cell sharock Excel Discussion (Misc queries) 2 January 6th 05 07:07 PM
Lookup Access data in Excel Chris Kellock Excel Worksheet Functions 1 December 28th 04 01:51 PM
Hyperlink to specific sheet in Excel Web File jd17 Links and Linking in Excel 0 December 8th 04 09:03 PM
Creating a Date Selector in Excel VBA? Mark Excel Discussion (Misc queries) 0 November 25th 04 10:59 PM


All times are GMT +1. The time now is 06:45 AM.

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"