Hello everyone,
Kindly help with the formula that could search with the given query id (column F) for the highest %Gene identity (column D), which could fetch the values for %gene identity (column I), the gene (column H) and relevant accession (column G). However, Query ID should match the highest % Gene identity only once.
For example, the query id: 27504.m000612, once matched with Raf29 having the overall highest %Gene identity (70.5%) will not be searched again eventhough it has higher %Gene identity for Raf21 (69.9%) than that of 27471.m000401 (Raf21: 68.9%). Now, the query ID: 27471.m000401, could be alloted with the following/successive highest (which is 2nd in this case) Raf21 (68.9%).
However, if the highest/following highest %Gene identity is exactly similar between two query IDs then it could indicate as conflict.
I have similar 300 query ids with such data. I would appreciate it if you could provide the formulas to fetch values for column G, H and I from the given query as in the column F, thanks in advance.
Kindly help with the formula that could search with the given query id (column F) for the highest %Gene identity (column D), which could fetch the values for %gene identity (column I), the gene (column H) and relevant accession (column G). However, Query ID should match the highest % Gene identity only once.
For example, the query id: 27504.m000612, once matched with Raf29 having the overall highest %Gene identity (70.5%) will not be searched again eventhough it has higher %Gene identity for Raf21 (69.9%) than that of 27471.m000401 (Raf21: 68.9%). Now, the query ID: 27471.m000401, could be alloted with the following/successive highest (which is 2nd in this case) Raf21 (68.9%).
However, if the highest/following highest %Gene identity is exactly similar between two query IDs then it could indicate as conflict.
I have similar 300 query ids with such data. I would appreciate it if you could provide the formulas to fetch values for column G, H and I from the given query as in the column F, thanks in advance.
Mrexcel query.xlsx | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | Query ID | Accession | Gene | % Gene Identity | Query ID | Accession | Gene | % Gene Identity | |||
2 | 27471.m000401 | AT4G35780 | Raf29 | 69.1 | 27471.m000401 | AT2G17700 | Raf21 | 68.9 | |||
3 | 27471.m000401 | AT2G17700 | Raf21 | 68.9 | 27504.m000612 | AT4G35780 | Raf29 | 70.5 | |||
4 | 27471.m000401 | AT4G38470 | Raf30 | 66.3 | 27504.m000613 | AT4G38470 | Raf30 | Conflict | |||
5 | 27504.m000612 | AT4G35780 | Raf29 | 70.5 | 27894.m000774 | AT4G38470 | Raf30 | Conflict | |||
6 | 27504.m000612 | AT2G17700 | Raf21 | 69.9 | |||||||
7 | 27504.m000612 | AT3G06630 | Raf8 | 68.4 | |||||||
8 | 27504.m000612 | AT4G38470 | Raf30 | 67.3 | |||||||
9 | 27504.m000613 | AT4G35780 | Raf29 | 70 | |||||||
10 | 27504.m000613 | AT2G17700 | Raf21 | 67.4 | |||||||
11 | 27504.m000613 | AT4G38470 | Raf30 | 66.2 | |||||||
12 | 27894.m000774 | AT4G38470 | Raf30 | 66.2 | |||||||
13 | 27894.m000774 | AT4G14780 | Raf26 | 64.8 | |||||||
14 | 27894.m000774 | AT4G35780 | Raf29 | 63.7 | |||||||
Sheet1 |