Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default SUMPRODUCT Formula

When i change 2300,2400 with a cell refernece , excel gives me error.
Please advise.
"Bob Phillips" wrote in message
...
Shashi,

=SUMPRODUCT((DataCustNum={2300,2400})*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)


--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Shashi Bhosale" wrote in message
...
=SUMPRODUCT((DataCustNum=A11)*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)

Above Formula works Great if A11 is having only one value, example 23000

If if my Cell A11 contains 23000, 24000
How i can change my formula to check for both values (23000 & 24000)

Thanks in advance,

Shashi







  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default SUMPRODUCT Formula

Shashi,

Put 2300 in A11, 2400 in B11, and use

=SUMPRODUCT((DataCustNum=A11:B11)*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)

--

HTH

Bob Phillips

"Shashi Bhosale" wrote in message
...
When i change 2300,2400 with a cell refernece , excel gives me error.
Please advise.
"Bob Phillips" wrote in message
...
Shashi,

=SUMPRODUCT((DataCustNum={2300,2400})*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)


--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Shashi Bhosale" wrote in message
...
=SUMPRODUCT((DataCustNum=A11)*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)

Above Formula works Great if A11 is having only one value, example

23000

If if my Cell A11 contains 23000, 24000
How i can change my formula to check for both values (23000 & 24000)

Thanks in advance,

Shashi









  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default SUMPRODUCT Formula

Hi Bob,

I can not use cell A11 and B11. Sometimes i may have more values (2300,
2400, 2500 ........and so on).
I have to use only one cell to store the values.

Please let me know if you have any other method which i can use.

Thanks,

Shashi.


"Bob Phillips" wrote in message
...
Shashi,

Put 2300 in A11, 2400 in B11, and use

=SUMPRODUCT((DataCustNum=A11:B11)*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)

--

HTH

Bob Phillips

"Shashi Bhosale" wrote in message
...
When i change 2300,2400 with a cell refernece , excel gives me error.
Please advise.
"Bob Phillips" wrote in message
...
Shashi,

=SUMPRODUCT((DataCustNum={2300,2400})*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)


--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Shashi Bhosale" wrote in message
...
=SUMPRODUCT((DataCustNum=A11)*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)

Above Formula works Great if A11 is having only one value, example

23000

If if my Cell A11 contains 23000, 24000
How i can change my formula to check for both values (23000 & 24000)

Thanks in advance,

Shashi











  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default SUMPRODUCT Formula

Shashi,

This will check for any valises in row 11

=SUMPRODUCT((DataCustNum=A11:OFFSET(A11,0,COUNTA(A 11:IA11)-1))*(DataOrderDat
e=Period1Start)*(DataOrderDate<=Period1End)* (DataAMount))

Are we there?

--

HTH

Bob Phillips

"Shashi Bhosale" wrote in message
...
Hi Bob,

I can not use cell A11 and B11. Sometimes i may have more values (2300,
2400, 2500 ........and so on).
I have to use only one cell to store the values.

Please let me know if you have any other method which i can use.

Thanks,

Shashi.


"Bob Phillips" wrote in message
...
Shashi,

Put 2300 in A11, 2400 in B11, and use

=SUMPRODUCT((DataCustNum=A11:B11)*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)

--

HTH

Bob Phillips

"Shashi Bhosale" wrote in message
...
When i change 2300,2400 with a cell refernece , excel gives me error.
Please advise.
"Bob Phillips" wrote in message
...
Shashi,

=SUMPRODUCT((DataCustNum={2300,2400})*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)


--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Shashi Bhosale" wrote in message
...
=SUMPRODUCT((DataCustNum=A11)*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)

Above Formula works Great if A11 is having only one value, example

23000

If if my Cell A11 contains 23000, 24000
How i can change my formula to check for both values (23000 &

24000)

Thanks in advance,

Shashi













  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default SUMPRODUCT Formula

I can not use the complete row, i am restricted to use only one cell (ex.
A11).

"Bob Phillips" wrote in message
...
Shashi,

This will check for any valises in row 11


=SUMPRODUCT((DataCustNum=A11:OFFSET(A11,0,COUNTA(A 11:IA11)-1))*(DataOrderDat
e=Period1Start)*(DataOrderDate<=Period1End)* (DataAMount))

Are we there?

--

HTH

Bob Phillips

"Shashi Bhosale" wrote in message
...
Hi Bob,

I can not use cell A11 and B11. Sometimes i may have more values (2300,
2400, 2500 ........and so on).
I have to use only one cell to store the values.

Please let me know if you have any other method which i can use.

Thanks,

Shashi.


"Bob Phillips" wrote in message
...
Shashi,

Put 2300 in A11, 2400 in B11, and use

=SUMPRODUCT((DataCustNum=A11:B11)*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)

--

HTH

Bob Phillips

"Shashi Bhosale" wrote in message
...
When i change 2300,2400 with a cell refernece , excel gives me

error.
Please advise.
"Bob Phillips" wrote in message
...
Shashi,

=SUMPRODUCT((DataCustNum={2300,2400})*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)


--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Shashi Bhosale" wrote in message
...
=SUMPRODUCT((DataCustNum=A11)*
(DataOrderDate=Period1Start)*
(DataOrderDate<=Period1End)*
(DataAmount)

Above Formula works Great if A11 is having only one value,

example
23000

If if my Cell A11 contains 23000, 24000
How i can change my formula to check for both values (23000 &

24000)

Thanks in advance,

Shashi

















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 formula Krish Excel Worksheet Functions 1 May 23rd 10 10:59 AM
Nesting a sumproduct formula within a sumif formula. jerrymcm Excel Discussion (Misc queries) 2 October 3rd 07 03:35 PM
formula for sumproduct Curtis Excel Discussion (Misc queries) 2 July 19th 07 08:14 PM
sumproduct formula Todd Excel Worksheet Functions 2 March 10th 06 01:39 AM
Help with SUMPRODUCT Formula msbutton27 Excel Discussion (Misc queries) 4 December 21st 05 03:48 AM


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