1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18MATCH Functions Basics INDEX Basics: Two way lookup One way lookup vertical (lookup Left) One way lookup horizontal One way lookup with lookup column and match column orientated differently INDEX & MATCH to do approximate lookup on table sorted Descending Lookup whole row Lookup whole column Lookup Cell Reference Dynamic Range Lookup from more than one table when tables are on same sheet as formula Lookup from more than one table when tables are on a different sheet than the formula: CHOOSE, INDEX, MATCH functions INDEX and ROWS to Flip a Table Get Amount in Next Bracket Select a Random Value Lookup first non-blank value Handle arrays that require CSE Basic lookup tool used in complex array formulas for extracting data MATCH function is a lookup function that returns the relative position of an item in a list lookup_value is the value you tell the match function to lookup lookup_array is the list that you look an item up in [match_type] tells the MATCH what sort of lookup to do: 1 or empty = aproximate match; table sorted ascending; first bigger value bumped into then jump back one position, if value item returns #N/A, if bigger than last it returns last value 2 = extact match, if duplicates, it finds first one only, can't find it it shows #N/A -1 = aproximate match; table sorted descending; first smaller value bumped into then jump back one position, if value is big returns #N/A, if smaller than last it returns last value Match w 0 (Exact Match) MATCH can do vertical or horizontal Jo Only 1 in list Dups Lookup Jo Tom Relative Position List 1 Joe Jo Tom Sioux Sioux Sioux Tom Not in List Sue List 1 Joe Jo MATCH with 1 or Empty & Sorted Ascending (Approximate Match - 1st Biggest & Jump Back) MATCH can do vertical or Fits in Gap Finds Exact Value Smaller Than First Bigger than Last horizontal Lookup $150.00 $100.00 -$400.00 $20,000.00 $50.00 Relative Position List 1 $0.00 $100.00 100 <= x < 500 $500.00 $1,000.00 $2,500.00 $5,000.00 $10,000.00 MATCH with -1 & Sorted Descending (Approximate Match - 1st Smallest & Jump Back) MATCH can do Smaller than vertical or Fits in Gap Finds Exact Value Bigger Than First Last horizontal Lookup $1,500.00 $2,500.00 $20,000.00 -$10.00 $9,000.00 Relative Position List 1 $0.00 $100.00 List 1 $10,000.00 $5,000.00 $2,500.00 $1,000.00 $500.00 $100.00 $0.00 List 1 $10,000.00 $5,000.00 item in a list mp back one position, if value value s #N/A ack one position, if value is alue Tom Sioux Sioux Sioux Tom List 2 0 1% 2% 4% 5% 6% 8% $500.00 $1,000.00 $2,500.00 $5,000.00 $10,000.00 $2,500.00 $1,000.00 $500.00 $100.00 $0.00 MATCH function is a lookup function that returns the relative position of an item in a list lookup_value is the value you tell the match function to lookup lookup_array is the list that you look an item up in [match_type] tells the MATCH what sort of lookup to do: 1 or empty = aproximate match; table sorted ascending; first bigger value bumped into then jump back one position, if value item returns #N/A, if bigger than last it returns last value 2 = extact match, if duplicates, it finds first one only, can't find it it shows #N/A -1 = aproximate match; table sorted descending; first smaller value bumped into then jump back one position, if value is big returns #N/A, if smaller than last it returns last value Match w 0 (Exact Match) MATCH can do vertical or horizontal Jo 2 Joe Jo Only 1 in list Dups Lookup Jo Tom Relative Position 2 List 1 Joe Jo Tom Sioux Sioux Sioux Tom Not in List Sue 3 #N/A List 1 MATCH with 1 or Empty & Sorted Ascending (Approximate Match - 1st Biggest & Jump Back) MATCH can do vertical or Fits in Gap Finds Exact Value Smaller Than First Bigger than Last horizontal Lookup $150.00 $100.00 -$400.00 $20,000.00 $50.00 Relative Position 2 2 #N/A 7 1 List 1 $0.00 $100.00 $500.00 $1,000.00 $2,500.00 $5,000.00 $10,000.00 MATCH with -1 & Sorted Descending (Approximate Match - 1st Smallest & Jump Back) MATCH can do Smaller than vertical or Fits in Gap Finds Exact Value Bigger Than First Last horizontal Lookup $1,500.00 $2,500.00 $20,000.00 -$10.00 $9,000.00 Relative Position 3 3 #N/A 7 1 List 1 $0.00 $100.00 List 1 $10,000.00 $5,000.00 $2,500.00 $1,000.00 $500.00 $100.00 $0.00 List 1 $10,000.00 $5,000.00 item in a list mp back one position, if value value s #N/A back one position, if value is alue Tom Sioux Sioux Sioux Tom List 2 0 1% 2% 4% 5% 6% 8% $500.00 $1,000.00 $2,500.00 $5,000.00 $10,000.00 $2,500.00 $1,000.00 $500.00 $100.00 $0.00 INDEX is a lookup function that can do a two-way lookup. array argument is the two dementioanl table (both a row and a column - that is the two-way part of it) row_num argument tells index which row to look at column_num argument tells index which colum to look at The intersection of the row and column is the value that is returned to the cell or formula Discount Table PartID/Qty Part1 Part2 Part3 Part4 Part5 Part6 PartID Qty Discount 1 13.00% 14.00% 15.00% 16.00% 17.00% 18.00% Part3 5 <<== 5 15.00% 16.00% 17.00% 18.00% 19.00% 20.00% 25 17.00% 18.00% 19.00% 20.00% 21.00% 22.00% <<== Row <<==Column Returned Value 100 19.00% 20.00% 21.00% 22.00% 23.00% 24.00% o-way part of it) or formula INDEX is a lookup function that can do a two-way lookup. array argument is the two dementioanl table (both a row and a column - that is the two-way part of it) row_num argument tells index which row to look at column_num argument tells index which colum to look at The intersection of the row and column is the value that is returned to the cell or formula Discount Table PartID/Qty Part1 Part2 Part3 Part4 Part5 Part6 PartID Qty Discount 1 13.00% 14.00% 15.00% 16.00% 17.00% 18.00% Part4 22 18.00% <<== 5 15.00% 16.00% 17.00% 18.00% 19.00% 20.00% 25 17.00% 18.00% 19.00% 20.00% 21.00% 22.00% 100 19.00% 20.00% 21.00% 22.00% 23.00% 24.00% 4 <<== Row 2 <<==Column Returned Value o-way part of it) or formula Use INDEX as a substitute for VLOOKUP when the value you want to return is to the left of the lookup column. Product Price Description Boom01 $15.00 Flying Range is 10 Boom02 $30.00 Flying Range is 20 Boom03 $40.00 Flying Range is 50 Boom04 $45.00 Flying Range is 60 Boom05 $65.00 Flying Range is 70 Boom06 $69.00 Flying Range is 80 Boom07 $100.00 Flying Range is 85 Boom08 $110.00 Flying Range is 110 Boom09 $165.00 Flying Range is 160 1-Way Lookup Vertical: Lookup Column to Left Description Product Flying Range is 160 **[column_num] argument is optional. When you hav way lookup, row_num can be used for the relative po the item in a list (row or column). Use INDEX, MAX & MATCH to find student with max score Name Score Student 1 53 Student 2 18 Student 3 99 Student 4 45 Student 5 19 Student 6 27 Student 7 85 Student 8 0 Lookup Name w Max Score 99 <== lookup name w max score, no duplicates Max _num] argument is optional. When you have a one p, row_num can be used for the relative position of n a list (row or column). Use INDEX as a substitute for VLOOKUP when the value you want to return is to the left of the lookup column. Product Price Description Boom01 $15.00 Flying Range is 10 Boom02 $30.00 Flying Range is 20 Boom03 $40.00 Flying Range is 50 Boom04 $45.00 Flying Range is 60 Boom05 $65.00 Flying Range is 70 Boom06 $69.00 Flying Range is 80 Boom07 $100.00 Flying Range is 85 Boom08 $110.00 Flying Range is 110 Boom09 $165.00 Flying Range is 160 1-Way Lookup: Lookup Column to Left Description Product Flying Range is 80 Boom06 **[column_num] argument is optional. When you have a way lookup, row_num can be used for the relative positi the item in a list (row or column). Use INDEX, MAX & MATCH to find student with max score Name Score Student 1 53 Student 2 18 Student 3 99 Student 4 45 Student 5 19 Student 6 27 Student 7 85 Student 8 0 Lookup Name w Max Score 99 Student 3 Max <== lookup name w max score tional. When you have a one ed for the relative position of Use INDEX, MIN & MATCH to find vendor name with low bid Products/Ven Vendor for dors Vendor1 Vendor2 Vendor3 Vendor4 Vendor5 Low Bid Low Bid Product1 $38.99 $48.60 $43.53 $40.08 $47.92 $38.99 Product2 $57.68 $31.80 $52.78 $31.42 $55.19 $31.42 Product3 $53.32 $32.64 $37.69 $48.29 $41.59 $32.64 Product4 $35.20 $40.55 $32.65 $36.81 $41.14 $32.65 Product5 $56.72 $47.16 $36.42 $49.56 $39.25 $36.42 Product6 $47.91 $35.08 $51.13 $49.84 $42.12 $35.08 Product7 $34.81 $35.11 $48.63 $33.32 $37.83 $33.32 Product8 $42.25 $35.76 $58.60 $46.28 $40.53 $35.76 Product9 $40.14 $42.31 $37.62 $59.97 $42.57 $37.62 Product10 $36.48 $40.79 $53.24 $51.01 $51.24 $36.48 Product11 $38.57 $40.06 $54.71 $39.70 $54.73 $38.57 Product12 $52.66 $43.61 $59.98 $34.61 $52.65 $34.61 1-Way Lookup Ranges Horizo **Note: If it is a one way look programmed to use the row_ either a row number or colum (because it is only a 1-way lo 1-Way Lookup Ranges Horizontal **Note: If it is a one way lookup, INDEX is programmed to use the row_num for either a row number or column number (because it is only a 1-way lookup). Use INDEX, MIN & MATCH to find vendor name with low bid Products/Ven dors Vendor1 Vendor2 Vendor3 Vendor4 Vendor5 Low Bid Product1 $38.99 $48.60 $43.53 $40.08 $47.92 $38.99 Product2 $57.68 $31.80 $52.78 $31.42 $55.19 $31.42 Product3 $53.32 $32.64 $37.69 $48.29 $41.59 $32.64 Product4 $35.20 $40.55 $32.65 $36.81 $41.14 $32.65 Product5 $56.72 $47.16 $36.42 $49.56 $39.25 $36.42 Product6 $47.91 $35.08 $51.13 $49.84 $42.12 $35.08 Product7 $34.81 $35.11 $48.63 $33.32 $37.83 $33.32 Product8 $42.25 $35.76 $58.60 $46.28 $40.53 $35.76 Product9 $40.14 $42.31 $37.62 $59.97 $42.57 $37.62 Product10 $36.48 $40.79 $53.24 $51.01 $51.24 $36.48 Product11 $38.57 $40.06 $54.71 $39.70 $54.73 $38.57 Product12 $52.66 $43.61 $59.98 $34.61 $52.65 $34.61 Vendor for Low Bid Vendor1 Vendor4 Vendor2 Vendor3 Vendor3 Vendor2 Vendor4 Vendor2 Vendor3 Vendor1 Vendor1 Vendor4 1-Way Lookup Ranges Horizo **Note: If it is a one way look programmed to use the row_ either a row number or colum (because it is only a 1-way lo 1-Way Lookup Ranges Horizontal **Note: If it is a one way lookup, INDEX is programmed to use the row_num for either a row number or column number (because it is only a 1-way lookup. Description Flying Range is 10 Flying Range is 20 Flying Range is 50 Flying Range is 60 Flying Range is 70 Flying Range is 80 Flying Range is 85 Flying Range is 110 Flying Range is 160 1-Way Lookup: Vertical and Horizontal Description Product Flying Range is 50 Product Boom01 Boom02 Boom03 Boom04 Boom05 Boom06 **Note: If it is a one way lookup, INDEX is programmed to use the row_num for either a row number or column number (because it is only a 1-way lookup. Boom07 Boom08 Boom09 Description Flying Range is 10 Flying Range is 20 Flying Range is 50 Flying Range is 60 Flying Range is 70 Flying Range is 80 Flying Range is 85 Flying Range is 110 Flying Range is 160 1-Way Lookup: Vertical and Horizontal Description Product Flying Range is 50 Boom03 Product Boom01 Boom02 Boom03 Boom04 Boom05 Boom06 **Note: If it is a one way lookup, INDEX is programmed to use the row_num for either a row number or column number (because it is only a 1-way lookup. Boom07 Boom08 Boom09 INDEX and MATCH to lookup in a table that is sorted decending order Select Rainfall Rate Pipe Size Square Footage Pipe Size (inches) 15 12 10 8 6 5 4 3 1 4 11 Rainfall Rate 1 238,000 133,200 82,800 46,000 21,400 13,360 7,520 3,288 0 2-Way lookup MATCH with -1 (list sorted Descending) MATCH with 1 or empty (list sorted Ascending) 2 119,000 66,600 41,400 23,000 10,700 6,680 3,760 1,644 0 3 79,333 44,400 27,600 15,330 7,133 4,453 2,506 1,096 0 4 5 6 59,500 47,600 39,650 33,300 26,650 22,200 20,700 16,580 13,800 11,500 9,200 7,670 5,350 4,280 3,566 3,340 2,672 2,227 1,880 1,504 1,253 822 657 548 0 0 0 INDEX and MATCH to lookup in a table that is sorted decending order Select Rainfall Rate Pipe Size Square Footage Pipe Size (inches) 15 12 10 8 6 5 4 3 1 4 11 33,300 Rainfall Rate 1 238,000 133,200 82,800 46,000 21,400 13,360 7,520 3,288 0 2 119,000 66,600 41,400 23,000 10,700 6,680 3,760 1,644 0 2-Way lookup MATCH with -1 (list sorted Descending) MATCH with 1 or empty (list sorted Ascending) 3 79,333 44,400 27,600 15,330 7,133 4,453 2,506 1,096 0 4 5 6 59,500 47,600 39,650 33,300 26,650 22,200 20,700 16,580 13,800 11,500 9,200 7,670 5,350 4,280 3,566 3,340 2,672 2,227 1,880 1,504 1,253 822 657 548 0 0 0 Use INDEX, MATCH and SUM to retrieve a whole column of values and add them 0 (zero) or empty in row_num argument will return a whole column of values (“all rows” or “entire column”) Month to add Jan Jan 1 3 1 Jan Total Feb 4 4 4 Mar Apr 4 5 12 1 2 2 Use INDEX, MATCH and SUM to retrieve a whole row of values and add them 0 (zero) or empty in column_num argument will return a whole row of values (“all columns” or “entire row”) Month to add Feb Jan Feb Mar Apr Feb Total 1 4 4 5 3 4 12 1 1 4 2 2 Use INDEX, MATCH and SUM to retrieve a whole column of values and add them 0 (zero) or empty in row_num argument will return a whole column of values (“all rows” or “entire column”) Month to add Mar Jan 1 3 1 Mar Total 18 Feb 4 4 4 Mar Apr 4 5 12 1 2 2 Use INDEX, MATCH and SUM to retrieve a whole row of values and add them 0 (zero) or empty in column_num argument will return a whole row of values (“all columns” or “entire row”) Month to add Jan Jan Feb Mar Apr Jan Total 5 1 4 4 5 3 4 12 1 1 4 2 2 From the examples in the book, the homework, examples in class, examples from DVD video, or online research, or from an example you thought up, create two examples of "lookup" using the INDEX and MATCH functions together. INDEX to lookup cell reference and create dynamic range works well (better than Table feature) when you have an area that When pasting Dynamic Range Formula ( Defined Name ) into chart: 1) ChartTools Design Ribbon tab "Select Data" button in D 2) then edit the "series" and "category", carefully highlight only cell range (leave "sheet reference") and replace selected rang 3) after you enter Defined Name Defined Range Formula into dialog box and look back later the "sheet reference" will be rep (in total you will see a workbook reference and the Defined Name). Lookingup Cell Reference Dynamic ranges for charts 1 Date 3 Sales 5 7 9 2 Date Sales 5/13/2011 5/14/2011 5/15/2011 5/16/2011 5/17/2011 5/18/2011 e) when you have an area that will expand and contract. on tab "Select Data" button in Data group, ence") and replace selected range with Defined Name, he "sheet reference" will be replaced by a workbook reference From the examples in the book, the homework, examples in class, examples from DVD video, or online research, or from an example you thought up, create two examples of "lookup" using the INDEX and MATCH functions together. INDEX to lookup cell reference and create dynamic range works well (better than Table feature) when you have an area that When pasting Dynamic Range Formula ( Defined Name ) into chart: 1) ChartTools Design Ribbon tab "Select Data" button in D 2) then edit the "series" and "category", carefully highlight only cell range (leave "sheet reference") and replace selected rang 3) after you enter Defined Name Defined Range Formula into dialog box and look back later the "sheet reference" will be rep (in total you will see a workbook reference and the Defined Name). Lookingup Cell Reference Dynamic ranges for charts 10 Date 5/3/2011 15 Sales 10 16 17 18 27 20 15 15 15 Date Sales 5/3/2011 5/4/2011 5/5/2011 5/6/2011 5/7/2011 5/8/2011 5/9/2011 5/10/2011 5/11/2011 5/12/2011 Sales $30.00 $25.00 $20.00 $15.00 $10.00 $5.00 $0.00 re) when you have an area that will expand and contract. bon tab "Select Data" button in Data group, ence") and replace selected range with Defined Name, he "sheet reference" will be replaced by a workbook reference Sales Product 1 $0.00 $500.00 $1,500.00 $5,000.00 0.00% 1.00% 2.00% 3.00% Product 2 $0.00 $500.00 $1,500.00 $5,000.00 0.00% 1.50% 2.50% 4.00% Product 3 $0.00 $500.00 $1,500.00 $5,000.00 0.00% 0.50% 1.00% 1.50% Pro Product 1 Product 3 Product 1 Product 1 Product 3 Product 3 Product 3 Product 1 Product 1 Product 1 Product 2 Product 1 Product 2 Product 2 Product 2 Product 1 Product 1 Product 1 Product 3 Amount of Sale Table $3,225.00 $2,014.00 $1,264.00 $1,755.00 $4,609.00 $9,300.00 $8,850.00 $2,641.00 $8,028.00 $3,288.00 $1,434.00 $2,295.00 $3,808.00 $8,949.00 $489.00 $7,984.00 $9,610.00 $5,376.00 $5,596.00 Discount ? Discount ? Product 1 Product 2 Product 3 1 2 3 INDEX is a lookup function that can do a two-way lookup. reference argument is the two dimensional table (or a 1-way lookup) - references must b be on the same sheet as the formula. Tables must be placed in numerical order, sepa contained in parenthesis. Like: (ref1,ref2,ref3...) row_num argument tells index which row to look at column_num argument tells index which colum to look at [area_num] argument tells the function which table to look at and must be a nu If tables are on different sheets, use the CHOOSE function in the array argum CHOOSE function: CHOOSE can return a value or a range from a list of 1 to 254 argumen 1) =CHOOSE(index_num, value1,value2, …) 2) When the "lookup_value" / index_number is whole number between 1 an CHOOSE can be a good lookup tool 3) If index_num is 1, then value1 is used ... If index_num is 2, then value2 is used 4) value can be a number, or a formula/function, "text" (in quotes), a range references, or defined names 5) Pro Amount of Sale Product 2 $124.00 Product 1 $0.00 $500.00 $1,500.00 $5,000.00 0.00% 1.00% 2.00% 3.00% Product 2 $0.00 $500.00 $1,500.00 $5,000.00 0.00% 1.50% 2.50% 4.00% Product 3 $0.00 $500.00 $1,500.00 $5,000.00 0.00% 0.50% 1.00% 1.50% Pro Product 1 Product 3 Product 1 Product 1 Product 3 Product 3 Product 3 Product 1 Product 1 Product 1 Product 2 Product 1 Product 2 Product 2 Product 2 Product 1 Product 1 Product 1 Product 3 Amount of Sale Table Discount ? Discount ? $3,225.00 1 64.5 64.5 0.02 $2,014.00 3 20.14 20.14 0.01 $1,264.00 1 12.64 12.64 0.01 $1,755.00 1 35.1 35.1 0.02 $4,609.00 3 46.09 46.09 0.01 $9,300.00 3 139.5 139.5 0.015 $8,850.00 3 132.75 132.75 0.015 $2,641.00 1 52.82 52.82 0.02 $8,028.00 1 240.84 240.84 0.03 $3,288.00 1 65.76 65.76 0.02 $1,434.00 2 21.51 21.51 0.015 $2,295.00 1 45.9 45.9 0.02 $3,808.00 2 95.2 95.2 0.025 $8,949.00 2 357.96 357.96 0.04 $489.00 2 0 0 0 $7,984.00 1 239.52 239.52 0.03 $9,610.00 1 288.3 288.3 0.03 $5,376.00 1 161.28 161.28 0.03 $5,596.00 3 83.94 83.94 0.015 Product 1 Product 2 Product 3 1 2 3 INDEX is a lookup function that can do a two-way lookup. reference argument is the two dimensional table (or a 1-way lookup) - references must be c be on the same sheet as the formula. Tables must be placed in numerical order, separat contained in parenthesis. Like: (ref1,ref2,ref3...) row_num argument tells index which row to look at column_num argument tells index which colum to look at [area_num] argument tells the function which table to look at and must be a numb If tables are on different sheets, use the CHOOSE function in the array argumen CHOOSE function: CHOOSE can return a value or a range from a list of 1 to 254 argumen 1) =CHOOSE(index_num, value1,value2, …) 2) When the "lookup_value" / index_number is whole number between 1 254, CHOOSE can be a good lookup tool 3) If index_num is 1, then value1 is used ... If index_num is 2, then value2 is used 4) value can be a number, or a formula/function, "text" (in quotes), a rang references, or defined names 5) Pro Amount of Sale Product 2 $9,730.00 Score 450 425 350 300 270 0 Decimal Grade 4 3.7 3 2.5 2 0 ROWS from 6 to 1 big # to small 6 5 4 3 2 1 Use INDEX to flip (invert) a range 180 degrees: =INDEX(A$2:A$7,ROWS(A2:A$7)) Score Decimal Grade Score 401 Decimal Grade Sequential Number w Expandable Range 1 2 3 4 5 6 rom 6 to 1 big # to small =ROWS(A2:A$7) =ROWS(A3:A$7) =ROWS(A4:A$7) =ROWS(A5:A$7) =ROWS(A6:A$7) =ROWS(A7:A$7) ROWS from 1 to 6 small # to big 1 =ROWS(I$2:I2) 2 =ROWS(I$2:I3) 3 =ROWS(I$2:I4) 4 =ROWS(I$2:I5) 5 =ROWS(I$2:I6) 6 =ROWS(I$2:I7) ial Number w Expandable Range Sequential Number w Contracting Range 6 5 4 3 2 1 Score Decimal Grade 450 4 425 3.7 350 3 300 2.5 270 2 0 0 Use INDEX to flip (invert) a range 180 degrees: =INDEX(A$2:A$7,ROWS(A2:A$7)) ROWS from 6 to 1 big # to small 6 =ROWS(A2:A$7) 5 =ROWS(A3:A$7) 4 =ROWS(A4:A$7) 3 =ROWS(A5:A$7) 2 =ROWS(A6:A$7) 1 =ROWS(A7:A$7) Score Decimal Grade 0 0 270 2 300 2.5 350 3 425 3.7 450 4 Score 401 Decimal Grade 3 ROWS from 1 to 6 small # to big 1 =ROWS(I$2:I2) 2 =ROWS(I$2:I3) 3 =ROWS(I$2:I4) 4 =ROWS(I$2:I5) 5 =ROWS(I$2:I6) 6 =ROWS(I$2:I7) Sales Use INDEX & MATCH to find how much to get to next bracket Amount To Get To Next Bracket $5,555.00 Commission Table Commission from Previous Bracket 0.00% 0.50% 1.00% 2.00% 3.00% 6.00% 10.00% 0 $25.00 $125.00 $325.00 $925.00 $3,925.00 Sales $0.00 $5,000.00 $10,000.00 $20,000.00 $30,000.00 $50,000.00 $100,000.00 Rate Sales Use INDEX & MATCH to find how much to get to next bracket Amount To Get To Next Bracket $37,500.00 $12,500.00 Commission Table Commission from Previous Bracket 0.00% 0.50% 1.00% 2.00% 3.00% 6.00% 10.00% 0 $25.00 $125.00 $325.00 $925.00 $3,925.00 Sales $0.00 $5,000.00 $10,000.00 $20,000.00 $30,000.00 $50,000.00 $100,000.00 Rate Use INDEX and RANDBETWEEN to randomly select a name Names Name Selected: Sioux Dave Isaac Random Number between 1 and 5 Sue 5 Luong F9 key evaluates or recalculates the whole sheet Use INDEX and RANDBETWEEN to randomly select a name Names Name Selected: Sioux Isaac Dave Isaac Random Number between 1 and 5 Sue 5 Luong F9 key evaluates or recalculates the whole sheet Get First non-blank Array Formulas require Ctrl + Shift + Enter 1 2 1 6 5 2 13 5 1 2 INDEX can handle array without Ctrl + Shift + Enter 1 2 4 5 13 5 1 1 6 2 2 Get First non-blank 1 5 13 Array Formulas require Ctrl + Shift + Enter 1 2 1 6 5 2 13 5 1 2 INDEX can handle array without Ctrl + Shift + Enter 1 1 2 5 5 13 13 5 1 1 6 2 2 Use INDEX, MAX & MATCH to find student with max score Name Score Student 1 85 3 Student 2 99 1 Student 3 99 2 Student 4 45 5 Student 5 19 7 Student 6 27 6 Student 7 85 4 Student 8 0 8 3 1 2 5 7 6 4 8 Max 99 Count Lookup Name w Max Score 2 Student 2 <== lookup name w max score, maybe duplicates Student 3 See these for more detail: Excel Magic Trick 358: Part 1: Return Multiple Items From One Look Excel Magic Trick 359: Part 2: Return Multiple Items From One Look Excel Magic Trick 360: Part 3: Return Multiple Items From One Look Count 99 85 45 Name 1 2 Student 2 2 Student 1 1 Student 4 Name 3 Name 2 Student 3 Student 7 No 1 2 3 Large See these videos for more detail: Excel Magic Trick 759: Array Formula To Sort List & Remove Duplicates - Dynamic Named Range Excel 2010 Magic Trick 672: AGGREGATE function Replaces SMALL Function Array Formula urn Multiple Items From One Lookup Value ... urn Multiple Items From One Lookup Value ... urn Multiple Items From One Lookup Value ... 85 99 45 c Named Range Use INDEX, MAX & MATCH to find student with max score Name Score Student 1 85 3 Student 2 99 1 Student 3 99 2 Student 4 45 5 Student 5 19 7 Student 6 27 6 Student 7 85 4 Student 8 0 8 3 1 2 5 7 6 4 8 Max 99 Count Lookup Name w Max Score 2 Student 2 <== lookup name w max score, maybe duplicates Student 3 See these for more detail: Excel Magic Trick 358: Part 1: Return Multiple Items From One Look Excel Magic Trick 359: Part 2: Return Multiple Items From One Look Excel Magic Trick 360: Part 3: Return Multiple Items From One Look Count 99 85 45 Name 1 2 Student 2 2 Student 1 1 Student 4 Name 3 Name 2 Student 3 Student 7 No 1 2 3 Large See these videos for more detail; Excel Magic Trick 759: Array Formula To Sort List & Remove Duplicates - Dynamic Named Range Excel 2010 Magic Trick 672: AGGREGATE function Replaces SMALL Function Array Formula urn Multiple Items From One Lookup Value ... urn Multiple Items From One Lookup Value ... urn Multiple Items From One Lookup Value ... 85 99 45 c Named Range
Report "Excel Magic Trick 778 INDEX &Amp Exercise Sheet"