Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SteveC
 
Posts: n/a
Default Simple Sumproduct of 2 Columns, with some blank cells in range

ColA ColB
5 10
5 10
5
5 10

I'd like to sum the products of the two columns, while ignoring rows that
have a blank cell, so in this case (5*10) + (5*10) + (5*10) ---it's
skipping the third row.

I'm not having luck adjusting a simple =sumproduct(ColA,ColB) formula. I
did a search but didn't come up with anything that I understand how to
adjust.

Thanks for your help!
SteveC

  #2   Report Post  
Posted to microsoft.public.excel.misc
SteveC
 
Posts: n/a
Default Simple Sumproduct of 2 Columns, with some blank cells in range

aha, if you use an array formula ctrl shift enter it works... but is there
another way?

"SteveC" wrote:

ColA ColB
5 10
5 10
5
5 10

I'd like to sum the products of the two columns, while ignoring rows that
have a blank cell, so in this case (5*10) + (5*10) + (5*10) ---it's
skipping the third row.

I'm not having luck adjusting a simple =sumproduct(ColA,ColB) formula. I
did a search but didn't come up with anything that I understand how to
adjust.

Thanks for your help!
SteveC

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Simple Sumproduct of 2 Columns, with some blank cells in range

=SUMPRODUCT(A1:A4,B1:B4)

will do it.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"SteveC" wrote in message
...
aha, if you use an array formula ctrl shift enter it works... but is there
another way?

"SteveC" wrote:

ColA ColB
5 10
5 10
5
5 10

I'd like to sum the products of the two columns, while ignoring rows

that
have a blank cell, so in this case (5*10) + (5*10) + (5*10) ---it's
skipping the third row.

I'm not having luck adjusting a simple =sumproduct(ColA,ColB) formula.

I
did a search but didn't come up with anything that I understand how to
adjust.

Thanks for your help!
SteveC



  #5   Report Post  
Posted to microsoft.public.excel.misc
SteveC
 
Posts: n/a
Default Simple Sumproduct of 2 Columns, with some blank cells in range

Don and Bob, thanks.

"Bob Phillips" wrote:

=SUMPRODUCT(A1:A4,B1:B4)

will do it.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"SteveC" wrote in message
...
aha, if you use an array formula ctrl shift enter it works... but is there
another way?

"SteveC" wrote:

ColA ColB
5 10
5 10
5
5 10

I'd like to sum the products of the two columns, while ignoring rows

that
have a blank cell, so in this case (5*10) + (5*10) + (5*10) ---it's
skipping the third row.

I'm not having luck adjusting a simple =sumproduct(ColA,ColB) formula.

I
did a search but didn't come up with anything that I understand how to
adjust.

Thanks for your help!
SteveC




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
Sumif Cells Are Not Blank Powlaz Excel Worksheet Functions 12 March 15th 06 04:40 PM
average price of 4 columns of figures but some cells can be blank bigdaddy3 Excel Worksheet Functions 3 February 14th 06 03:10 PM
average price of 4 columns of figures but some cells can be blank bpeltzer Excel Worksheet Functions 0 February 13th 06 08:37 PM
How do I skip blank cells when copying over a range of cells? tawells Excel Discussion (Misc queries) 2 June 7th 05 09:36 PM
Sumproduct ... Empty Cells vs Spaces? Ken Excel Discussion (Misc queries) 9 December 17th 04 08:03 PM


All times are GMT +1. The time now is 06:05 AM.

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"