Metaripley
Board Regular
- Joined
- Dec 31, 2014
- Messages
- 93
I want to use the search function but from a list.
Ive got a column with a string of text. (A)
And Ive got a column with a short string of text. (B)
And a column with a category corresponding with the short string. (C)
Now I want to use the list of short string to find the same in the long string list. (D)
List (B/C) contain more then 64 rows.
I used a consecutive If function but it cannot contain more then 64.
=IF(ISNUMBER(SEARCH(_18,P5)),_18.1,IF(ISNUMBER(SEARCH(_19,P5)),_19.1,IF(ISNUMBER(SEARCH(_20,P5)),_20.1,IF(ISNUMBER(SEARCH(_21,P5)),_21.1,IF(ISNUMBER(SEARCH(_22,P5)),_22.1,IF(ISNUMBER(SEARCH(_23,P5)),_23.1,IF(ISNUMBER(SEARCH(_24,P5)),_24.1,IF(ISNUMBER(SEARCH(_25,P5)),_25.1,IF(ISNUMBER(SEARCH(_26,P5)),_26.1,IF(ISNUMBER(SEARCH(_27,P5))
Can I combine a MATCH/SEARCH function in any way maybe?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]AUTOSHOP VAN DENHEUSDEN-ZO[/TD]
[TD]Total[/TD]
[TD]Car[/TD]
[TD]Car[/TD]
[/TR]
[TR]
[TD]APOTHEEK DEMEULEBERINGEN[/TD]
[TD]Stockpaal[/TD]
[TD]Home[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BVBA T HOF BERINGEN[/TD]
[TD]Park[/TD]
[TD]Car[/TD]
[TD]Dokter[/TD]
[/TR]
[TR]
[TD]AMERIKAAMSE STOCPAAL[/TD]
[TD]Auto[/TD]
[TD]Car[/TD]
[TD]Home[/TD]
[/TR]
[TR]
[TD]DR. JOHAN VANDERLUMMEN[/TD]
[TD]Hof[/TD]
[TD]Dokter[/TD]
[TD]Dokter[/TD]
[/TR]
[TR]
[TD]TOTAL NB000629 TTESSENDERL[/TD]
[TD]vanderlummen[/TD]
[TD]Dokter[/TD]
[TD]Car[/TD]
[/TR]
[TR]
[TD]Q PARK ASTRIDPLEIN[/TD]
[TD][/TD]
[TD][/TD]
[TD]Car[/TD]
[/TR]
[TR]
[TD]P - DEN HAAG 48068[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AUTOSHOP VAN DENHEUSDEN-ZO[/TD]
[TD][/TD]
[TD][/TD]
[TD]Car[/TD]
[/TR]
</tbody>[/TABLE]
Ive got a column with a string of text. (A)
And Ive got a column with a short string of text. (B)
And a column with a category corresponding with the short string. (C)
Now I want to use the list of short string to find the same in the long string list. (D)
List (B/C) contain more then 64 rows.
I used a consecutive If function but it cannot contain more then 64.
=IF(ISNUMBER(SEARCH(_18,P5)),_18.1,IF(ISNUMBER(SEARCH(_19,P5)),_19.1,IF(ISNUMBER(SEARCH(_20,P5)),_20.1,IF(ISNUMBER(SEARCH(_21,P5)),_21.1,IF(ISNUMBER(SEARCH(_22,P5)),_22.1,IF(ISNUMBER(SEARCH(_23,P5)),_23.1,IF(ISNUMBER(SEARCH(_24,P5)),_24.1,IF(ISNUMBER(SEARCH(_25,P5)),_25.1,IF(ISNUMBER(SEARCH(_26,P5)),_26.1,IF(ISNUMBER(SEARCH(_27,P5))
Can I combine a MATCH/SEARCH function in any way maybe?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]AUTOSHOP VAN DENHEUSDEN-ZO[/TD]
[TD]Total[/TD]
[TD]Car[/TD]
[TD]Car[/TD]
[/TR]
[TR]
[TD]APOTHEEK DEMEULEBERINGEN[/TD]
[TD]Stockpaal[/TD]
[TD]Home[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BVBA T HOF BERINGEN[/TD]
[TD]Park[/TD]
[TD]Car[/TD]
[TD]Dokter[/TD]
[/TR]
[TR]
[TD]AMERIKAAMSE STOCPAAL[/TD]
[TD]Auto[/TD]
[TD]Car[/TD]
[TD]Home[/TD]
[/TR]
[TR]
[TD]DR. JOHAN VANDERLUMMEN[/TD]
[TD]Hof[/TD]
[TD]Dokter[/TD]
[TD]Dokter[/TD]
[/TR]
[TR]
[TD]TOTAL NB000629 TTESSENDERL[/TD]
[TD]vanderlummen[/TD]
[TD]Dokter[/TD]
[TD]Car[/TD]
[/TR]
[TR]
[TD]Q PARK ASTRIDPLEIN[/TD]
[TD][/TD]
[TD][/TD]
[TD]Car[/TD]
[/TR]
[TR]
[TD]P - DEN HAAG 48068[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AUTOSHOP VAN DENHEUSDEN-ZO[/TD]
[TD][/TD]
[TD][/TD]
[TD]Car[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: