#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default match statements

Good Morning

I am hoping you can help me with this. I have been working on this for
awhile.
This formula I am using is doing an index and a match on another tab of the
workbook and the formula looks like this at this point

=IF(ISNA(INDEX('Server Inv Refresh'!$B$2:$B$1000,MATCH('Asset Inventory
Sheet'!AK2,'Server Inv Refresh'!$O$2:$O$1000,TRUE))),0,INDEX('Server Inv
Refresh'!$B$2:$B$1000,MATCH('Asset Inventory Sheet'!AK2,'Server Inv
Refresh'!$O$2:$O$1000,TRUE)))

Problem is that there are could be multiple matches or none. How would I
include other variables for example (To determine if one line may be retired
or disposed).

Any help anyone could offer would be greatly appreciated. Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 95
Default match statements

Greg,

Looks like you are trying a vlookup but then accross multiple workbooks and
with an non-sorted array. Formula looks fine, however I don't understand why
you use an ISNA as you also use the argument TRUE in the MATCH function,
which means that the Match will always return a value. What is it that you
are trying to do? Based on the formula
find the value in 'Asset Inventory Sheet'!AK2 in the array 'Server Inv
Refresh'!$O$2:$O$1000 and
use the position where this is found to lookup a value in 'Server Inv
Refresh'!$B$2:$B$1000 ?

I don't really follow your question - but if the first array O2:O1000 has
got values that appear multiple times then a match will not give you the
second apperance of the value, unless you do a COUNTIF, and start a second
match there were the first value was found (and repeat based on COUNTIF).
What other variables are you talking about? Try specifying your problem
better - as I don't understand it.....

"Greg B" wrote:

Good Morning

I am hoping you can help me with this. I have been working on this for
awhile.
This formula I am using is doing an index and a match on another tab of the
workbook and the formula looks like this at this point

=IF(ISNA(INDEX('Server Inv Refresh'!$B$2:$B$1000,MATCH('Asset Inventory
Sheet'!AK2,'Server Inv Refresh'!$O$2:$O$1000,TRUE))),0,INDEX('Server Inv
Refresh'!$B$2:$B$1000,MATCH('Asset Inventory Sheet'!AK2,'Server Inv
Refresh'!$O$2:$O$1000,TRUE)))

Problem is that there are could be multiple matches or none. How would I
include other variables for example (To determine if one line may be retired
or disposed).

Any help anyone could offer would be greatly appreciated. Thank you

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
INDEX / MATCH with SUMIF/COUNTIF/SUMPRODUCT Statements? Ronny Hamida Excel Worksheet Functions 10 July 29th 08 03:50 PM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM
Match/Lookup Statements Brian in FT W. Excel Worksheet Functions 3 June 2nd 05 04:08 PM
Data Validation w/ If, Match & Index Statements Dominique Feteau Excel Worksheet Functions 2 December 18th 04 08:15 AM


All times are GMT +1. The time now is 02:34 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"