Macro Required to copy information from one sheet to a specific location in another - based on criteria

JANGLE

New Member
Joined
Aug 28, 2017
Messages
1
Hi,

This is my first time posting, so I apologise if I don't provide enough information. I'm uncertain if this will be possible with VBA/ Excel but it's worth a shot.

I am looking for a Macro that would look into one sheet and update/ populate a second sheet based on values.

here is what I'm trying to do;

1. Sheet2 is updated for "new projects", and existing tenders are updated for "Probability" as we come closer to due dates.
HIGH FOCUS PROJECTS
PROECT NUMBERPROJECT NAMEProbabilityProject DetailsNotesLocationTender ExpectedExpected Start DateEstimated End DateEstimated Value ($M)
Urban33Project 335%AAAXXXLocation 1Dec-17Feb-18Feb-211,000
Infrastructure34Project 3450%BBBXXXLocation 2 May-18Oct-182,000
Infrustructure35Project 3525%CCCXXXLocation 3Dec-17Feb-18Jun-183,000
INVITED/ADVERTISED TENDERS
PROECT NUMBERPROJECT NAMEProbabilityProject DetailsNotesLocationTender Close DateExpected Start DateEstimated End DateEstimated Value ($M)
Urban41Project 4120%DDDXXXLocation 425-Sep-17Jan-18Mar-194000
Infrastructure42Project 4220%EEEXXXLocation 515-Sep-17Dec-17Jun-185000
CURRENT TENDERS
PROECT NUMBERPROJECT NAMEProbabilityProject DetailsNotesLocationTender Close DateExpected Start DateEstimated End DateEstimated Value ($)
Infrastructure51Project 5150%FFFXXXLocation 6TBATBATBA6,000
Infrastructure52Project 5270%GGGXXXLocation 7Mid Aug 17Nov-17Jul-177,000
TENDERS PENDING
PROECT NUMBERProbabilityProject DetailsNotesLocationTender SubmittedExpected Start DateEstimated End DateTendered Value
Urban61Project 6110%HHHXXXLocation 818-Aug-17Oct-17Nov-178,000
Urban62Project 6215%IIIXXXLocation 911-Aug-17Oct-17Jan-189,000

<tbody>
</tbody><colgroup><col span="6"><col><col><col><col><col></colgroup>



2. I then need the following to be moved into sheet 1.
a. The macro to determine if any Probability percentages have been changed on existing projects and if so, update probability percentage
b. The macro to determine if new projects exist in the sheet2 list when compared specifically against the "Unsecured" - "Revenue by full contract value" section in blue only
c. If new projects exist, the macro to insert the new projects after either D16 (i.e. start at D17 for Infrastructure projects), or start after D18 (i.e. start in D19) for Urban Projects. These locations will need to change each time the sheet is updated due to this being an expanding list.
Secured/ UnsecuredForecastSectorProject #Project NameOpportunityContract Value TotalForecast MarginJan-17Feb-17Mar-17Apr-17May-17Jun-17Jul-17Aug-17Sep-17Oct-17
SECUREDFORECAST REVENUEURBAN12Project 12 $1,000.00 $2,000.00
13Project 13
INFRASTRUSTURE15Project 15$100.00$100.00$100.00$100.00$100.00$100.00$100.00$100.00$100.00
16Project 16$200.00$200.00$200.00$200.00$200.00$200.00$200.00$200.00$300.00
FORECAST COSTURBAN12Project 12 $100.00 $100.00 $100.00
13Project 13 $100.00 $100.00 $100.00
INFRASTRUSTURE15Project 15$50.00$50.00$50.00$50.00$50.00$50.00$50.00$50.00$50.00$0.00
16Project 16$50.00$50.00$50.00$50.00$50.00$50.00$50.00$50.00$50.00
FORECAST MARGINURBAN12Project 12 $900.00 $1,900.00 -$100.00 $- $- $- $- $- $- $-
13Project 13-$100.00 -$100.00 -$100.00 $- $- $- $- $- $- $-
INFRASTRUSTURE15Project 15$50.00$50.00$50.00$50.00$50.00$50.00$50.00$50.00$50.00$0.00
16Project 16$0.00$150.00$150.00$150.00$150.00$150.00$150.00$150.00$150.00$250.00
UNSECUREDREVENUE by Full Contract ValueINFRASTRUSTURE30Project 3075% $10,000.00 4000 $1,000.00 $1,000.00
31Project 3110% $20,000.00 10200
32Project 3220% $30,000.00 10000
URBAN21Project 2110% $40,000.00 37000 $1,000.00 $1,000.00 $1,000.00
22Project 2215% $50,000.00 42000 $2,000.00

<tbody>
</tbody><colgroup><col><col><col><col><col><col><col><col><col span="5"><col span="2"><col><col span="2"></colgroup>




Again, not entirely sure if this will be possible, but please let me know if anyone has any ideas.

Thank you,
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,214,832
Messages
6,121,843
Members
449,051
Latest member
excelquestion515

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