Hi, I want to write conditions in a column and I was told to use Excel functions but there is a limit to conditions. Here is the problem:
There is a column of numbers (A) and I want to put conditions in the corresponding cells in column B. The conditions are:
IF 0<Ai<100 then write 50
otherwise IF 100<Ai<150 then write 52
otherwise IF 150<Ai<200 then write 54
...
...
...
...
I have 70 ranges and therefore 70 conditions.The conditions don't follow a pattern. The beginning of the range is 0 and the end is 8000. There are 1536 rows (A2 to A1538). I just want to know how to write several IF conditions after each other. The below are some ranges I want to write:
34-100 50.0
100-150 52.0
150-200 55.0
200-250 58.0
250-300 61.0
300-350 64.0
350-400 67.0
400-450 70.0
450-500 73.0
500-550 76.0
550-600 79.0
600-650 82.0
650-700 85.0
700-750 88.0
750-800 91.0
800-850 94.0
850-900 97.0
900-950 98.5
950-1000 100.0
1000-1100 100.0
1100-1200 102.5
1200-1300 105.0
1300-1400 107.5
1400-1500 110.0
1500-1600 112.5
1600-1700 115.0
1700-1800 117.5
1800-1900 119.0
1900-2000 120.0
2000-2100 120.0
2100-2200 122.5
2200-2300 125.0
2300-2400 127.5
2400-2500 130.0
2500-2600 132.5
2600-2700 135.0
2700-2800 137.5
2800-2900 139.0
2900-3000 140.0
.
.
.
.
Thanks a lot for Helping
There is a column of numbers (A) and I want to put conditions in the corresponding cells in column B. The conditions are:
IF 0<Ai<100 then write 50
otherwise IF 100<Ai<150 then write 52
otherwise IF 150<Ai<200 then write 54
...
...
...
...
I have 70 ranges and therefore 70 conditions.The conditions don't follow a pattern. The beginning of the range is 0 and the end is 8000. There are 1536 rows (A2 to A1538). I just want to know how to write several IF conditions after each other. The below are some ranges I want to write:
34-100 50.0
100-150 52.0
150-200 55.0
200-250 58.0
250-300 61.0
300-350 64.0
350-400 67.0
400-450 70.0
450-500 73.0
500-550 76.0
550-600 79.0
600-650 82.0
650-700 85.0
700-750 88.0
750-800 91.0
800-850 94.0
850-900 97.0
900-950 98.5
950-1000 100.0
1000-1100 100.0
1100-1200 102.5
1200-1300 105.0
1300-1400 107.5
1400-1500 110.0
1500-1600 112.5
1600-1700 115.0
1700-1800 117.5
1800-1900 119.0
1900-2000 120.0
2000-2100 120.0
2100-2200 122.5
2200-2300 125.0
2300-2400 127.5
2400-2500 130.0
2500-2600 132.5
2600-2700 135.0
2700-2800 137.5
2800-2900 139.0
2900-3000 140.0
.
.
.
.
Thanks a lot for Helping