Hello,
could you please help me with the task below?
I need to find out, how much money is spent on advertising for specific landing page.
So, in first row column D of table1, there should be a value $10,50
In row 4, column d of table 1, there should be a value $15,00
The logic is this: if there is a value "cpc" in column A of table2 and if there is a value "google" in column B of table2 and the landing page in column C of table2 match with the landing page in column C of table 1, then put this value (column D of table2) to this cell..
table1
[TABLE="class: grid, width: 261"]
<tbody>[TR]
[TD]Medium[/TD]
[TD]Source[/TD]
[TD]LandinPage[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]google[/TD]
[TD]/landing-page-1[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]bing[/TD]
[TD]/landing-page-1[/TD]
[/TR]
[TR]
[TD]organic[/TD]
[TD]google[/TD]
[TD]/landing-page-1[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]google[/TD]
[TD]/landing-page-2[/TD]
[/TR]
[TR]
[TD](none)[/TD]
[TD]direct[/TD]
[TD]/landing-page-3[/TD]
[/TR]
</tbody>[/TABLE]
table2
[TABLE="class: grid, width: 292"]
<tbody>[TR]
[TD]Medium[/TD]
[TD]Source[/TD]
[TD]LandingPage[/TD]
[TD]Cost[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]google[/TD]
[TD]/landing-page-1[/TD]
[TD] $ 10,50[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]bing[/TD]
[TD]/landing-page-2[/TD]
[TD] $ 11,00[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]google[/TD]
[TD]/landing-page-2[/TD]
[TD] $ 15,00[/TD]
[/TR]
</tbody>[/TABLE]
Thank you very much in advance for your assistance
could you please help me with the task below?
I need to find out, how much money is spent on advertising for specific landing page.
So, in first row column D of table1, there should be a value $10,50
In row 4, column d of table 1, there should be a value $15,00
The logic is this: if there is a value "cpc" in column A of table2 and if there is a value "google" in column B of table2 and the landing page in column C of table2 match with the landing page in column C of table 1, then put this value (column D of table2) to this cell..
table1
[TABLE="class: grid, width: 261"]
<tbody>[TR]
[TD]Medium[/TD]
[TD]Source[/TD]
[TD]LandinPage[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]google[/TD]
[TD]/landing-page-1[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]bing[/TD]
[TD]/landing-page-1[/TD]
[/TR]
[TR]
[TD]organic[/TD]
[TD]google[/TD]
[TD]/landing-page-1[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]google[/TD]
[TD]/landing-page-2[/TD]
[/TR]
[TR]
[TD](none)[/TD]
[TD]direct[/TD]
[TD]/landing-page-3[/TD]
[/TR]
</tbody>[/TABLE]
table2
[TABLE="class: grid, width: 292"]
<tbody>[TR]
[TD]Medium[/TD]
[TD]Source[/TD]
[TD]LandingPage[/TD]
[TD]Cost[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]google[/TD]
[TD]/landing-page-1[/TD]
[TD] $ 10,50[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]bing[/TD]
[TD]/landing-page-2[/TD]
[TD] $ 11,00[/TD]
[/TR]
[TR]
[TD]cpc[/TD]
[TD]google[/TD]
[TD]/landing-page-2[/TD]
[TD] $ 15,00[/TD]
[/TR]
</tbody>[/TABLE]
Thank you very much in advance for your assistance