Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Indirect Formulation

I have a indirect formulation that reads from a dynamic range called data
like these

SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11, INDIRECT("'"&data&"'!j29")),SUMIF(INDIRECT("'"&dat a&"'!a31"),$H$11,INDIRECT("'"&data&"'!j36")))

But as you noticed I have to write sumif condition twice to take sumproduct
of two cells in a sheet ( j29 and j36 ).
Is there an easier way to write this equation with only one sumif formula ?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default Indirect Formulation

=SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11 ,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

turrucan wrote:

I have a indirect formulation that reads from a dynamic range called data
like these

SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11, INDIRECT("'"&data&"'!j29")),SUMIF(INDIRECT("'"&dat a&"'!a31"),$H$11,INDIRECT("'"&data&"'!j36")))

But as you noticed I have to write sumif condition twice to take sumproduct
of two cells in a sheet ( j29 and j36 ).
Is there an easier way to write this equation with only one sumif formula ?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Indirect Formulation

thanks but your formulation simply adds j29's and j35's instead of
multiplying them

"Lori" wrote:

=SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11 ,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

turrucan wrote:

I have a indirect formulation that reads from a dynamic range called data
like these

SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11, INDIRECT("'"&data&"'!j29")),SUMIF(INDIRECT("'"&dat a&"'!a31"),$H$11,INDIRECT("'"&data&"'!j36")))

But as you noticed I have to write sumif condition twice to take sumproduct
of two cells in a sheet ( j29 and j36 ).
Is there an easier way to write this equation with only one sumif formula ?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default Indirect Formulation

Maybe a small tweak to Lori's suggestion

=PRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"turrucan" wrote in message
...
thanks but your formulation simply adds j29's and j35's instead of
multiplying them

"Lori" wrote:

=SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11 ,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

turrucan wrote:

I have a indirect formulation that reads from a dynamic range called
data
like these

SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11, INDIRECT("'"&data&"'!j29")),SUMIF(INDIRECT("'"&dat a&"'!a31"),$H$11,INDIRECT("'"&data&"'!j36")))

But as you noticed I have to write sumif condition twice to take
sumproduct
of two cells in a sheet ( j29 and j36 ).
Is there an easier way to write this equation with only one sumif
formula ?





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Indirect Formulation

In this case formula multiplies j29 and j37 but since data is defined as an
array (like rev_1,rev_2,rev_3) , product function does not recognize it as an
array and take product of rev_1!j29 and rev_1!j37.

I tried applying Ctrl , Shift and Enter, and result did not change .

The first formula I sent was capable of arrays because of the sumproduct
formula

"Bob Phillips" wrote:

Maybe a small tweak to Lori's suggestion

=PRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"turrucan" wrote in message
...
thanks but your formulation simply adds j29's and j35's instead of
multiplying them

"Lori" wrote:

=SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11 ,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

turrucan wrote:

I have a indirect formulation that reads from a dynamic range called
data
like these

SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11, INDIRECT("'"&data&"'!j29")),SUMIF(INDIRECT("'"&dat a&"'!a31"),$H$11,INDIRECT("'"&data&"'!j36")))

But as you noticed I have to write sumif condition twice to take
sumproduct
of two cells in a sheet ( j29 and j36 ).
Is there an easier way to write this equation with only one sumif
formula ?







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default Indirect Formulation

How about:

=SUMPRODUCT(COUNTIF(INDIRECT("'"&data&"'!a31"),$H$ 11),
N(INDIRECT("'"&data&"'!j29")),N(INDIRECT("'"&data& "'!j36")))

turrucan wrote:

In this case formula multiplies j29 and j37 but since data is defined as an
array (like rev_1,rev_2,rev_3) , product function does not recognize it as an
array and take product of rev_1!j29 and rev_1!j37.

I tried applying Ctrl , Shift and Enter, and result did not change .

The first formula I sent was capable of arrays because of the sumproduct
formula

"Bob Phillips" wrote:

Maybe a small tweak to Lori's suggestion

=PRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"turrucan" wrote in message
...
thanks but your formulation simply adds j29's and j35's instead of
multiplying them

"Lori" wrote:

=SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11 ,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

turrucan wrote:

I have a indirect formulation that reads from a dynamic range called
data
like these

SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11, INDIRECT("'"&data&"'!j29")),SUMIF(INDIRECT("'"&dat a&"'!a31"),$H$11,INDIRECT("'"&data&"'!j36")))

But as you noticed I have to write sumif condition twice to take
sumproduct
of two cells in a sheet ( j29 and j36 ).
Is there an easier way to write this equation with only one sumif
formula ?






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Indirect Formulation

thanks , this is the formula I need .

"Lori" wrote:

How about:

=SUMPRODUCT(COUNTIF(INDIRECT("'"&data&"'!a31"),$H$ 11),
N(INDIRECT("'"&data&"'!j29")),N(INDIRECT("'"&data& "'!j36")))

turrucan wrote:

In this case formula multiplies j29 and j37 but since data is defined as an
array (like rev_1,rev_2,rev_3) , product function does not recognize it as an
array and take product of rev_1!j29 and rev_1!j37.

I tried applying Ctrl , Shift and Enter, and result did not change .

The first formula I sent was capable of arrays because of the sumproduct
formula

"Bob Phillips" wrote:

Maybe a small tweak to Lori's suggestion

=PRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"turrucan" wrote in message
...
thanks but your formulation simply adds j29's and j35's instead of
multiplying them

"Lori" wrote:

=SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11 ,
OFFSET(INDIRECT("'"&data&"'!j29"),{0,7},0)))

turrucan wrote:

I have a indirect formulation that reads from a dynamic range called
data
like these

SUMPRODUCT(SUMIF(INDIRECT("'"&data&"'!a31"),$H$11, INDIRECT("'"&data&"'!j29")),SUMIF(INDIRECT("'"&dat a&"'!a31"),$H$11,INDIRECT("'"&data&"'!j36")))

But as you noticed I have to write sumif condition twice to take
sumproduct
of two cells in a sheet ( j29 and j36 ).
Is there an easier way to write this equation with only one sumif
formula ?







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
Indirect ref in array formulas RD Wirr Excel Worksheet Functions 3 November 18th 06 01:17 PM
Copying a formulae down a column that includes an INDIRECT A.Webb Excel Discussion (Misc queries) 10 January 14th 06 03:42 AM
Using the Indirect function with a sheet number instead of a sheet name JDB Excel Worksheet Functions 5 December 31st 05 03:03 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
is there a NON-volatile version of INDIRECT ?? spiderman Excel Discussion (Misc queries) 1 February 4th 05 04:54 PM


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