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

Hi

Last post seems to have disappeared so I'll try again.

In B2:B50 I have dates in the format 27/11/2008. The last date being
31/12/08
In F2:F50 I have £ totals.

There are more than one instance of many dates.
In L2:L36 I have consecutive dates from 27/11/2008 to 31/12/08

I am using the following to acquire the totals for each day but it is
failing, it returns 0 for all entries.

=SUMPRODUCT(--($B$2:$B$50=L2),--($F$2:$F$50))

Help appreciated
Sandy


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Sumproduct repost

i'd try

=SUM(IF($B$2:$B$50=L2,$F$2:$F$50,))

CTRL+SHIFT+ENTER this formula as this ia an array-formula

copy down

On 11 Gru, 20:31, "Sandy" wrote:
Hi

Last post seems to have disappeared so I'll try again.

In B2:B50 I have dates in the format 27/11/2008. The last date being
31/12/08
In F2:F50 I have £ totals.

There are more than one instance of many dates.
In L2:L36 I have consecutive dates from 27/11/2008 to 31/12/08

I am using the following to acquire the totals for each day but it is
failing, it returns 0 for all entries.

=SUMPRODUCT(--($B$2:$B$50=L2),--($F$2:$F$50))

Help appreciated
Sandy


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
xlm xlm is offline
external usenet poster
 
Posts: 55
Default Sumproduct repost

try this

=SUMPRODUCT(--(B2:B50=L2),(F2:F50))

HTH

--
If this posting was helpful, please click on the Yes button

Thank You

cheers,









"Sandy" wrote:

Hi

Last post seems to have disappeared so I'll try again.

In B2:B50 I have dates in the format 27/11/2008. The last date being
31/12/08
In F2:F50 I have £ totals.

There are more than one instance of many dates.
In L2:L36 I have consecutive dates from 27/11/2008 to 31/12/08

I am using the following to acquire the totals for each day but it is
failing, it returns 0 for all entries.

=SUMPRODUCT(--($B$2:$B$50=L2),--($F$2:$F$50))

Help appreciated
Sandy



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Sumproduct repost

Hi,

Try this and drag down

=SUMPRODUCT(($B$2:$B$50=L2)*($F$2:$F$50))

Mike

"Sandy" wrote:

Hi

Last post seems to have disappeared so I'll try again.

In B2:B50 I have dates in the format 27/11/2008. The last date being
31/12/08
In F2:F50 I have £ totals.

There are more than one instance of many dates.
In L2:L36 I have consecutive dates from 27/11/2008 to 31/12/08

I am using the following to acquire the totals for each day but it is
failing, it returns 0 for all entries.

=SUMPRODUCT(--($B$2:$B$50=L2),--($F$2:$F$50))

Help appreciated
Sandy



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 270
Default Sumproduct repost

Hi Jarek
I'm afraid this just produces all 0's as well
Sandy

"Jarek Kujawa" wrote in message
...
i'd try

=SUM(IF($B$2:$B$50=L2,$F$2:$F$50,))

CTRL+SHIFT+ENTER this formula as this ia an array-formula

copy down

On 11 Gru, 20:31, "Sandy" wrote:
Hi

Last post seems to have disappeared so I'll try again.

In B2:B50 I have dates in the format 27/11/2008. The last date being
31/12/08
In F2:F50 I have £ totals.

There are more than one instance of many dates.
In L2:L36 I have consecutive dates from 27/11/2008 to 31/12/08

I am using the following to acquire the totals for each day but it is
failing, it returns 0 for all entries.

=SUMPRODUCT(--($B$2:$B$50=L2),--($F$2:$F$50))

Help appreciated
Sandy




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 270
Default Sumproduct repost

Hi MikeH
I'm afraid this just produces all 0's as well
Sandy

"Mike H" wrote in message
...
Hi,

Try this and drag down

=SUMPRODUCT(($B$2:$B$50=L2)*($F$2:$F$50))

Mike

"Sandy" wrote:

Hi

Last post seems to have disappeared so I'll try again.

In B2:B50 I have dates in the format 27/11/2008. The last date being
31/12/08
In F2:F50 I have £ totals.

There are more than one instance of many dates.
In L2:L36 I have consecutive dates from 27/11/2008 to 31/12/08

I am using the following to acquire the totals for each day but it is
failing, it returns 0 for all entries.

=SUMPRODUCT(--($B$2:$B$50=L2),--($F$2:$F$50))

Help appreciated
Sandy



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 270
Default Sumproduct repost

Hi xlm
This one works, but the problem is because the cell references are not
absolute the range keeps changing as it is dragged down.
Sandy

"xlm" wrote in message
...
try this

=SUMPRODUCT(--(B2:B50=L2),(F2:F50))

HTH

--
If this posting was helpful, please click on the Yes button

Thank You

cheers,









"Sandy" wrote:

Hi

Last post seems to have disappeared so I'll try again.

In B2:B50 I have dates in the format 27/11/2008. The last date being
31/12/08
In F2:F50 I have £ totals.

There are more than one instance of many dates.
In L2:L36 I have consecutive dates from 27/11/2008 to 31/12/08

I am using the following to acquire the totals for each day but it is
failing, it returns 0 for all entries.

=SUMPRODUCT(--($B$2:$B$50=L2),--($F$2:$F$50))

Help appreciated
Sandy



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 270
Default Sumproduct repost

Solved!

The problem was a rogue formula in column F.
After correcting that all solutions including my original work as they
should.

Thank you all for your efforts and apologies for having an error that caused
so much trouble.

Sandy



"Sandy" wrote in message
...
Hi

Last post seems to have disappeared so I'll try again.

In B2:B50 I have dates in the format 27/11/2008. The last date being
31/12/08
In F2:F50 I have £ totals.

There are more than one instance of many dates.
In L2:L36 I have consecutive dates from 27/11/2008 to 31/12/08

I am using the following to acquire the totals for each day but it is
failing, it returns 0 for all entries.

=SUMPRODUCT(--($B$2:$B$50=L2),--($F$2:$F$50))

Help appreciated
Sandy


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Sumproduct repost

Then

=SUMPRODUCT(--($B$2:$B$50=L2),($F$2:$F$50))

and Edit-Fill-Down

'nuff said.
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
Repost for Ron Jenny B. Excel Discussion (Misc queries) 1 May 21st 08 09:39 AM
Drop Down - Repost robert morris Excel Discussion (Misc queries) 4 November 16th 07 05:04 PM
REPOST: Which Function to Use Nick Excel Worksheet Functions 3 May 11th 06 02:46 PM
repost: Min/Max help needed with a SumProduct JR Excel Worksheet Functions 3 February 10th 06 08:35 PM
Repost of Using IF and SUMPRODUCT Joe Gieder Excel Worksheet Functions 8 February 10th 05 07:13 PM


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