Gulfcourse
New Member
- Joined
- Nov 5, 2023
- Messages
- 32
- Office Version
- 365
- Platform
- Windows
I used to use if then else in Crystal Reporting but haven't figured it out in Excel.
I have a column with rows of cells with different percentages in them, let's just say Column Q rows Q2 through Q30.
In Column T, T2 through T30 I would like to put a number based on whats in Q.
Tte numbers in Q range from 2% to 100% and what I want is if
the cell in column Q2 is between 90 and 100 the put 100 in T2
the cell in column Q2 is between 89 and 80 the put 90 in T2
the cell in column Q2 is between 79 and 70 the put 80 in T2
the cell in column Q2 is between 69 and 60 the put 70 in T2
the cell in column Q2 is between 59 and 50 the put 60 in T2
the cell in column Q2 is between 49 and 40 the put 50 in T2
the cell in column Q2 is between 39 and 30 the put 40 in T2
the cell in column Q2 is between 29 and 20 the put 30 in T2
the cell in column Q2 is between 19 and 10 the put 20 in T2
the cell in column Q2 is between 9 and 1 the put 10 in T2
and I would like to do that for all the rows, evaluating the cell in Q and putting the appropriate result in Q, and ideas?
I would like it to look like what I did manually in the image.
Thank you
I have a column with rows of cells with different percentages in them, let's just say Column Q rows Q2 through Q30.
In Column T, T2 through T30 I would like to put a number based on whats in Q.
Tte numbers in Q range from 2% to 100% and what I want is if
the cell in column Q2 is between 90 and 100 the put 100 in T2
the cell in column Q2 is between 89 and 80 the put 90 in T2
the cell in column Q2 is between 79 and 70 the put 80 in T2
the cell in column Q2 is between 69 and 60 the put 70 in T2
the cell in column Q2 is between 59 and 50 the put 60 in T2
the cell in column Q2 is between 49 and 40 the put 50 in T2
the cell in column Q2 is between 39 and 30 the put 40 in T2
the cell in column Q2 is between 29 and 20 the put 30 in T2
the cell in column Q2 is between 19 and 10 the put 20 in T2
the cell in column Q2 is between 9 and 1 the put 10 in T2
and I would like to do that for all the rows, evaluating the cell in Q and putting the appropriate result in Q, and ideas?
I would like it to look like what I did manually in the image.
Thank you