hello @all, hello @Morten, hello @John Denker,
i've tried to code two functions 'bin_range' and 'dec_range' to provide the functionality i'm looking for,
and would be happy if someone experienced can take the time and have a look on it.
i started an 'issue' for it in 'https://gitlab.gnome.org/GNOME/gnumeric/-/issues/591', there you find the code and a testsheet.
weaknesses i'm aware of but can't solve without help are:
respecting 'long doubles',
corner cases which need handling by defined limits or specific variables,
tia, best regards,
b.