Hi suppose I have the following data as an example
[TABLE="width: 89"]
<colgroup><col></colgroup><tbody>[TR]
[TD]KB58[/TD]
[/TR]
[TR]
[TD]KB52[/TD]
[/TR]
[TR]
[TD]KB69[/TD]
[/TR]
[TR]
[TD]KB05[/TD]
[/TR]
[TR]
[TD]KB68[/TD]
[/TR]
[TR]
[TD]KB04[/TD]
[/TR]
[TR]
[TD]JY025
[/TD]
[/TR]
</tbody>[/TABLE]
and a lookup range as below
[TABLE="width: 237"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]KB6[/TD]
[TD="align: right"]130[/TD]
[/TR]
[TR]
[TD]KB5[/TD]
[TD="align: right"]130[/TD]
[/TR]
[TR]
[TD]KB2[/TD]
[TD="align: right"]125[/TD]
[/TR]
[TR]
[TD]KB1[/TD]
[TD="align: right"]120[/TD]
[/TR]
[TR]
[TD]KB0[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]JY025[/TD]
[TD="align: right"]180[/TD]
[/TR]
[TR]
[TD]JY015[/TD]
[TD="align: right"]140[/TD]
[/TR]
</tbody>[/TABLE]
basically I want to be able to add a cell/column in the first data set which will lookup the cell ie KB58 against the lookup range and give the amount if it contains the lookup value in the range. So in this case KB58 should be 130.
I would think this would be really easy to do but for some reason Excel tries to be difficult. I can do a vlookup for exact match so that JY025 and JY015 will be 180 and 140 respectively but the rest seem to give incorrect results (obviously).
I did a google to figure out what to do but didn't find a workable solution without involving convoluted formulas (which were not workable anyway for me) or vba (which I don't want) .
The excel file is an invoice sheet and the amounts in the lookup range would vary depending on customer or shipping etc. so lookup range has to be in a separate sheet
Hope I have been clear, please let me know what I need to give in order to make this easier to answer. Using Excel 2016 but the solution should work with anything over 2007.
[TABLE="width: 89"]
<colgroup><col></colgroup><tbody>[TR]
[TD]KB58[/TD]
[/TR]
[TR]
[TD]KB52[/TD]
[/TR]
[TR]
[TD]KB69[/TD]
[/TR]
[TR]
[TD]KB05[/TD]
[/TR]
[TR]
[TD]KB68[/TD]
[/TR]
[TR]
[TD]KB04[/TD]
[/TR]
[TR]
[TD]JY025
[/TD]
[/TR]
</tbody>[/TABLE]
and a lookup range as below
[TABLE="width: 237"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]KB6[/TD]
[TD="align: right"]130[/TD]
[/TR]
[TR]
[TD]KB5[/TD]
[TD="align: right"]130[/TD]
[/TR]
[TR]
[TD]KB2[/TD]
[TD="align: right"]125[/TD]
[/TR]
[TR]
[TD]KB1[/TD]
[TD="align: right"]120[/TD]
[/TR]
[TR]
[TD]KB0[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]JY025[/TD]
[TD="align: right"]180[/TD]
[/TR]
[TR]
[TD]JY015[/TD]
[TD="align: right"]140[/TD]
[/TR]
</tbody>[/TABLE]
basically I want to be able to add a cell/column in the first data set which will lookup the cell ie KB58 against the lookup range and give the amount if it contains the lookup value in the range. So in this case KB58 should be 130.
I would think this would be really easy to do but for some reason Excel tries to be difficult. I can do a vlookup for exact match so that JY025 and JY015 will be 180 and 140 respectively but the rest seem to give incorrect results (obviously).
I did a google to figure out what to do but didn't find a workable solution without involving convoluted formulas (which were not workable anyway for me) or vba (which I don't want) .
The excel file is an invoice sheet and the amounts in the lookup range would vary depending on customer or shipping etc. so lookup range has to be in a separate sheet
Hope I have been clear, please let me know what I need to give in order to make this easier to answer. Using Excel 2016 but the solution should work with anything over 2007.