Hi Frank
Thank you for pointing out my mistake
I tried to explain what I need and will attach the file again
mediafire.com/file/6iqaqheorxk4525/datenumero2a.xlsx/file
Kind regards
Raj
I'm sorry Raj, but you have not explained anything. I'm even more confused than I was before. Have you actually changed ANYTHING on that spreadsheet to make things clearer?
Can you explain what you think is "A combination". Do you mean the number has a partner in another table, the table you call "combination table" ?
so If I2 is either 4,8,2 or 7 then the number in the SECOND column of "Combinations" is returned to N3 ?? Is that what you mean ??
You need to explain this :-
"ie if I2 = 4 it has a combination with 8 from reftabl so N3 will read from the table and copy across".
Do you mean if I2=4 then from the second column of the (combination) table I need to take the value 8 and place it in N3 ?? Then refttable does the rest on line 3?
Are you saying theres only 4 pairs of combinations ? What if I2 is not 4,8,2, or 7 ?
You havent explained the 3,6,9 or the 6,3,9 or the 9,3,6 on the next 3 rows that I clearly asked you to explain. Why are they there ?
e.g
You need to explain your "combination table" more clearly. Why are there 4 rows of 2 numbers and three rows of three numbers. What am I supposed to do with this ?? What if I2 is 3,6, or 9 ?? what am I supposed to do then ??
If its 3, do I return 6 ? or do I return 9 ? its confusing.
You need to explain this statement :-
"If the value in I2 is 1 , it will read the value from reftabl and place in N2 to S2" NO you cannot do this, its a circular function .. you cant feed the result of a search or calculation back in to the cell that started it. Its an illegal call. N2 is already a FORMULA containing a RESULT.
Did you mean put it (number 1) and the results from reftable in cells I3 to S3 ? (instead of taking a number from the second column combinations table ?)
Have a long think. Imagine YOU are the programming the computer. How would you list the steps that are taken starting with a value in I2.
Next step .. do this ....IF this happens, do this or if that happens do something else
Next step..do this ....IF this happens, do this or if that happens do something else
No guesswork for computers , it all has to thought through and set in stone.
Frank