Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default sumproduct with indirect

Hi

With the help Pete UK of an earlier thread used the following formula

sumproduct(--(sheetname!A1:a20="GA01")--(sheetname!B1:b20=105))

What I now want to do is use the indirect function with sumproduct in a
summary sheet

sumproduct(--(""&c1&"!A1:a20,a6)--indirect(""&c1"!b1:b20=105

Cell A6 contains the first criteria (GA01)
Cell C1 contains the shhet name


Help would be appriciated as it is not working !

Brian

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200711/1

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default sumproduct with indirect

=SUMPRODUCT((INDIRECT("'"&C1&"'!A1:A20")="GA01")*( INDIRECT("'"&C1&"'!
B1:B20")=105))

HTH
Kostis Vezerides

On Nov 22, 4:38 pm, "BNT1 via OfficeKB.com" <u19326@uwe wrote:
Hi

With the help Pete UK of an earlier thread used the following formula

sumproduct(--(sheetname!A1:a20="GA01")--(sheetname!B1:b20=105))

What I now want to do is use the indirect function with sumproduct in a
summary sheet

sumproduct(--(""&c1&"!A1:a20,a6)--indirect(""&c1"!b1:b20=105

Cell A6 contains the first criteria (GA01)
Cell C1 contains the shhet name

Help would be appriciated as it is not working !

Brian

--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200711/1


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default sumproduct with indirect

thanks Kostis

yes, it works ok,
However, I want the first criteria "GA01" to refer to cell A6, this way i
will drag down into other cells

any idea's

regards

vezerid wrote:
=SUMPRODUCT((INDIRECT("'"&C1&"'!A1:A20")="GA01")* (INDIRECT("'"&C1&"'!
B1:B20")=105))

HTH
Kostis Vezerides

Hi

[quoted text clipped - 16 lines]
--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200711/1


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200711/1

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default sumproduct with indirect

Simply replace ="GA01" with A6. It is not part of the INDIRECT.

=SUMPRODUCT((INDIRECT("'"&C1&"'!A1:A20")=A6)*(INDI RECT("'"&C1&"'!
B1:B20")=A7))

Regards
Kostis

On Nov 22, 9:10 pm, "BNT1 via OfficeKB.com" <u19326@uwe wrote:
thanks Kostis

yes, it works ok,
However, I want the first criteria "GA01" to refer to cell A6, this way i
will drag down into other cells

any idea's

regards

vezerid wrote:
=SUMPRODUCT((INDIRECT("'"&C1&"'!A1:A20")="GA01")* (INDIRECT("'"&C1&"'!
B1:B20")=105))


HTH
Kostis Vezerides


Hi


[quoted text clipped - 16 lines]
--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200711/1


--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200711/1


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default sumproduct with indirect

thanks Kostis for the speedy response,

worked a treat

regards

vezerid wrote:
Simply replace ="GA01" with A6. It is not part of the INDIRECT.

=SUMPRODUCT((INDIRECT("'"&C1&"'!A1:A20")=A6)*(IND IRECT("'"&C1&"'!
B1:B20")=A7))

Regards
Kostis

thanks Kostis

[quoted text clipped - 20 lines]
--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200711/1


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200711/1



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default sumproduct with indirect

Thanks for the feedback.

Regards

On Nov 22, 9:50 pm, "BNT1 via OfficeKB.com" <u19326@uwe wrote:
thanks Kostis for the speedy response,

worked a treat

regards

vezeridwrote:
Simply replace ="GA01" with A6. It is not part of the INDIRECT.


=SUMPRODUCT((INDIRECT("'"&C1&"'!A1:A20")=A6)*(IND IRECT("'"&C1&"'!
B1:B20")=A7))


Regards
Kostis


thanks Kostis


[quoted text clipped - 20 lines]
--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200711/1


--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200711/1


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
SUMPRODUCT & INDIRECT? lou031205 Excel Worksheet Functions 4 November 4th 07 02:07 AM
Sumproduct & Indirect Functions VBA Noob Excel Worksheet Functions 9 July 16th 06 09:13 AM
Need help with using SUMPRODUCT with INDIRECT anara Excel Worksheet Functions 1 January 22nd 06 05:08 PM
Help with Sumproduct with Indirect Rob Excel Worksheet Functions 6 July 28th 05 09:03 PM
sumproduct & indirect floridasurfn Excel Worksheet Functions 3 March 14th 05 02:01 AM


All times are GMT +1. The time now is 06:20 PM.

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"