smide
Board Regular
- Joined
- Dec 20, 2015
- Messages
- 164
- Office Version
- 2016
- Platform
- Windows
Hello.
In columns C and D (C3:D600) I have a product list (about 25 different products) and in columns F and G (F3:G600) their corresponding prices.
When product is in column C his price is in column F, and when product is in column D his price is in column G.
In column I there is a list of ALL products.
I need last value for each product - results should be in column J. (J3...)
example.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Products[/TD]
[TD="align: center"]Results[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]apple[/TD]
[TD]orange[/TD]
[TD][/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]5[/TD]
[TD][/TD]
[TD]apple[/TD]
[TD="align: center"]29[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]cookie[/TD]
[TD]flour[/TD]
[TD][/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]7[/TD]
[TD][/TD]
[TD]orange[/TD]
[TD="align: center"]8[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]toys[/TD]
[TD]apple[/TD]
[TD][/TD]
[TD="align: center"]18[/TD]
[TD="align: center"]2[/TD]
[TD][/TD]
[TD]cookie[/TD]
[TD="align: center"]6[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD]orange[/TD]
[TD]flour[/TD]
[TD][/TD]
[TD="align: center"]14[/TD]
[TD="align: center"]31[/TD]
[TD][/TD]
[TD]flour[/TD]
[TD="align: center"]31[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD]cookie[/TD]
[TD]apple[/TD]
[TD][/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]29[/TD]
[TD][/TD]
[TD]toys[/TD]
[TD="align: center"]27[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]orange[/TD]
[TD]toys[/TD]
[TD][/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]27[/TD]
[TD][/TD]
[TD]....[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD]...[/TD]
[TD]....[/TD]
[TD][/TD]
[TD]...[/TD]
[TD]...[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
*Note: there is no two identical products in the same row
In columns C and D (C3:D600) I have a product list (about 25 different products) and in columns F and G (F3:G600) their corresponding prices.
When product is in column C his price is in column F, and when product is in column D his price is in column G.
In column I there is a list of ALL products.
I need last value for each product - results should be in column J. (J3...)
example.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Products[/TD]
[TD="align: center"]Results[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]apple[/TD]
[TD]orange[/TD]
[TD][/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]5[/TD]
[TD][/TD]
[TD]apple[/TD]
[TD="align: center"]29[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]cookie[/TD]
[TD]flour[/TD]
[TD][/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]7[/TD]
[TD][/TD]
[TD]orange[/TD]
[TD="align: center"]8[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]toys[/TD]
[TD]apple[/TD]
[TD][/TD]
[TD="align: center"]18[/TD]
[TD="align: center"]2[/TD]
[TD][/TD]
[TD]cookie[/TD]
[TD="align: center"]6[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD]orange[/TD]
[TD]flour[/TD]
[TD][/TD]
[TD="align: center"]14[/TD]
[TD="align: center"]31[/TD]
[TD][/TD]
[TD]flour[/TD]
[TD="align: center"]31[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD]cookie[/TD]
[TD]apple[/TD]
[TD][/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]29[/TD]
[TD][/TD]
[TD]toys[/TD]
[TD="align: center"]27[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]orange[/TD]
[TD]toys[/TD]
[TD][/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]27[/TD]
[TD][/TD]
[TD]....[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD]...[/TD]
[TD]....[/TD]
[TD][/TD]
[TD]...[/TD]
[TD]...[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
*Note: there is no two identical products in the same row
Last edited: