While we can use vlookup or hlookup to return a cell value in a particular row or column. Is there a way we can lookup from both row and column to return a particular value from a cell in a grid? Consider the case below: (Yes, I have added more colours to the table this [...]
Posts Tagged ‘array function’
Cell value from a grid
Posted in Tip, tagged address, array function, column(), index, indirect, match, row, sum, sumproduct, vlookup on July 16, 2009 | Leave a Comment »
Lookup to the left
Posted in Uncategorized, tagged array function, match, offset, sum, sumproduct, vlookup on May 26, 2009 | Leave a Comment »
For looking up through vlookup, the value to be returned needs to be to the right of lookup_value. Here is a solution for returning a value to the left of lookup_value using match and offset functions The problem is given in the image sheet below The H1Y1 performance of certain sales people have to [...]
Handling errors in excel
Posted in Uncategorized, tagged array function, error.type, iserror on May 22, 2009 | Leave a Comment »
I have listed down the types of error in excel and their likely causes in the table below: Error type can be found out through the formula =Error.Type(cell_ref) Count instances of error One of the ways to count the total occurence of error in an area is this {=SUM(IF(ISERROR(B2:B8),1,0))} entered as an array formula [...]
Cows and Bulls
Posted in Game, tagged array function, Conditional formatting, count, match, mid, rand(), row on May 21, 2009 | Leave a Comment »
Here is how you can play the game Cows and Bulls in excel The objective of the game is to guess the secret number (which is hidden from the player). The player can guess the number as many times. If the matching digits are on their right positions, they are “bulls”, if on different positions, [...]