I have the following column:
Column 1
1
10
5
100
50
1000
50000
2000
100
1000
3000
...
I would like to assign every row in Col1 with a value >= 1000 the value 1000 in Col 2 and every value <= 100 the value 100.
Column 1 Column 2
1 100
10 100
5 100
100 100
50 100
1000 1000
50000 1000
2000 1000
100 100
1000 1000
3000 1000
...
How can I do this?
You can use
clip
:All values lower than 100 are set to 100; all values greater than 1000 are set to 1000.