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


I the following information:

In Row 14 are city names, In Column A, are item descriptions

I have data (numbers) in B15:AQ249.

I want to return the number in the range B15:AQ249 for a particular
city, however, when I use the SumProduct formula below, it returns the
total of the row, but I want just one number for a particular city.

How can I make this formula work?


=SUMPRODUCT((B14:AQ14="Bethesda")*0)+SUMPRODUCT((A 15:A80=A4)*(B15:AQ80))


Thanks

TR


--
bountifulgrace
------------------------------------------------------------------------
bountifulgrace's Profile: http://www.excelforum.com/member.php...o&userid=33237
View this thread: http://www.excelforum.com/showthread...hreadid=538942

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SumProduct Formula Help

=INDEX(B15:AQ80,MATCH(A4,A15:A80,0),MATCH("Bethesd a",B14:AQ14,0))

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bountifulgrace"
<bountifulgrace.27aitz_1146758404.5249@excelforu m-nospam.com wrote in
message news:bountifulgrace.27aitz_1146758404.5249@excelfo rum-nospam.com...

I the following information:

In Row 14 are city names, In Column A, are item descriptions

I have data (numbers) in B15:AQ249.

I want to return the number in the range B15:AQ249 for a particular
city, however, when I use the SumProduct formula below, it returns the
total of the row, but I want just one number for a particular city.

How can I make this formula work?


=SUMPRODUCT((B14:AQ14="Bethesda")*0)+SUMPRODUCT((A 15:A80=A4)*(B15:AQ80))


Thanks

TR


--
bountifulgrace
------------------------------------------------------------------------
bountifulgrace's Profile:

http://www.excelforum.com/member.php...o&userid=33237
View this thread: http://www.excelforum.com/showthread...hreadid=538942



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bountifulgrace
 
Posts: n/a
Default SumProduct Formula Help


This works.

Thanks



Bob Phillips Wrote:
=INDEX(B15:AQ80,MATCH(A4,A15:A80,0),MATCH("Bethesd a",B14:AQ14,0))

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bountifulgrace"
<bountifulgrace.27aitz_1146758404.5249@excelforu m-nospam.com wrote in
message
news:bountifulgrace.27aitz_1146758404.5249@excelfo rum-nospam.com...

I the following information:

In Row 14 are city names, In Column A, are item descriptions

I have data (numbers) in B15:AQ249.

I want to return the number in the range B15:AQ249 for a particular
city, however, when I use the SumProduct formula below, it returns

the
total of the row, but I want just one number for a particular city.

How can I make this formula work?



=SUMPRODUCT((B14:AQ14="Bethesda")*0)+SUMPRODUCT((A 15:A80=A4)*(B15:AQ80))


Thanks

TR


--
bountifulgrace

------------------------------------------------------------------------
bountifulgrace's Profile:

http://www.excelforum.com/member.php...o&userid=33237
View this thread:

http://www.excelforum.com/showthread...hreadid=538942



--
bountifulgrace
------------------------------------------------------------------------
bountifulgrace's Profile: http://www.excelforum.com/member.php...o&userid=33237
View this thread: http://www.excelforum.com/showthread...hreadid=538942

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
do I need array formula or sumproduct for counting? Karin Excel Worksheet Functions 3 March 30th 06 05:50 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Modify A SumProduct Formula carl Excel Worksheet Functions 2 June 15th 05 06:22 PM
sumproduct formula to slow Todd Excel Worksheet Functions 4 December 21st 04 11:25 PM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 09:36 PM.

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"