Hello All,
I am trying to create an Output sheet that gives me the result from the Input sheet.
The input sheet match all the similar criteria with other two sheet (Table array 1 and Table array 2).
I tried to combine the formula in the Output sheet to use only one column, but to have order results (it means to have no duplicate criteria and no blank cells between the criteria cells) I need to use more then one column.
The file looks like this (but in this case is an example, since I need to use a formula that matches all the criteria of the column A of the sheet Table array 1, Table array 2 and Input)
[TABLE="width: 115"]
<colgroup><col></colgroup><tbody>[TR]
[TD]table array 1 (sheet1)[/TD]
[/TR]
[TR]
[TD]subject 1[/TD]
[/TR]
[TR]
[TD]subject 2[/TD]
[/TR]
[TR]
[TD]subject 3[/TD]
[/TR]
[TR]
[TD]subject 4[/TD]
[/TR]
[TR]
[TD]subject 5[/TD]
[/TR]
[TR]
[TD]subject 6[/TD]
[/TR]
[TR]
[TD]subject 7[/TD]
[/TR]
[TR]
[TD]subject 8[/TD]
[/TR]
[TR]
[TD]subject 9[/TD]
[/TR]
[TR]
[TD]subject 10[/TD]
[/TR]
[TR]
[TD]subject 11[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 115"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Table array 2 (sheet2)[/TD]
[/TR]
[TR]
[TD]subject f[/TD]
[/TR]
[TR]
[TD]subject p[/TD]
[/TR]
[TR]
[TD]subject n[/TD]
[/TR]
[TR]
[TD]subject l[/TD]
[/TR]
[TR]
[TD]subject t[/TD]
[/TR]
[TR]
[TD]subject a[/TD]
[/TR]
[TR]
[TD]subject b[/TD]
[/TR]
[TR]
[TD]subject c[/TD]
[/TR]
[TR]
[TD]subject d[/TD]
[/TR]
[TR]
[TD]subject e[/TD]
[/TR]
[TR]
[TD]subject e
<style><!--table {mso-displayed-decimal-separator:"\,"; mso-displayed-thousand-separator:"\.";}@page {margin:.75in .7in .75in .7in; mso-header-margin:.3in; mso-footer-margin:.3in;}td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignoreadding; color:black; font-size:12.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;}.xl63 {color:#222222; font-size:13.0pt; font-family:Verdana; mso-generic-font-family:auto; mso-font-charset:0;}--></style>[TABLE="width: 87"]
<!--StartFragment--> <colgroup><col width="87" style="width:65pt"> </colgroup><tbody>[TR]
[TD="width: 87"]lookup value (sheet-input)[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject n[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 5[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject w[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 1[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 2[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject e[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject e[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 6[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 4[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject s[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject w[/TD]
[/TR]
<!--EndFragment--></tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
The formula that I am using in the column A of the sheet-Output, starting from the cell A2, is:
=IF(ISERROR(VLOOKUP(input!A2,'table array 1'!$A:$A,1,0)),IF(ISERROR(VLOOKUP(input!A2,'table array 2'!$A:$A,1,0)),"",input!A2),input!A2)
The result will look like:
[TABLE="width: 92"]
<colgroup><col></colgroup><tbody>[TR]
[TD]subject n[/TD]
[/TR]
[TR]
[TD]subject 5[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]subject 1[/TD]
[/TR]
[TR]
[TD]subject 2[/TD]
[/TR]
[TR]
[TD]subject e[/TD]
[/TR]
[TR]
[TD]subject e[/TD]
[/TR]
[TR]
[TD]subject 6[/TD]
[/TR]
[TR]
[TD]subject 4[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]In this case, how can I combine this formula by removing duplicates and white cells in the column A of the sheet-Output?
Thank you for your time. I am trying to solve this issue from 1 month . [/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to create an Output sheet that gives me the result from the Input sheet.
The input sheet match all the similar criteria with other two sheet (Table array 1 and Table array 2).
I tried to combine the formula in the Output sheet to use only one column, but to have order results (it means to have no duplicate criteria and no blank cells between the criteria cells) I need to use more then one column.
The file looks like this (but in this case is an example, since I need to use a formula that matches all the criteria of the column A of the sheet Table array 1, Table array 2 and Input)
[TABLE="width: 115"]
<colgroup><col></colgroup><tbody>[TR]
[TD]table array 1 (sheet1)[/TD]
[/TR]
[TR]
[TD]subject 1[/TD]
[/TR]
[TR]
[TD]subject 2[/TD]
[/TR]
[TR]
[TD]subject 3[/TD]
[/TR]
[TR]
[TD]subject 4[/TD]
[/TR]
[TR]
[TD]subject 5[/TD]
[/TR]
[TR]
[TD]subject 6[/TD]
[/TR]
[TR]
[TD]subject 7[/TD]
[/TR]
[TR]
[TD]subject 8[/TD]
[/TR]
[TR]
[TD]subject 9[/TD]
[/TR]
[TR]
[TD]subject 10[/TD]
[/TR]
[TR]
[TD]subject 11[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 115"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Table array 2 (sheet2)[/TD]
[/TR]
[TR]
[TD]subject f[/TD]
[/TR]
[TR]
[TD]subject p[/TD]
[/TR]
[TR]
[TD]subject n[/TD]
[/TR]
[TR]
[TD]subject l[/TD]
[/TR]
[TR]
[TD]subject t[/TD]
[/TR]
[TR]
[TD]subject a[/TD]
[/TR]
[TR]
[TD]subject b[/TD]
[/TR]
[TR]
[TD]subject c[/TD]
[/TR]
[TR]
[TD]subject d[/TD]
[/TR]
[TR]
[TD]subject e[/TD]
[/TR]
[TR]
[TD]subject e
<style><!--table {mso-displayed-decimal-separator:"\,"; mso-displayed-thousand-separator:"\.";}@page {margin:.75in .7in .75in .7in; mso-header-margin:.3in; mso-footer-margin:.3in;}td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignoreadding; color:black; font-size:12.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;}.xl63 {color:#222222; font-size:13.0pt; font-family:Verdana; mso-generic-font-family:auto; mso-font-charset:0;}--></style>[TABLE="width: 87"]
<!--StartFragment--> <colgroup><col width="87" style="width:65pt"> </colgroup><tbody>[TR]
[TD="width: 87"]lookup value (sheet-input)[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject n[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 5[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject w[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 1[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 2[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject e[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject e[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 6[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject 4[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject s[/TD]
[/TR]
[TR]
[TD="class: xl63"]subject w[/TD]
[/TR]
<!--EndFragment--></tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
The formula that I am using in the column A of the sheet-Output, starting from the cell A2, is:
=IF(ISERROR(VLOOKUP(input!A2,'table array 1'!$A:$A,1,0)),IF(ISERROR(VLOOKUP(input!A2,'table array 2'!$A:$A,1,0)),"",input!A2),input!A2)
The result will look like:
[TABLE="width: 92"]
<colgroup><col></colgroup><tbody>[TR]
[TD]subject n[/TD]
[/TR]
[TR]
[TD]subject 5[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]subject 1[/TD]
[/TR]
[TR]
[TD]subject 2[/TD]
[/TR]
[TR]
[TD]subject e[/TD]
[/TR]
[TR]
[TD]subject e[/TD]
[/TR]
[TR]
[TD]subject 6[/TD]
[/TR]
[TR]
[TD]subject 4[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]In this case, how can I combine this formula by removing duplicates and white cells in the column A of the sheet-Output?
Thank you for your time. I am trying to solve this issue from 1 month . [/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]