Need to select data based on conditions in a separate sheet then return the values in specific places

scottmcclean

New Member
Joined
Jul 2, 2014
Messages
33
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I am new to the more advanced uses of Excel and a total novice at Macros etc. The problem that I have is that I have a userform that (amongst other things) adds overtime data for multiple people, for multiple project reports into a worksheet. The trouble is, is that I would like to be able to extract this data and format it in a certain way. I am struggling to firstly - understand what the best method is to select and format the data (is it a formula or macro) and then once that is understood how I structure the formula/macro.

I would appreciate a steer in the right direction please!

Overtime is submitted after the week it was done. (i.e. Current week minus 1).
"ProjectUpdates" is the main data form that is populated via a VBA Form.
"Overtime" is the second worksheet where I would like to put the data from "ProjectUpdates"
If Team Member's name in "Overtime" column A, matches a name and the week number (28) from "ProjectUpdates"
If match found then copy acrosss the week commencing date ("ProjectUpdates column E) and copy across the overtime hours for mon/tues/wed etc (Overtime columns 6/7/8/9/10 into the corresponding columns in "Overtime"
Then move to the next name in the list etc etc.....

many thanks
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,213,536
Messages
6,114,211
Members
448,554
Latest member
Gleisner2

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