Excel Delete data not in range -
i have range of data on many cells.
1,2,3,4,5,6,7,8,9
and want reuslt use args, (range, 3,7) data changes range.
3,4,5,6,7
like formula, except actual data gets deleted.
public function makealist(rng range, u long, l long) string dim r range, s string each r in rng if r.value < l or r.value > u s = s & "," & r.value end if next r makealist = mid(s, 2) end function
let cell a1
contain 1,2,3,4,5,6,7,8,9
.
then in a2
use =mid(a1,3,7)
, take 3rd 7th elements inside a1
.
Comments
Post a Comment