Curious Of the Most efficient way to perform this find/copy/paste task

zenkei2007

New Member
Joined
Jun 20, 2010
Messages
4
Okay, basically I have an expense report that has a column heading of dates, and it breaks down each line of business i need to grab expenses for by these days and also by certain work codes.

I need to grab a specific line of expenses based on the work code and line of business by row

so ie
3/16 3/17 3/18 3/19
LOB Work code 1 9 33 55 66
LOB Work code 2 7 5 95 34

LOB 2 Work code 1 etc etc

It needs to paste into another document on a line where I know it will have to go based on the work code but it has to go under the corresponding date column. I will have to paste these rows using special values.

I initially tried to do an index match loop through cell by cell but it is extremely slow operating and not complete yet so now I am investigating ways to just copy the row and paste in the corresponding known location. The expense report is not consistent so it will need to have some way to find a beginning and end date and then some way to copy the row that intersects with that date from that particular point with the corresponding lob and work code needed.

any input is greatly appreciated, this isnt a design the whole thing for me if you could just point me in the direction of recommended methods or even moderate pseudocode id be extremely grateful. invested lots of hrs into it so far.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,203,605
Messages
6,056,269
Members
444,853
Latest member
sam69

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