Formula Cluster help please

chef

Well-known Member
Joined
Jul 10, 2002
Messages
610
Office Version
  1. 365
  2. 2016
Hi
I am getting myself in knots trying out all sorts if and and statements and would appreciate some help with formula starting at cell Z6

I have a range of values in column Q and in column Z, I am trying to put in some values so I can cluster payments with following results

If 0 then1, 1-50 =2, 51-100=3, 101-150=4, 151-200 =5, 201-250 =6, 251-300 = 7 and if >300 then =8

Any help would be greatly appreciated
regards
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
For a value in cell Q1, enter this formula in cell Z1:
Excel Formula:
=MIN(INT((Q1+49)/50)+1,8)
 
Upvote 0
Solution
wow, wow then more wow
worked perfect and that's just genius !!

thank you so much
 
Upvote 0
You are welcome.
Glad I was able to help!

Here is another very similar, but slightly simpler version that will yield the same results:
Excel Formula:
=MIN(INT((Q1+99)/50),8)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top