I have an employee spreadsheet with various data on it. I need to pull data from two adjacent columns and total just one of them.

One column(I) has each employees employment status: PT or FT
The second column(H) that is adjacent has each employees hours worked in a week.

I would like to total up the hours for all employees by their employment status and then divide each total by 4.

Total PT Hours per Week/ Month 0
Total FT Hours per Week/Month 0

Hopefully my explanation was clear... This is a project to determine my businesses exposure to the new Health Care Plan requirements. Once I get the "PT & FT" totals I will apply them to the governments formula.

Thanks in advance for any help.

John

2. ## Re: Beyond my paygrade!

i posted before I notice the title here , and would advise
You would need to EDIT and change your title
have a read if rule 1 here
http://www.excelforum.com/forum-rule...rum-rules.html

I know the moderators do monitor and post for people to change title

i assume you have

Employee -- Status -- Hours

1 -- PF -- 2
1 -- PF -- 5
1 -- PF -- 6
1 -- FT -- 5
1 -- FT -- 8
1 -- FT -- 12

assuming above in column A, B & C

OR would you only have 2 entries per employee

a pivot table would work

Or you could sumifs( )

Employee Total PT Hours per Week/ Month ---- SUMIFS(C:C, A:A, "Employee ref", B:B, "PT") /4
Employee Total FT Hours per Week/ Month ---- SUMIFS(C:C, A:A, "Employee ref", B:B, "FT") /4

3. ## Re: Beyond my paygrade!

Hey Wayne,

Thanks for the heads up on the rules. I'm a noob who evidently does not know how to read the rules. I adjusted the post title so we should be all set for now. Thanks again. Your response assumptions were off just a little. I'm sure my explanation was the cause. Let me try to explain it better.

The employee name, etc. is really not part of the data I am trying to gather. I would like to first identify "PT" and "FT" which is located in column (I) and has data in rows I2-I57. Just in front of Row I, I have average hours worked located in column (H). This column has the average hours worked in a week by each employee and is represented in rows H2-H57.

What I would like to pull out is the total of "PT" hours and "FT" hours each week and multiply each by 52 weeks and divide by 12 mos. This will give me a true monthly avg of "PT" and "FT" hours for the insertion to the Govt. formula.

Hopefully, this is a better explanation. Should I try to attach the Worksheet?

John

Should I try to attach the Worksheet?
that would be good
But if all you want is a Sum of FT and PT

=Sumif(I2:I57,"PT",H2:H57) *52/12
=Sumif(I2:I57,"FT",H2:H57) *52/12

Wayne,

You are the man! Everything works great. I have the data I need to proceed. Thanks a ton for your help and quick response. Additionally, thanks for the title posting tip.

John

you more than welcome, and thanks for the understanding on the titles - mods and admin usually pick those up and then we cannot answer until modified

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1