ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   поиск одной ячейки в диапазоне ячеек (https://www.excelbanter.com/excel-programming/408877-%D0%BF%D0%BE%D0%B8%D1%81%D0%BA-%D0%BE%D0%B4%D0%BD%D0%BE%D0%B9-%D1%8F%D1%87%D0%B5%D0%B9%D0%BA%D0%B8-%D0%B2-%D0%B4%D0%B8%D0%B0%D0%BF%D0%B0%D0%B7%D0%BE%D0%BD%D0%B5-%D1%8F%D1%87%D0%B5%D0%B5%D0%BA.html)

viki

поиск одной ячейки в диапазоне ячеек
 
Как сделать автоматический поиск одной ячейки в диапазоне других ячеек?

Суть в том что бы искало в масиве столбца A, каждую яцейку столбца В, а
результат выдавало как ЛОЖЬ или ИСТИНА в столбце C

cht13er


 
On Apr 5, 9:06 am, viki wrote:

?

A, ,
C


Can you ask that in English for the rest of us, please?

Chris

roger

????? ????? ?????? ? ????????? ?????
 
"viki" wrote in message
...
??? ??????? ?????????????? ????? ????? ?????? ? ????????? ?????? ??????

???? ? ??? ??? ?? ?????? ? ?????? ??????? A, ?????? ?????? ??????? ?, ?
????????? ???????? ??? ???? ??? ?????? ? ??????? C


BabelFish says:

The search for one cell in the range of the cells

How to make an automatic search for one cell in the range of other cells?
Essence in the fact that would search for into masive of column A, each
yatseyku of column v, and result it issued as LIE or TRUTH in column C

I wonder what "yatseyku" means?

Public Sub search()
Dim i As Integer
Dim a As Range

With Sheet1
Set a = .Range("A1:A" & .Range("A1").End(xlDown).Row)
For i = 1 To .Range("B1").End(xlDown).Row
.Range("C" & i) = Not a.Find(.Range("B" & i), , xlValues, xlWhole) Is
Nothing
Next
End With

End Sub


--
roger



cht13er

????? ????? ?????? ? ????????? ?????
 
On Apr 6, 4:27 am, "roger" wrote:
"viki" wrote in message

...

??? ??????? ?????????????? ????? ????? ?????? ? ????????? ?????? ??????


???? ? ??? ??? ?? ?????? ? ?????? ??????? A, ?????? ?????? ??????? ?, ?
????????? ???????? ??? ???? ??? ?????? ? ??????? C


BabelFish says:

The search for one cell in the range of the cells

How to make an automatic search for one cell in the range of other cells?
Essence in the fact that would search for into masive of column A, each
yatseyku of column v, and result it issued as LIE or TRUTH in column C

I wonder what "yatseyku" means?

Public Sub search()
Dim i As Integer
Dim a As Range

With Sheet1
Set a = .Range("A1:A" & .Range("A1").End(xlDown).Row)
For i = 1 To .Range("B1").End(xlDown).Row
.Range("C" & i) = Not a.Find(.Range("B" & i), , xlValues, xlWhole) Is
Nothing
Next
End With

End Sub

--
roger


Wow, that's freakishly dedicated answering :)

C


All times are GMT +1. The time now is 07:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com