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

I have a spreadsheet with the following:

CompanyA Account# Amount
CompanyB Account# Amount
CompanyC Account# Amount

I would like to use the above spreadsheet to update another spreadsheet
organized as follows:

Company Account 1 Account 2 Account3 (Heading)
CompanyA Amount1 Amount2 Amount3
CompanyB Amount1 Amount2 Amount3
CompanyC Amount1 Amount2 Amount3

I'm not sure how to reference both the Company and the Account to return the
Amount.

Any assistance greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default Help with Formula

A B C
1 CompanyA Account# Amount
2 CompanyB Account# Amount
3 CompanyC Account# Amount


A B C D
1 Company Account 1 Account 2 Account3 (Heading)
2 CompanyA Amount1 Amount2 Amount3
3 CompanyB Amount1 Amount2 Amount3
4 CompanyC Amount1 Amount2 Amount3


=SUMPRODUCT(--(Sheet1!$A$1:$A$3=$A2), --(Sheet1!$B$1:$B$3=B$1),
Sheet1!$C$1:$C$3)

Adjust ranges as necessary. Sumproduct cannot accept entire columns as
arguments.

See also:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

"lk" wrote:

I have a spreadsheet with the following:

CompanyA Account# Amount
CompanyB Account# Amount
CompanyC Account# Amount

I would like to use the above spreadsheet to update another spreadsheet
organized as follows:

Company Account 1 Account 2 Account3 (Heading)
CompanyA Amount1 Amount2 Amount3
CompanyB Amount1 Amount2 Amount3
CompanyC Amount1 Amount2 Amount3

I'm not sure how to reference both the Company and the Account to return the
Amount.

Any assistance greatly 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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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