bezmon1985
New Member
- Joined
- Mar 7, 2018
- Messages
- 3
hiya
having a little trouble with a Sumproduct formula. Below is what i would like to achieve
Cost of journey determine by length
0-29 Miles @ £1.7
30-50 Miles @ £1.6
51-80 Miles @ £1.4
80+ Miles @ £1.3
i have entered the formula (c21 being where i enter the mileage)
=SUMPRODUCT(--(C21>{0,29,30,50,51,80,81,9999}),--(C21-{0,29,30,50,51,80,81,9999}),{1.7,-0.1,-0.3,-0.4})
but it only seems to bring the correct amount upto 30 miles thereafter the result is incorrect!
Any help would be reatly appreciated
Many thanks for taking the time to look over my woes
Bezmon1985
having a little trouble with a Sumproduct formula. Below is what i would like to achieve
Cost of journey determine by length
0-29 Miles @ £1.7
30-50 Miles @ £1.6
51-80 Miles @ £1.4
80+ Miles @ £1.3
i have entered the formula (c21 being where i enter the mileage)
=SUMPRODUCT(--(C21>{0,29,30,50,51,80,81,9999}),--(C21-{0,29,30,50,51,80,81,9999}),{1.7,-0.1,-0.3,-0.4})
but it only seems to bring the correct amount upto 30 miles thereafter the result is incorrect!
Any help would be reatly appreciated
Many thanks for taking the time to look over my woes
Bezmon1985