Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.misc
Jay Jay is offline
external usenet poster
 
Posts: 671
Default Sumif Question?

Thanks!!!

"PCLIVE" wrote:

The "--" coverts the items to a number, either 1 or 0. So for each
occurrence of items that are numbers, these will be registered as 1's.

The formula could also be written as:

=SUMPRODUCT((ISNUMBER(Y2:Y268))*(ISNUMBER(Z2:Z268) ),Y2:Y268)

--

"Jay" wrote in message
...
Paul,

That worked as well. Thanks. What role does the -- play in the formula?

"PCLIVE" wrote:

Maybe this:

=SUMPRODUCT(--(ISNUMBER(Y2:Y268)),--(ISNUMBER(Z2:Z268)),Y2:Y268)

HTH,
Paul.

--

"Jay" wrote in message
...
I'm trying to figure out how to add a columns of numbers if there is a
number
in an adjacent column. So for example if cell Y245 and Z245 both
contain
numbers then Y245 would be added to the sum but if if Z245 did not
contain
a
number then Y245 would not be counted.

I'm thinking this is a SUMIF calculation but am unsure of how to input
the
data properly. My Ranges are Y2:Y268 and Z2:Z68.

Any help on this would be greatly appreciated. Thanks!






 
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 question George Excel Discussion (Misc queries) 1 November 19th 07 05:26 AM
Sumif question - I think? irvine79 Excel Worksheet Functions 3 October 24th 07 12:13 AM
SUMIF Question Brig Siton Excel Worksheet Functions 3 January 25th 06 05:16 PM
Sumif question J Shrimps, Jr. Excel Worksheet Functions 5 January 20th 06 05:26 PM
SUMIF Question CLR Excel Discussion (Misc queries) 13 September 20th 05 01:08 AM


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