Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jason
 
Posts: n/a
Default Skipping cells when using SUMPRODUCT function

I am trying to use the following function: SUMPRODUCT(--((E2:G2)E2)) to find
the number of positive changes in this series -- which works well. How would
I do this for JUST E2 and G2 rather than E2, F2, and G2?

Many thanks,

Jason
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Skipping cells when using SUMPRODUCT function

Jason,

You could use

=SUMPRODUCT(--(MOD(COLUMN(E2:G2),2)=1),--(E2:G2E2))

but why not just

=--G2E2

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jason" wrote in message
...
I am trying to use the following function: SUMPRODUCT(--((E2:G2)E2)) to

find
the number of positive changes in this series -- which works well. How

would
I do this for JUST E2 and G2 rather than E2, F2, and G2?

Many thanks,

Jason



  #3   Report Post  
Posted to microsoft.public.excel.misc
Jason
 
Posts: n/a
Default Skipping cells when using SUMPRODUCT function

Bob,

Thanks. Sometimes simple is best.

"Bob Phillips" wrote:

Jason,

You could use

=SUMPRODUCT(--(MOD(COLUMN(E2:G2),2)=1),--(E2:G2E2))

but why not just

=--G2E2

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jason" wrote in message
...
I am trying to use the following function: SUMPRODUCT(--((E2:G2)E2)) to

find
the number of positive changes in this series -- which works well. How

would
I do this for JUST E2 and G2 rather than E2, F2, and G2?

Many thanks,

Jason




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
Copying values but skipping empty cells Handyy Excel Worksheet Functions 1 February 9th 06 01:41 AM
can you use countif function for noncontiguous cells rutledbr Excel Worksheet Functions 2 November 13th 05 09:15 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM


All times are GMT +1. The time now is 07:47 AM.

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"