Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DaveO
 
Posts: n/a
Default Help with formula statament with a MATCH.

I am having a problem with the following formula...

=IF(ISERROR(MATCH(0,OFFSET(INDIRECT("'Data sheet'!A" & MATCH(B5,'Data
sheet'!A$1:A$10000, 0)), 2, 1, 1, 40), 0)),
(IF(ISERROR(MATCH(0,OFFSET(INDIRECT("'Data sheet'!A" & MATCH(B5,'Data
sheet'!A$1:A$10000, 0)), 2, 1, 1, 40), 0)), "", TEXT(INDIRECT("'Data sheet'!"
& ADDRESS(2, MATCH(0,OFFSET(INDIRECT("'Data sheet'!A" & MATCH(B5,'Data
sheet'!A$1:A$10000, 0)), 2, 1, 1, 40), 0) + 1,1)), "dd-mmm"))),
TEXT(INDIRECT("'Data sheet'!" & ADDRESS(2, MATCH(0,OFFSET(INDIRECT("'Data
sheet'!A" & MATCH(B5,'Data sheet'!A$1:A$10000, 0)), 2, 1, 1, 40), 0) + 1,1)),
"dd-mmm"))

Once I hit try to accept the formula Excel is highlighting the 5th MATCH
function, but I do not know why.

Essentially this formula is 1 formula repeated twice. The 1st IF(ISERROR is
then followed by the same IF(ISERROR formula on the True part. Here is the
formula...

=IF(ISERROR(MATCH(0,OFFSET(INDIRECT("'Data sheet'!A" & MATCH(B5,'Data
sheet'!A$1:A$10000, 0)), 2, 1, 1, 40), 0)), "", TEXT(INDIRECT("'Data sheet'!"
& ADDRESS(2, MATCH(0,OFFSET(INDIRECT("'Data sheet'!A" & MATCH(B5,'Data
sheet'!A$1:A$10000, 0)), 2, 1, 1, 40), 0) + 1,1)), "dd-mmm"))

Now this works fine, but the larger one doesn't.

Any help would be appreciated.

TIA.

Dave.



Reply
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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
Formula doesn't match - ? Steve Excel Discussion (Misc queries) 2 July 23rd 05 11:39 PM
Formula Help With MATCH & OFFSET Joe Gieder Excel Worksheet Functions 1 March 2nd 05 10:58 PM


All times are GMT +1. The time now is 07:11 AM.

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

About Us

"It's about Microsoft Excel"