New expression: INDEXOF()

INDEXOF(item,list) : Returns the index value of item in list.

Example:

INDEXOF( “g” , LIST( “t” , “h” , “g” ) )

returns 3

Status Under Review
43 17 1,103
17 Comments
GreenFlux
Gold 1
Gold 1

Agreed, we could really use this function. I’m out of votes though.

What if the value occurs in the list more than once?

Return the LIST of positions, or the first occurrence’s position?

I’d also like to see an optional 3rd parameter for starting position.

This way you wouldn’t have to SPLIT() the list first if you want to search from somewhere in the middle.

Jonathan_S
New Member

Limited to Votes,
But Im voting on this in my Heart.

Vigneshvaran_G
New Member

i have two tables table 1 and table 2 i need the value of column(maildId) from table1,that are not present as part of table2
note :both tables can have same mailId

Can you help with expression??

Koichi_Tsuji
Gold 4
Gold 4

Test dereference

Vigneshvaran_G
New Member

no not like this
i want to select a list and display that list in dropdown here is my condiiton:
Select(Environment[custrName],Environment[customerMailId]<>CustomerComplete[CstMailId])

but this aint working

Koichi_Tsuji
Gold 4
Gold 4

This syntax is incorrect and does not make sense.

Vigneshvaran_G
New Member

No am not facing any syntax error

syntax is fine but am not getting the expected result
can you help out
Select(Environment[custrName],Environment[customerMailId]<>CustomerComplete[CstMailId])

LeventK
Silver 5
Silver 5

@Vigneshvaran_G
You may not be getting an error, but your SELECT(…) expression syntax is not correct.

WillowMobileSys
Platinum 1
Platinum 1

Really could use this today to apply ranking! I found the workarounds and will try one of those.

Status changed to: Open
Pratyusha
Community Manager
Community Manager
 
Status changed to: Open
Pratyusha
Community Manager
Community Manager
 
Status changed to: Under Review
Roderick
Community Manager
Community Manager
 
Status changed to: Under Review
Roderick
Community Manager
Community Manager
 
Rifad
Silver 5
Silver 5

Any updates on this ? 

AleksiAlkio
Gold 4
Gold 4

COUNT(SPLIT(INDEX(SPLIT("A,B,C,D","C"),1)," , ")) should do the trick.