Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 89
Default Please explain this formula

I found this formlua using the search function but cannot understand what it
is saying.

=INDEX(C1:C100, MATCH(D1&D2,'Sheet2'!A1:A100&B1:B100,0))


I'm assuming the D1&D2 references the 2 cells I want to match and the
'Sheet2'!A1:A100&B1:B100 are the cells containing my values to match but
I'm not clear what the C1:C100 and the ",0" are referring to.

How does my table need to be set up? I have the 'Sheet2'!A1:A100&B1:B100
cells filled with my data and 'Sheet2'!F1:F100 containing the value I want it
to return. Do I need to set up my table differently?


Any help would be greatly appreciated!

Thanks

Jim


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Please explain this formula

Iriemon wrote:
I found this formlua using the search function but cannot understand what it
is saying.

=INDEX(C1:C100, MATCH(D1&D2,'Sheet2'!A1:A100&B1:B100,0))


I'm assuming the D1&D2 references the 2 cells I want to match and the
'Sheet2'!A1:A100&B1:B100 are the cells containing my values to match but
I'm not clear what the C1:C100 and the ",0" are referring to.

How does my table need to be set up? I have the 'Sheet2'!A1:A100&B1:B100
cells filled with my data and 'Sheet2'!F1:F100 containing the value I want it
to return. Do I need to set up my table differently?


Any help would be greatly appreciated!

Thanks

Jim




An explanation of the INDEX and MATCH function can be found he

http://www.contextures.com/xlFunctions03.html
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Please explain this formula

Some specific thoughts to get you going ..

This expression, array-entered,
ie press CTRL+SHIFT+ENTER to confirm the formula (CSE):
=INDEX(Sheet2!F1:F100,MATCH(D1&D2,Sheet2!A1:A100&S heet2!B1:B100,0))
will return what you seek.

This index part: INDEX(Sheet2!F1:F100
is the range that you want the results to be extracted from, for the match
found in the MATCH part of it. The zero (or FALSE) param in MATCH( ...,0)
specifies it to find an exact match

You could also try the alternative, better? expression below which achieves
the same results. It's slightly longer, but easier to confirm, and to
intuitively understand what's happening, in my opinion.

Normal ENTER will do (no need to CSE):
=INDEX(Sheet2!F1:F100,MATCH(1,INDEX((Sheet2!A1:A10 0=D1)*(Sheet2!B1:B100=D2),),0))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"Iriemon" wrote:
I found this formlua using the search function but cannot understand what it
is saying.

=INDEX(C1:C100, MATCH(D1&D2,'Sheet2'!A1:A100&B1:B100,0))


I'm assuming the D1&D2 references the 2 cells I want to match and the
'Sheet2'!A1:A100&B1:B100 are the cells containing my values to match but
I'm not clear what the C1:C100 and the ",0" are referring to.

How does my table need to be set up? I have the 'Sheet2'!A1:A100&B1:B100
cells filled with my data and 'Sheet2'!F1:F100 containing the value I want it
to return. Do I need to set up my table differently?


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
Please explain this formula stew Excel Discussion (Misc queries) 6 September 3rd 08 07:52 AM
Please explain formula to me Paul Excel Worksheet Functions 2 December 10th 06 02:57 AM
Please explain function/formula Tara H Excel Worksheet Functions 6 July 24th 06 07:16 PM
Could any one Explain this Formula John Excel Worksheet Functions 8 April 22nd 06 07:15 PM
Please Explain Formula Karen Excel Worksheet Functions 4 June 16th 05 11:46 PM


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