Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Looking for a solution

I'm fairly comfortable around Excel with formulas and pivot tables but have
encountered an opportunity I have not yet faced. I have a spreadsheet with 3
tabs. The first tab contains HR information and has one row per employee.
The second tab contains Util Hrs and can have up to three rows per employee.
The Third tab contains Hrs Worked and can contain up to thirteen rows per
employee. I need to summarize the information in the 2nd and 3rd tabs to
return a single row of additional information back to the 1st tab (which I
can do using the LOOKUP function).
What I don't know how to do is apply a formula to the 2nd and 3rd tabs to
give me a unique value per employee. Below is an example of the data:

Tab 1 Tab 2 Tab 3
Col A Col A Col B Col C Col A
Col B Col C
ANDPE01 ANDPE01 176 22.5 ANDPE01 40
39.5
ANDPE01 160 30 ANDPE01
40 40
ANDPE01 160 64.5 ANDPE01 40
32

ANDPE01 40 37.5

What I expect to be returned to Tab 1 is:

For ANDPE01 Col A= SUM(Tab2:Col C) / SUM(Tab2:Col B) which would be .2358
Col B=SUM(Tab3:Col C) / SUM(Tab3:Col B) which would be
..9312

Any suggestions? I have approximately 2500 rows in the first tab that need
to have this consolidation performed. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Looking for a solution

I'm afraid your data got a little skewed when you posted. However, based on
the last bit where you're stating what you want, it sounds like you need to
do a couple of sums based on a name. In which case, maybe something like:

=SUMIF('Tab 2'!A:A,A2,C:C)/SUMIF('Tab 2'!A:A,A2,C:C)

and

=SUMIF('Tab 3'!A:A,A2,C:C)/SUMIF('Tab 3'!A:A,A2,C:C)

If this isn't what your looking for, perhaps retry posting your data
(organize downward, avoid going across, if possible).
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"CA Linda" wrote:

I'm fairly comfortable around Excel with formulas and pivot tables but have
encountered an opportunity I have not yet faced. I have a spreadsheet with 3
tabs. The first tab contains HR information and has one row per employee.
The second tab contains Util Hrs and can have up to three rows per employee.
The Third tab contains Hrs Worked and can contain up to thirteen rows per
employee. I need to summarize the information in the 2nd and 3rd tabs to
return a single row of additional information back to the 1st tab (which I
can do using the LOOKUP function).
What I don't know how to do is apply a formula to the 2nd and 3rd tabs to
give me a unique value per employee. Below is an example of the data:

Tab 1 Tab 2 Tab 3
Col A Col A Col B Col C Col A
Col B Col C
ANDPE01 ANDPE01 176 22.5 ANDPE01 40
39.5
ANDPE01 160 30 ANDPE01
40 40
ANDPE01 160 64.5 ANDPE01 40
32

ANDPE01 40 37.5

What I expect to be returned to Tab 1 is:

For ANDPE01 Col A= SUM(Tab2:Col C) / SUM(Tab2:Col B) which would be .2358
Col B=SUM(Tab3:Col C) / SUM(Tab3:Col B) which would be
.9312

Any suggestions? I have approximately 2500 rows in the first tab that need
to have this consolidation performed. Thanks

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
Looking for a better solution ibvalentine Excel Worksheet Functions 20 November 5th 08 04:49 PM
solution wants shoyeb2045 Excel Discussion (Misc queries) 4 August 14th 08 08:34 PM
looking for a solution Joe Excel Worksheet Functions 1 December 13th 07 04:37 AM
Need a pop up solution! [email protected] Excel Discussion (Misc queries) 4 June 21st 07 11:13 PM
My solution Research freak Excel Discussion (Misc queries) 0 April 11th 07 04:30 PM


All times are GMT +1. The time now is 12:50 AM.

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"