PC Review


Reply
Thread Tools Rate Thread

Changing conditional sum format to "Sum If"

 
 
Gina
Guest
Posts: n/a
 
      27th Aug 2008
I am currently using

=SUM(IF(Data!$E$2:$E$1700=2467,Data!$Q$2:$Q$1700,0))

But I would instead like to reference cell B2 of the current worksheet
rather than typing 2467. The reason being, I'd like to be able to drag this
calculation down, and have the formula in the cell just below reference cell
B3 of the current worksheet, etc.

Are there any sumproduct experts available who could steer me in the right
direction?

Gina
 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      27th Aug 2008
I think you mean that you want to do this:

=SUMPRODUCT(--(Data!$E$2:$E$1700=$B$2),--(Data!$Q$2:$Q$1700))

No need for CSE when you enter it.

Hope this helps.

Pete

On Aug 27, 3:11*pm, Gina <mail2g...@gmail.com> wrote:
> I am currently using
>
> =SUM(IF(Data!$E$2:$E$1700=2467,Data!$Q$2:$Q$1700,0))
>
> But I would instead like to reference cell B2 of the current worksheet
> rather than typing 2467. *The reason being, I'd like to be able to dragthis
> calculation down, and have the formula in the cell just below reference cell
> B3 of the current worksheet, etc.
>
> Are there any sumproduct experts available who could steer me in the right
> direction?
>
> Gina


 
Reply With Quote
 
Gina
Guest
Posts: n/a
 
      27th Aug 2008


"Pete_UK" wrote:

> I think you mean that you want to do this:
>
> =SUMPRODUCT(--(Data!$E$2:$E$1700=$B$2),--(Data!$Q$2:$Q$1700))
>
> No need for CSE when you enter it.
>
> Hope this helps.
>
> Pete
>
> On Aug 27, 3:11 pm, Gina <mail2g...@gmail.com> wrote:
> > I am currently using
> >
> > =SUM(IF(Data!$E$2:$E$1700=2467,Data!$Q$2:$Q$1700,0))
> >
> > But I would instead like to reference cell B2 of the current worksheet
> > rather than typing 2467. The reason being, I'd like to be able to drag this
> > calculation down, and have the formula in the cell just below reference cell
> > B3 of the current worksheet, etc.
> >
> > Are there any sumproduct experts available who could steer me in the right
> > direction?
> >
> > Gina

>
>


This is exactly what I meant. It returned the same value and worked great.
Thank you.

Gina
 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      27th Aug 2008
You're welcome, Gina - thanks for feeding back.

Pete

On Aug 27, 3:27*pm, Gina <mail2g...@gmail.com> wrote:
> "Pete_UK" wrote:
> > I think you mean that you want to do this:

>
> > =SUMPRODUCT(--(Data!$E$2:$E$1700=$B$2),--(Data!$Q$2:$Q$1700))

>
> > No need for CSE when you enter it.

>
> > Hope this helps.

>
> > Pete

>
> > On Aug 27, 3:11 pm, Gina <mail2g...@gmail.com> wrote:
> > > I am currently using

>
> > > =SUM(IF(Data!$E$2:$E$1700=2467,Data!$Q$2:$Q$1700,0))

>
> > > But I would instead like to reference cell B2 of the current worksheet
> > > rather than typing 2467. *The reason being, I'd like to be able to drag this
> > > calculation down, and have the formula in the cell just below reference cell
> > > B3 of the current worksheet, etc.

>
> > > Are there any sumproduct experts available who could steer me in the right
> > > direction?

>
> > > Gina

>
> This is exactly what I meant. *It returned the same value and worked great. *
> Thank you.
>
> Gina- Hide quoted text -
>
> - Show quoted text -


 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      27th Aug 2008
My reading of the OP's question was that she wanted the B2 to change to B3
when copied downwards, in which case I would have thought not
=SUMPRODUCT(--(Data!$E$2:$E$1700=$B$2),--(Data!$Q$2:$Q$1700))
but
=SUMPRODUCT(--(Data!$E$2:$E$1700=$B2),--(Data!$Q$2:$Q$1700))
--
David Biddulph

"Pete_UK" <(E-Mail Removed)> wrote in message
news:8f0e490c-6138-40c2-8575-(E-Mail Removed)...
> I think you mean that you want to do this:
>
> =SUMPRODUCT(--(Data!$E$2:$E$1700=$B$2),--(Data!$Q$2:$Q$1700))
>
> No need for CSE when you enter it.
>
> Hope this helps.
>
> Pete


> On Aug 27, 3:11 pm, Gina <mail2g...@gmail.com> wrote:
> > I am currently using
> >
> > =SUM(IF(Data!$E$2:$E$1700=2467,Data!$Q$2:$Q$1700,0))
> >
> > But I would instead like to reference cell B2 of the current worksheet
> > rather than typing 2467. The reason being, I'd like to be able to drag
> > this
> > calculation down, and have the formula in the cell just below reference
> > cell
> > B3 of the current worksheet, etc.




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing format of column from "general" to "currency" Old Car Microsoft Excel Discussion 1 29th Apr 2005 09:49 AM
Changing format of column from "general" to "currency" Old Car Microsoft Excel Misc 1 29th Apr 2005 09:49 AM
Changing format of column from "general" to "currency" Old Car Microsoft Excel Programming 1 29th Apr 2005 09:49 AM
How to convert Conditional Format into the "real" format? Arie Sukendro Microsoft Excel Discussion 4 21st Apr 2004 03:52 AM
Cookies will not enable even after changing settings for "Security" and "Privacy" tabs in "Internet Options", any suggestions? =?Utf-8?B?dGlhbmltaA==?= Windows XP Help 2 27th Jan 2004 12:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:19 PM.