Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMPRODUCT & INDIRECT? | Excel Worksheet Functions | |||
Sumproduct & Indirect Functions | Excel Worksheet Functions | |||
Need help with using SUMPRODUCT with INDIRECT | Excel Worksheet Functions | |||
Help with Sumproduct with Indirect | Excel Worksheet Functions | |||
sumproduct & indirect | Excel Worksheet Functions |