Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

Check to see if a value exists in a list?

10 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Pradhan

ungelesen,
11.03.2010, 22:04:0311.03.10
an
Hi and thanks again for your help out there...
Is there any function to test if a particular value exists in a list?
A simple example: Column A1= car; A2=train; A3=plane

In B2 I place "car". Is there a function which will return TRUE if B2 exists
in A1:A3, or false otherwise?

Thanks
Pradhan

T. Valko

ungelesen,
11.03.2010, 22:44:3511.03.10
an
One way...

=COUNTIF(A1:A3,B2)>0

--
Biff
Microsoft Excel MVP


"Pradhan" <Pra...@discussions.microsoft.com> wrote in message
news:D264540D-00D2-4F0B...@microsoft.com...

Jacob Skaria

ungelesen,
11.03.2010, 23:23:0211.03.10
an
Try
=IF(COUNTIF(A1:A3,B1),TRUE,FALSE)

--
Jacob

Teethless mama

ungelesen,
12.03.2010, 09:50:0112.03.10
an
=OR(INDEX(A1:A3=B2,))

Ashish Mathur

ungelesen,
14.03.2010, 08:40:0814.03.10
an
Hi,.

Array enter the following formula (Ctrl+Shift+Enter)

=B2=A1:A3

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Pradhan" <Pra...@discussions.microsoft.com> wrote in message
news:D264540D-00D2-4F0B...@microsoft.com...

0 neue Nachrichten