Mypaperdue
Board Regular
- Joined
- Feb 10, 2015
- Messages
- 112
Good Morning/afternoon,
What I am trying to accomplish here is rather simple but for some odd reason, I am having some difficulty with it. I have number 1-10 listed in cell A and number 11-20 listed in cell B. Now in cell D I have number 1-20 listed randomly in no particular order. Pretty much from this point what I want in cell H is "=IF(D1="9","19", IF(D2="1","11")) I want it to shoe the mirror Etc The formula work perfectly but I have to put that formula in the cell so many times to show the numbers come out vise versa as well. My question is, How can I shorten this formula.
Also I seem to ran into some problem when the numbers are fairly large. for instance if I have a three digit number listed in cell D such as 315, I would want CELL H J I to have "=IF(LEFT(D1="3","13")) but i am getting a error message with that formula and I don't know what I am doing wrong. Thanks in advance for all the help...
<tbody>
</tbody>
What I am trying to accomplish here is rather simple but for some odd reason, I am having some difficulty with it. I have number 1-10 listed in cell A and number 11-20 listed in cell B. Now in cell D I have number 1-20 listed randomly in no particular order. Pretty much from this point what I want in cell H is "=IF(D1="9","19", IF(D2="1","11")) I want it to shoe the mirror Etc The formula work perfectly but I have to put that formula in the cell so many times to show the numbers come out vise versa as well. My question is, How can I shorten this formula.
Also I seem to ran into some problem when the numbers are fairly large. for instance if I have a three digit number listed in cell D such as 315, I would want CELL H J I to have "=IF(LEFT(D1="3","13")) but i am getting a error message with that formula and I don't know what I am doing wrong. Thanks in advance for all the help...
A | B | C | D | E | F | G | H | I | J | |
1 | 1 | 11 | 9 | 19 | ||||||
2 | 2 | 12 | 1 | 11 | ||||||
3 | 3 | 13 | 17 | 7 | ||||||
4 | 4 | 14 | 5 | 15 | ||||||
5 | 5 | 15 | 13 | |||||||
6 | 6 | 16 | 19 | |||||||
7 | 7 | 17 | 1 | |||||||
8 | 8 | 18 | 3 | |||||||
9 | 9 | 19 | 7 | |||||||
10 | 10 | 20 | 286 | 12 | 18 | 16 | ||||
11 | 315 | 13 | 11 | 15 |
<tbody>
</tbody>