Get index of item

Hi everyone,
If I have a list of values (for example {1 -4 5 -9 0 7}, how can I get the index of values that is negative? (index of value -4 and -9 in the given list)
Thank you.

Hello @Hoc_Em,

Here you go…

let me know if this doesn’t solve your problem.

Happy to help.

Ritesh

3 Likes

3 Likes

Dear Ritesh_Chandawar and Vikram_Subbaiah,
Thank you very much for providing your quick and great solutions.