# Classify the Data

#### huda

##### New Member
Hi,
Can someone help me how can i class a set of data (probably 6 column) into 3 class range using excel function?

For example:

 DO INDEX INDEX BOD INDEX INDEX COD INDEX INDEX SS INDEX pH Index AN INDEX 44 79 69 51 29 31 27 88 72 57 99 5 28 77 60 56 98 56 14 73 73 80 74 32 45 92 72 95 86 26 59 92 88 55 37 65 25 61 44 55 93 28 36 73 53 71 98 0 23 77 61 59 96 61 84 17 18 78 90 38

Class Range :

Class I : 81-100
Class II : 60-80
Class III : 0-59

I can't do by row because each row have different target row and class. I have 1000++ of rows.

### Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

#### Joe4

Welcome to the Board!

Your question is a bit unclear.
You have 6 columns (numbers) per row. So which one are you looking at to determine the class?

Maybe it would be helpful if you walk us through one of the calculations so we can see exactly how you want this to work.

#### huda

##### New Member
Welcome to the Board!

Your question is a bit unclear.
You have 6 columns (numbers) per row. So which one are you looking at to determine the class?

Maybe it would be helpful if you walk us through one of the calculations so we can see exactly how you want this to work.
Hi, i would like to determine all 6 variables based on class I , II or III i mentioned earlier.

For example Do Index Index for 1st row, the value is 44. So that value is belong to class III.

Another example: BOD Index Index is 79, so that value belong to class II.

I have to class 577 rows. Do you have any idea about that?

#### Joe4

Hi, i would like to determine all 6 variables based on class I , II or III i mentioned earlier.

For example Do Index Index for 1st row, the value is 44. So that value is belong to class III.

Another example: BOD Index Index is 79, so that value belong to class II.

I have to class 577 rows. Do you have any idea about that?
But where do you expect these returned classifications to go, in relation to your original data?

#### huda

##### New Member
But where do you expect these returned classifications to go, in relation to your original

#### huda

##### New Member
I solved it using conditional formatting. but now, how to find minimum value for each of Class by row?

Class I in Blue
Class II in Green
Class III in Red

#### Attachments

• photo_2022-06-14_09-38-43.jpg
80.1 KB · Views: 3

Replies
3
Views
89
Replies
6
Views
329
Replies
4
Views
830
Replies
4
Views
451
Replies
0
Views
178

1,181,616
Messages
5,930,965
Members
436,767
Latest member
Langaws

### 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.

### Which adblocker are you using?

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

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