setting up value buckets including negative values

Options

Hi all, Im working on a formula in a column labeled "bucket days." Im using a column labeled # days as the reference column. The positive day buckets work fine, but the negative day bucket values are not being placed properly.

For example when the value in # days is -46, its being labeled "-1 to -30 days". The value of -77 is being labeled "-31—60 days".

Those with value less than -91 are turning up blank as requested.

Here is my formula:

=IF([DAYS FROM DUE DATE TO TODAY]@row < -91, "", IF([DAYS FROM DUE DATE TO TODAY]@row <= -90, "-61-90 days", IF([DAYS FROM DUE DATE TO TODAY]@row <= -60, "-31 to-60 days", IF([DAYS FROM DUE DATE TO TODAY]@row <= -1, "-1 to -30 days", IF([DAYS FROM DUE DATE TO TODAY]@row <= 5, "1-5 days", IF([DAYS FROM DUE DATE TO TODAY]@row <= 10, "6-10 days", IF([DAYS FROM DUE DATE TO TODAY]@row <= 15, "11-15 days", IF([DAYS FROM DUE DATE TO TODAY]@row < 60, "16 to 60 days", IF([DAYS FROM DUE DATE TO TODAY]@row > 60, "")))))))))

Answers