Hi,
We are trying to build a formula to analyze Amazon Ad Campaign Data.
We have 2 sheets. The first is a raw data sheet where we paste the info in. The 2nd is a bid adjuster sheet which calculates based on the raw data info
Our Auto Campaigns are working and look like this:
Raw Sheet
[TABLE="width: 500"]
<tbody>[TR]
[TD]Campaign Name[/TD]
[TD]Ad Group Name[/TD]
[TD]Ad Sku[/TD]
[TD]Keyword[/TD]
[/TR]
[TR]
[TD]Campaign 1[/TD]
[TD]Ad Group 1[/TD]
[TD]abcd[/TD]
[TD]KW1[/TD]
[/TR]
[TR]
[TD]Campaign 1[/TD]
[TD]Ad Group 1[/TD]
[TD]bcde[/TD]
[TD]KW2[/TD]
[/TR]
</tbody>[/TABLE]
Adjuster Sheet
[TABLE="width: 500"]
<tbody>[TR]
[TD]Campaign[/TD]
[TD]Product Name Campaign[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Keyword[/TD]
[TD]Impressions[/TD]
[/TR]
[TR]
[TD]KW1[/TD]
[TD]1000[/TD]
[/TR]
</tbody>[/TABLE]
In Cell B1 we use data validation to pick the campaign name from a drop down.
This formula works and scrolls through the data and picks out the kw for the campaign we are looking for. It's an array formula so it drags down and finds only the kws for that specific campaign
=INDEX('Auto Raw Data'!$A$1:$S$4500,SMALL(IF('Auto Raw Data'!$A$1:$A$4500='Auto Bid Adjuster'!$B$1,ROW('Auto Raw Data'!$A$1:$S$4500)),ROW(1:1)),4)
The trouble we are having is with our manual campaigns because we have to check for the proper campaign and the proper ad group within that campaign. The 2nd if statement is tripping up the formula and right now we are getting a #NUM error. I think the issue is happening in the Small function
Manual Data Sheet Example
[TABLE="width: 500"]
<tbody>[TR]
[TD]id[/TD]
[TD]type[/TD]
[TD]campaign name[/TD]
[TD]budget[/TD]
[TD]start[/TD]
[TD]end[/TD]
[TD]target type[/TD]
[TD]ad group name[/TD]
[TD]max bid[/TD]
[TD]keyword[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]dasda[/TD]
[TD]Product Campaign[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]Product Ad Group[/TD]
[TD]0[/TD]
[TD]Keyword[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]sdad[/TD]
[TD]Product Campaign[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]Product Ad Group[/TD]
[TD]0[/TD]
[TD] Keyword[/TD]
[/TR]
</tbody>[/TABLE]
Our bid adjuster sheet looks exactly the same as the auto campaign I showed above. The only difference is a few extra random columns we dont need the info for
Here is our formula with the extra if statement to check that we have the Campaign and proper Ad Group
=INDEX('Manual Raw Data'!$A$1:$U$4500,SMALL(IF('Manual Raw Data'!$C$1:$C$4500='Manual Bid Adjuster'!$B$1,IF('Manual Raw Data'!$H$1:$H$4500='Manual Bid Adjuster'!$B$2,ROW('Manual Raw Data'!$A1:$U$4500))),ROW(1:1)),10)
Any help is massively appreciated. We are sooo close!
Thank you very much
- Mike
We are trying to build a formula to analyze Amazon Ad Campaign Data.
We have 2 sheets. The first is a raw data sheet where we paste the info in. The 2nd is a bid adjuster sheet which calculates based on the raw data info
Our Auto Campaigns are working and look like this:
Raw Sheet
[TABLE="width: 500"]
<tbody>[TR]
[TD]Campaign Name[/TD]
[TD]Ad Group Name[/TD]
[TD]Ad Sku[/TD]
[TD]Keyword[/TD]
[/TR]
[TR]
[TD]Campaign 1[/TD]
[TD]Ad Group 1[/TD]
[TD]abcd[/TD]
[TD]KW1[/TD]
[/TR]
[TR]
[TD]Campaign 1[/TD]
[TD]Ad Group 1[/TD]
[TD]bcde[/TD]
[TD]KW2[/TD]
[/TR]
</tbody>[/TABLE]
Adjuster Sheet
[TABLE="width: 500"]
<tbody>[TR]
[TD]Campaign[/TD]
[TD]Product Name Campaign[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Keyword[/TD]
[TD]Impressions[/TD]
[/TR]
[TR]
[TD]KW1[/TD]
[TD]1000[/TD]
[/TR]
</tbody>[/TABLE]
In Cell B1 we use data validation to pick the campaign name from a drop down.
This formula works and scrolls through the data and picks out the kw for the campaign we are looking for. It's an array formula so it drags down and finds only the kws for that specific campaign
=INDEX('Auto Raw Data'!$A$1:$S$4500,SMALL(IF('Auto Raw Data'!$A$1:$A$4500='Auto Bid Adjuster'!$B$1,ROW('Auto Raw Data'!$A$1:$S$4500)),ROW(1:1)),4)
The trouble we are having is with our manual campaigns because we have to check for the proper campaign and the proper ad group within that campaign. The 2nd if statement is tripping up the formula and right now we are getting a #NUM error. I think the issue is happening in the Small function
Manual Data Sheet Example
[TABLE="width: 500"]
<tbody>[TR]
[TD]id[/TD]
[TD]type[/TD]
[TD]campaign name[/TD]
[TD]budget[/TD]
[TD]start[/TD]
[TD]end[/TD]
[TD]target type[/TD]
[TD]ad group name[/TD]
[TD]max bid[/TD]
[TD]keyword[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]dasda[/TD]
[TD]Product Campaign[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]Product Ad Group[/TD]
[TD]0[/TD]
[TD]Keyword[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]sdad[/TD]
[TD]Product Campaign[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]Product Ad Group[/TD]
[TD]0[/TD]
[TD] Keyword[/TD]
[/TR]
</tbody>[/TABLE]
Our bid adjuster sheet looks exactly the same as the auto campaign I showed above. The only difference is a few extra random columns we dont need the info for
Here is our formula with the extra if statement to check that we have the Campaign and proper Ad Group
=INDEX('Manual Raw Data'!$A$1:$U$4500,SMALL(IF('Manual Raw Data'!$C$1:$C$4500='Manual Bid Adjuster'!$B$1,IF('Manual Raw Data'!$H$1:$H$4500='Manual Bid Adjuster'!$B$2,ROW('Manual Raw Data'!$A1:$U$4500))),ROW(1:1)),10)
Any help is massively appreciated. We are sooo close!
Thank you very much
- Mike