#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sgl sgl is offline
external usenet poster
 
Posts: 80
Default 3D Array Problem

My apologies this was wrongly posted in the Excel Programming group

Hi all,

I am using Excel 2003 with Vista.
I have a reference WkSht with all the Tax, Social Security, Union Dues rates
laid out against each element of the Wage Structure package. The Table is
laid out as follows:

Tax Soc
Union etc etc
Security
Dues

Basic Wages 10% 5% 3%
Leave Pay 7.5% 3% 3%
Subsistence 5.0% 2.5% 3%

In the Payroll Calculations WkSht I have the Payroll calculations for each
employee and for each element of the Wage Structure

Employee Name A B C
D etc etc

Basic Wages 1,000 750 650 500
Leave Pay 500 375 300 250
Subsistence 160 160 160 160
etc
etc

What I need to do is to calculate the various deductions against each
element of the Pay Structure in a separate table in the same WkSht as the
Payroll Calculations. The table is laid out as follows:

Employee Name A B C D etc
etc
Tax
Social Security
Union Dues
etc
etc

The layout of the Tables cannot be altered as this is part of a much larger
project.

Any assistance much appreciated/Many thanks/sgl

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default 3D Array Problem

Hi, Suppose your Wage Structure is located on a sheet called WageStructure
and your employee pay are in the range starting in A1, with titles on the
first row and in the first column and the first number in B2.

Then in the deduction range, say B7 enter the following formula

=SUMPRODUCT(Sheet3!B2*WageStructure!$B2:$D2)

Copy it down three rows and over as many columns as needed.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"sgl" wrote:

My apologies this was wrongly posted in the Excel Programming group

Hi all,

I am using Excel 2003 with Vista.
I have a reference WkSht with all the Tax, Social Security, Union Dues rates
laid out against each element of the Wage Structure package. The Table is
laid out as follows:

Tax Soc
Union etc etc
Security
Dues

Basic Wages 10% 5% 3%
Leave Pay 7.5% 3% 3%
Subsistence 5.0% 2.5% 3%

In the Payroll Calculations WkSht I have the Payroll calculations for each
employee and for each element of the Wage Structure

Employee Name A B C
D etc etc

Basic Wages 1,000 750 650 500
Leave Pay 500 375 300 250
Subsistence 160 160 160 160
etc
etc

What I need to do is to calculate the various deductions against each
element of the Pay Structure in a separate table in the same WkSht as the
Payroll Calculations. The table is laid out as follows:

Employee Name A B C D etc
etc
Tax
Social Security
Union Dues
etc
etc

The layout of the Tables cannot be altered as this is part of a much larger
project.

Any assistance much appreciated/Many thanks/sgl

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sgl sgl is offline
external usenet poster
 
Posts: 80
Default 3D Array Problem

Thank you for your response Shane.
Unless I am doing something wrong your suggestion does not seem to work.
As an example for Employee A I would need to get the following results based
on what I have posted

Tax deductions
Basic wages 1,000 x 10% = 100.00
Leave Pay 500 x 7.5% = 37.50
Subsistence 160 x 5% = 8.00
Total Tax deductions 145.50

Social Security
Basic Wages 1,000 x 5% = 50.00
Leave Pay 500 x 3% = 15.00
Subsistence 160 x 2.5% = 4.00
Total Soc Sec deductions 69.00

Union Dues
Basic Wages 1,000 x 3% = 30.00
Leave Pay 500 x 3% = 15.00
Subsistence 160 x 3% = 4.80
Total Union Dues 49.80

The total deductions for Employee A would be 264.30
My apologies for being so analitical only trying to get the correct message
across.

many thanks/sgl

"Shane Devenshire" wrote:

Hi, Suppose your Wage Structure is located on a sheet called WageStructure
and your employee pay are in the range starting in A1, with titles on the
first row and in the first column and the first number in B2.

Then in the deduction range, say B7 enter the following formula

=SUMPRODUCT(Sheet3!B2*WageStructure!$B2:$D2)

Copy it down three rows and over as many columns as needed.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"sgl" wrote:

My apologies this was wrongly posted in the Excel Programming group

Hi all,

I am using Excel 2003 with Vista.
I have a reference WkSht with all the Tax, Social Security, Union Dues rates
laid out against each element of the Wage Structure package. The Table is
laid out as follows:

Tax Soc
Union etc etc
Security
Dues

Basic Wages 10% 5% 3%
Leave Pay 7.5% 3% 3%
Subsistence 5.0% 2.5% 3%

In the Payroll Calculations WkSht I have the Payroll calculations for each
employee and for each element of the Wage Structure

Employee Name A B C
D etc etc

Basic Wages 1,000 750 650 500
Leave Pay 500 375 300 250
Subsistence 160 160 160 160
etc
etc

What I need to do is to calculate the various deductions against each
element of the Pay Structure in a separate table in the same WkSht as the
Payroll Calculations. The table is laid out as follows:

Employee Name A B C D etc
etc
Tax
Social Security
Union Dues
etc
etc

The layout of the Tables cannot be altered as this is part of a much larger
project.

Any assistance much appreciated/Many thanks/sgl

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
Problem with array ref (I think!) Nick H[_2_] Excel Worksheet Functions 10 June 28th 09 11:03 PM
Array problem, I think.. Steve Excel Worksheet Functions 3 June 11th 08 12:38 AM
Match - Array Problem nospaminlich Excel Worksheet Functions 3 August 25th 07 01:01 AM
Array problem - TIA S Davis Excel Worksheet Functions 9 November 7th 06 02:22 AM
Array Problem Scott Excel Discussion (Misc queries) 4 May 9th 06 05:22 PM


All times are GMT +1. The time now is 04:24 AM.

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

About Us

"It's about Microsoft Excel"