![]() |
|
|
Thread Tools | Display Modes |
#8
|
|||
|
|||
![]() Quote:
Generally, on worksheet to refer to some data you must have those data displayed somewhere (in cell, or in table). You can have the data you refer to on hidden worksheet, or in hidden columns of table, but you must have them somewhere. An exception are named dynamical values, where you create a name which value is calculated based on position of cell the named value is used. And you can create your own UDF's (User Defined Function), which you can use instead of very complex formulas. In any of those cases the final formula must read some data from some place in workbook, and must be entered into some cell. In VBA procedures, you can define arrays (those can have many dimensions). But generally, those arrays exist only until the procedure is running. Probably it is possible define such arrays as global, but anyway you can access them only in VBA. Quote:
Code:
=IF(tSelection[@Field1]="";"";VLOOKUP(tSelection[@Field1];tSelection;2;0)) , but I'd prefer =IFERROR(INDEX(tSelection[Field2];tSelection[@RowNo]);"") Parameters used in lookup are: 1. The value you are searching for in 1st column of search range; 2. The search range; 3. The number of column in search range from where the result is returned; 4. 0 is for exact match - i.e. formula returns an error when search value is not found. Other values for 4th parameter are more difficult to handle, and the search range must be ordered by search value. Quote:
Useful feature of Tables is, that whenever you enter something into any cell immediately below any cell of last row of Table, the Table is expanded automatically. And any formats, conditional formattings, data validations, or formulas are expanded too, until there is only one of kind defined for whole column. |
Tags |
matrix, sverweis |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Zeilen vergleichen und Meldung ausgeben | Bravo | Excel | 1 | 02-23-2018 06:31 AM |
![]() |
Diver | Excel | 25 | 02-22-2017 04:39 PM |
How to get value through a matrix? | Xemx | Excel | 3 | 10-21-2014 05:46 AM |
![]() |
Angela | Office | 2 | 05-15-2012 08:56 PM |
Matrix Algebra | judicial85 | Excel | 3 | 10-12-2011 05:41 PM |