Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 148
Default Need Programming Help

I have a spreadsheet that tracks time for all employees across all projects.
And I will start a sheet to track employees that are over or under the
alotted monthly time.
So I need to have the Over/Under sheet open the Time workbook, search the
TOTAL for each employee (there's a Pivot table that tracks the Total for each
employee) and then copy any TOTAL row that has a greater than 1 total in it.
This sheet tracks each month of the year, so I need it to check those fields.
FOr the life of me, I don't know how to program this in VBA, so help would
be GREATLY appreciated!
Thanks!
Heather
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 411
Default Need Programming Help

Hi Heather,

If I understand what you want, I would use formulas.

You could put the Over/Under sheet in the Time workbook.

In column A:A, place the list of employees--names or ID numbers--
however you identify them in the Time workbook.

Then in column B:B, put vlookup formula that uses your pivot table as
your table array.

The formula will look something like:

=VLOOKUP(A1,Time!A1:E500,3,FALSE)

Dan
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 148
Default Need Programming Help

Dan-
I'll try that and let you know how it goes.
Thanks.
Heather

"dan dungan" wrote:

Hi Heather,

If I understand what you want, I would use formulas.

You could put the Over/Under sheet in the Time workbook.

In column A:A, place the list of employees--names or ID numbers--
however you identify them in the Time workbook.

Then in column B:B, put vlookup formula that uses your pivot table as
your table array.

The formula will look something like:

=VLOOKUP(A1,Time!A1:E500,3,FALSE)

Dan

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 148
Default Need Programming Help

Dan-
That didn't work. No idea what I did wrong.
What I need is something like this:
If total for each employee any month is greater than 1, then copy the row
and put it in Over worksheet. If row 1 in Over is full, move to row 2
.....
Then I need code for Underallocation which says basically the same thing...
If total for each employee for any given month is less than 80%, then copy
the row and put it in the Under worksheet. If row 1 in Under is full, move
to row 2.
Thanks!

"Heather" wrote:

Dan-
I'll try that and let you know how it goes.
Thanks.
Heather

"dan dungan" wrote:

Hi Heather,

If I understand what you want, I would use formulas.

You could put the Over/Under sheet in the Time workbook.

In column A:A, place the list of employees--names or ID numbers--
however you identify them in the Time workbook.

Then in column B:B, put vlookup formula that uses your pivot table as
your table array.

The formula will look something like:

=VLOOKUP(A1,Time!A1:E500,3,FALSE)

Dan

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 411
Default Need Programming Help

Hi Heather,

I'm not sure I understand what you need. I'm not able to visualize
your situation. My hopefully clarifying questions are below:

On Mar 24, 9:01 am, Heather wrote:
I have a spreadsheet that tracks time for all employees across all projects.


What is the name of this spreadsheet?

And I will start a sheet to track employees that are over or under the
alotted monthly time.


Is this the Over/Under sheet?

So I need to have the Over/Under sheet open the Time workbook, search the
TOTAL for each employee (there's a Pivot table that tracks the Total for each
employee) and then copy any TOTAL row that has a greater than 1 total in it.


What is the layout of the pivot table? I don't understand how you
would have a Total row. I am imagining a Total Column.

This sheet tracks each month of the year, so I need it to check those fields.


Which fields? How do these fields relate to the month of the year?

Dan



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Need Programming Help

Currently, there isn't an Over/Under sheet. I need to create that.
The layout of the pivot table is this:
Resource, Role, Project as Rows. Jan 08, Feb 08, Mar 08, etc through to Dec
08 in Data.
The fields that I am referring to are the months of the year.
If the data in any month field *on the resource's Total row* (because
Resources work on more than one Project) is greater than one, I want the
entire row to be copied and dropped from the Pivot table sheet and dropped
onto the Over/Under sheet.
I also need to track Underallocation (less than .80) in the month fields and
have that information drop into a different part of the Over/Under sheet.

"dan dungan" wrote:

Hi Heather,

I'm not sure I understand what you need. I'm not able to visualize
your situation. My hopefully clarifying questions are below:

On Mar 24, 9:01 am, Heather wrote:
I have a spreadsheet that tracks time for all employees across all projects.


What is the name of this spreadsheet?

And I will start a sheet to track employees that are over or under the
alotted monthly time.


Is this the Over/Under sheet?

So I need to have the Over/Under sheet open the Time workbook, search the
TOTAL for each employee (there's a Pivot table that tracks the Total for each
employee) and then copy any TOTAL row that has a greater than 1 total in it.


What is the layout of the pivot table? I don't understand how you
would have a Total row. I am imagining a Total Column.

This sheet tracks each month of the year, so I need it to check those fields.


Which fields? How do these fields relate to the month of the year?

Dan


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming to the VBE - Help Les Excel Programming 0 December 11th 07 06:00 PM
Help please with vb programming umpire_43 Excel Programming 3 October 17th 07 02:05 AM
programming help Stan Excel Discussion (Misc queries) 2 April 23rd 07 02:44 PM
DDE Programming Psychopasta Excel Programming 0 August 1st 05 07:41 PM
Programming Help??? Moonraker Excel Programming 2 July 29th 05 05:58 AM


All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"