Tema: Re: excel, prisegtas failas!
Autorius: xxx
Data: 2009-03-13 17:27:26
Na ukiskai gaunasi, kad col_index_num yra tas stulpelis is table_array, 
kuris tau reikalingas (atsakymo stulpelis). Tavo atveju pirmame stulpelyje 
yra duomenys kuriu tu ieskai, o 2 -ajame yra duomenys, kuriuos tu jau 
panaudoji toliau...

xxx

P.S.:
     1234 rtuh
     2342 dfgh
     5324 vjkd
     3242 cjdk
     2342 gggg
     6543 dfgr
     2837 hvbf
     2328 edrt
     3819 gvfh
     5310 bgew
     6801 opyt
     8292 bhjk


2342 yra du kartus dfgh ir gggg. vlookup paciups tik pirma!!!

VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])The VLOOKUP 
function syntax has the following arguments (argument: A value that provides 
information to an action, an event, a method, a property, a function, or a 
procedure.):

  a.. lookup_value  Required. The value to search in the first column of the 
table or range. The lookup_value argument can be a value or a reference. If 
the value you supply for the lookup_value argument is smaller than the 
smallest value in the first column of the table_array argument, VLOOKUP 
returns the #N/A error value.
  b.. table_array  Required. The range of cells that contains the data. You 
can use a reference to a range (for example, A2:D8), or a range name. The 
values in the first column of table_array are the values searched by 
lookup_value. These values can be text, numbers, or logical values. 
Uppercase and lowercase text are equivalent.
  c.. col_index_num  Required. The column number in the table_array argument 
from which the matching value must be returned. A col_index_num argument of 
1 returns the value in the first column in table_array; a col_index_num of 2 
returns the value in the second column in table_array, and so on.
  If the col_index_num argument is:

    a.. Less than 1, VLOOKUP returns the #VALUE! error value.
    b.. Greater than the number of columns in table_array, VLOOKUP returns 
the #REF! error value.
  d.. range_lookup  Optional. A logical value that specifies whether you 
want VLOOKUP to find an exact match or an approximate match:
    a.. If range_lookup is either TRUE or is omitted, an exact or 
approximate match is returned. If an exact match is not found, the next 
largest value that is less than lookup_value is returned.
     Important   If range_lookup is either TRUE or is omitted, the values in 
the first column of table_array must be placed in ascending sort order; 
otherwise, VLOOKUP might not return the correct value.

    For more information, see Sort data.

    If range_lookup is FALSE, the values in the first column of table_array 
do not need to be sorted.

    b.. If the range_lookup argument is FALSE, VLOOKUP will find only an 
exact match. If there are two or more values in the first column of 
table_array that match the lookup_value, the first value found is used. If 
an exact match is not found, the error value #N/A is returned.


"MinVodai" <minvodai@gmail.com> wrote in message 
news:gpdtiq$v75$1@trimpas.omnitel.net...
> Aciu xxx, veikia... :)
> Linai, as manau, kad supratai, ko as norejau, bet atsakymas ten turetu 
> buti 'ggg'
>
> xxx, o gali ukiskai paaiskinti kas tas Col_index_num =: 2???
>
>
> -- 
> ________________________________________
>
> "xxx" <xxx@xxx.lt> wrote in message 
> news:gpdr3v$rf4$1@trimpas.omnitel.net...
>>
>> Sitaip?
>>
>> =VLOOKUP(Analize!A5;DB!B5:C16;2;FALSE)
>>
>>
>>
>>
>> "MinVodai" <minvodai@gmail.com> wrote in message 
>> news:gpdokf$ncd$1@trimpas.omnitel.net...
>>> bandau googlintis, bet..  nerandu, gal tiesiog kreivai klausima 
>>> suformuluoju :(
>>> exceline ataskaita,
>>> reikia kai kuiruos duomenis sudelioti i tam tikras vietas is kito xls 
>>> failo.
>>> Kaip atlikti FIND, LOOKUP ar dar koki velnia, kad surades tinkama cele 
>>> (su tam tikrais duomenimis) perkeltu info i tinkamas vietas.
>>> prisegu pvz:
>>> siaip tokie reikalai su skaiciais, veikia SUMIF, taciau cia veixmai su 
>>> textu
>>> Sheet - Analize, cele B5 turi issirinkti duomenis is DB Sheet'o, kurio 
>>> eilute atitinka Analize!A5 vertei
>>> gal sunkiai cai as paaiskinau, ne programeris :(  bet kitur nezinau ar 
>>> gauciau atsakyma...
>>> Aciu is anxto
>>>
>>> -- 
>>> ________________________________________
>>> Eina blondin dykuma ir velkasi mainos dureles.Karta..... Atsidaro
>>> dureli lang ir eina toliau.
>>>
>>>
>>
>>
>
>