Need direction on automating a task where I manually used VLOOKUP, IF Statements, and BEDMAS

targus3194

New Member
Joined
Oct 27, 2017
Messages
2
Hi everyone,

At a high level, I have to summarize data into a summary. I am given an excel that has the hours an employee has worked as well as how much an employee can charge to clients per hour. This is then multiplied to get to a revenue amount (Est) that we would charge out.

The things is the time entered though can be categorized into different phases (I.e, Advice, Operations, Administration, etc). There could be more phases.

My job is to create a summary that shows how much revenue is sourced from each phase per employee.

Please see this link for demonstration purposes:
https://docs.google.com/spreadsheets/d/1sR7Fvp3_8tUlMF1IqCr7K2InvWMbQYsFFwjzQzSgF5s/edit?usp=sharing

I am hoping to potentially automate the entire process because I have to do it every week. Usually there is data going back weeks and so there are more rows and employees. It could take anywhere from 45 mins to 1.5 hour.

Any guidance on what I want to do is greatly appreciated. I also want to improve my VBA too.

I have listed the questions in the excel too but here they are as well:

Question 1
Is there a way to have a dynamically updating array that will source from column D and list them in a row in H,I,J,K (5) because there could be a lot of phases (I.e, 5+). [SOURCE DATA TAB]Question 2
Assuming the above is possible, is there a code I can write in VBA that would automatically do the "User Made" section including the IF Statements based on the the Table B5:G23? [SOURCE DATA TAB]

Question 3
Is it possible to have only unique names in Column B dependent on what each table is for (I.e, Only John Doe should be in Advice Table because he is the only one providing advice and generates revenue from providing advice) and make it dynamic? [SUMMARY TAB]


Thank you!

 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Welcome to the forum! I think we need to see the data as it arrives to you. The Google Docs spreadsheet you linked seems to show the final result, and of course we need to see it, but we also need to see the starting point -- the data that you get and from which you create the summary.
 
Upvote 0
Hey! Yes, so the starting point would be in the second tab called source data. I usually perform work on the source data tab which I labelled as the “user-made” portion but majority of the work is in the first tab.
 
Upvote 0
Well, what I meant was that the final result you're showing us in the Google Doc spreadsheet is not enough information. What does the raw data look like? What are the rows and columns that are given to you, and from which you must create the summary you showed us? It might be possible to do what you want just with a pivot table. Have you tried that?
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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