Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default multiply criteria in a range using sumifs

I hope someone can help, Please,
I'm using the following formula to get payroll data from 1 table into
another on a different sheet, the formula works great, however I need to add
to it and am having problems with calulating over time.

Table PP4_Hrs:
[Employee] [RT] [Income Type] [Hours] [Job] [Banked Pay Hrs]
payl 1 Over Time 1 429
hopm 0 Std. Income 1 429
janw 0 Std. Income 1 430
lowm 19 Banked Pay... 430 1
4 Total Hrs PP4
Table _429_ISIT:
[code] [PP4]
hopm 1
payl 1.5
2.5 Total Hrs Earned PP4

If the [RT] column =1 then the corrisponing [Hours] need to be multipled by
1.5 and added to the employee's total hrs in _429_ISIT Table. I tried
sumproduct but had no success, I don't think you can use array fomulas in a
table.??

This works:
SUMIFS(PP4_Hrs[Hours],PP4_Hrs[Job],429,PP4_Hrs[Employee],_429_ISIT[[#This
Row],[code]])+SUMIFS(PP4_Hrs[Pay Banked
Hrs],PP4_Hrs[Job],429,PP4_Hrs[Employee],_429_ISIT[[#This
Row],[code]],PP4_Hrs[Income Type],"Banked Pay...")

Adding this, doesn't:
+SUMifs(PP4_Hrs[Hours],PP4_Hrs[Job],429,PP4_Hrs[Employee],_429_ISIT[[#This
Row],[code]],PP4_Hrs[RT]=1,PP4_Hrs[Hours]*1.5)

I hope I've been clear, i've been working on this far too long.

Thanks in advance

Deb
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default multiply criteria in a range using sumifs

Solved it myself, thanks anyway.

"dloc" wrote:

I hope someone can help, Please,
I'm using the following formula to get payroll data from 1 table into
another on a different sheet, the formula works great, however I need to add
to it and am having problems with calulating over time.

Table PP4_Hrs:
[Employee] [RT] [Income Type] [Hours] [Job] [Banked Pay Hrs]
payl 1 Over Time 1 429
hopm 0 Std. Income 1 429
janw 0 Std. Income 1 430
lowm 19 Banked Pay... 430 1
4 Total Hrs PP4
Table _429_ISIT:
[code] [PP4]
hopm 1
payl 1.5
2.5 Total Hrs Earned PP4

If the [RT] column =1 then the corrisponing [Hours] need to be multipled by
1.5 and added to the employee's total hrs in _429_ISIT Table. I tried
sumproduct but had no success, I don't think you can use array fomulas in a
table.??

This works:
SUMIFS(PP4_Hrs[Hours],PP4_Hrs[Job],429,PP4_Hrs[Employee],_429_ISIT[[#This
Row],[code]])+SUMIFS(PP4_Hrs[Pay Banked
Hrs],PP4_Hrs[Job],429,PP4_Hrs[Employee],_429_ISIT[[#This
Row],[code]],PP4_Hrs[Income Type],"Banked Pay...")

Adding this, doesn't:
+SUMifs(PP4_Hrs[Hours],PP4_Hrs[Job],429,PP4_Hrs[Employee],_429_ISIT[[#This
Row],[code]],PP4_Hrs[RT]=1,PP4_Hrs[Hours]*1.5)

I hope I've been clear, i've been working on this far too long.

Thanks in advance

Deb

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
SUMIFS - How to use a variable with or < in criteria Jeff Lowenstein Excel Worksheet Functions 2 October 29th 09 11:50 PM
SUMIFS with an OR criteria Go Bucks!!![_2_] Excel Worksheet Functions 8 September 17th 09 09:30 PM
using sumifs with multiple criteria? Celia Excel Discussion (Misc queries) 3 April 8th 09 02:14 AM
sumifs criteria Ebisu-A Excel Worksheet Functions 3 August 25th 08 08:24 PM
SUMIFS with 3 criteria instead of just 2 Hopper Excel Worksheet Functions 1 August 20th 08 07:59 PM


All times are GMT +1. The time now is 06:20 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"