Hello,
I have data in three columns, and 100 rows of data. Like so:
Sunshine 2 3
Moon 1 2
Where Sunshine is in one column, 2 in another, 3 in another.
I want Excel to make a new display using those values. This display has:
1 2 3 4
Sunshine
Moon
What I want Excel to do is: in the cell below "1" look to see the test next to it, in this case "Sunshine" then look and see if there is a "1" in the original data set in the second position. In my example, the number is 2, and if there isn't a 1, I want excel to input "n/a". Then in the cell below "2" I want excel to look for the text in the column two cells to the left, still Sunshine, then look up and see if there is a 2. If there is, I want it to input the value 3.
Some of my data has 12 variables, so for example
Stars 1 4
Stars 2 6
Stars 3 8
and would want excel to make something that looked like
1 2 3 4 5 6 7 8
Sunshine na 3 na etc
Moon 2 na etc
Stars 4 6 8 etc
Is there any way to do that? I am new to excel and just now learning about IF functions, so I want to ask because I think it might take me awhile to figure out on my own. I will return the favor!
Bookmarks