Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Judy
 
Posts: n/a
Default Working with Arrays

I have three columns of data in a worksheet (Name, Report, Usage). In a
separate worksheet, I'd like to construct a matrix with Names in Column A and
Reports in Row 1. I need a function (?) to compare the Report and Name in
the second worksheet to the first and return the Usage.

Example:
Worksheet 1:
Joe Tax Report 5
Joe Income Report 8
Jim Income Report 6
Worksheet 2: (This is what I am trying to do.)
Joe Jim
Tax Report 5
Income Report 8 6
Any help is appreciated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Working with Arrays

Assumptions:

A1:A3 contains the name

B1:B3 contains the type of report

C1:C3 contains the amount

F1:G1 contains Joe and Jim

E2:E3 contains Tax Report and Income Report

Formula:

F2, copied down and across:

=SUMPRODUCT(--($A$1:$A$3=F$1),--($B$1:$B$3=$E2),$C$1:$C$3)

Hope this helps!

In article ,
"Judy" wrote:

I have three columns of data in a worksheet (Name, Report, Usage). In a
separate worksheet, I'd like to construct a matrix with Names in Column A and
Reports in Row 1. I need a function (?) to compare the Report and Name in
the second worksheet to the first and return the Usage.

Example:
Worksheet 1:
Joe Tax Report 5
Joe Income Report 8
Jim Income Report 6
Worksheet 2: (This is what I am trying to do.)
Joe Jim
Tax Report 5
Income Report 8 6
Any help is appreciated

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
amount of working days per month Nigel Excel Discussion (Misc queries) 2 November 29th 05 10:41 AM
Calculation with Working day of the year Box666 Excel Discussion (Misc queries) 4 November 10th 05 06:33 PM
vba adding arrays Jeff Excel Discussion (Misc queries) 1 November 4th 05 02:50 PM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
Working time and days Nortos Excel Worksheet Functions 5 May 6th 05 04:17 PM


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