Excel Automation

yatindatta

New Member
Joined
Mar 1, 2018
Messages
1
Hi I am a newbie at excel and just joined an advertising firm. I have been a given a project to complete in excel and it's a bit difficult for me given my experience with excel and based on whatever I know I am pretty sure the task I am trying to automate using excel formulas is not easy. I have attached a screen shot and the excel of the tables below and I will explain what I am trying to achieve
563535d1519885065-excel-automation-help-capture.jpg



We have a series of campaigns which we give a number ( 1, 2, 3, 4....... 100). Based on clients interest we start running the campaigns and our systems capture the hits. So we start investing as soon as we get the second hit for a particular campaign in a focused way. In the snapshot you can see I have started capturing the campaign hit numbers for the territories in column M. As soon as a particular territory hits we increase the Double by 1. The count in each row is previous count - the previous double ( eg Count J19 = J18-K18 ( Double ) ).


Depending on the count we invest units in the campaign which have got double hits which is depicted between columns A2:A12 and C2:C12. We will invest in the territories till the time a territory campaign hits a third time which is depicted in column M by Orange filled cells.

Generally we get our return on investment as soon as a campaign territory hits the third time we check for the ROI in columns P:S. So in the screen shot you will see that territory 11 hits for the third time in C26. So if this happens we will check for the count between column P:S and invest again on the campaigns according to this table until we reach the goal in columns. A2:A12 and C2:C12. As soon as we hit the goal, the double hit of the campaign campaign which has hit for the 3rd time becomes the first number of the array and the 3rd hit becomes the last campaign in the array and we will start entering the next campaigns thereafter.

Basically I want to create an excel where everything is automatic. I just have to put in the campaign numbers one by one s they are initiated in a cell for input( Eg in this case 11,67,56, 75..... ). I just have to input the campaigns in one cell one by one and the excel automatically tells me in which campaign to invest and how many units.

I have attached the excel which I use to do my job manually.

Requesting help of expert forum users for automating the excel. Thanking you in anticipation
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Cross posted https://www.excelforum.com/excel-formulas-and-functions/1222261-excel-automation.html

Cross-Posting
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top