Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Changing conditional sum format to "Sum If"

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Changing conditional sum format to "Sum If"

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 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


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Changing conditional sum format to "Sum If"



"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 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
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Changing conditional sum format to "Sum If"

You're welcome, Gina - thanks for feeding back.

Pete

On Aug 27, 3:27*pm, Gina 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 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 -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Changing conditional sum format to "Sum If"

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" wrote in message
...
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 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
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
How do I stop "global" hyperlinks changing to "local" links? Em Excel Worksheet Functions 2 August 26th 08 01:18 PM
Excel: Changing "numeric $" to "text $" in a different cell. Heather_CCF Excel Worksheet Functions 1 September 5th 06 06:06 PM
" / " Changing Decimal number format to Fraction on Protected Cell laudie Excel Worksheet Functions 0 November 15th 05 02:13 AM
" / " Changing Decimal number format to Fraction on Protected Cell laudie Excel Worksheet Functions 0 November 15th 05 01:12 AM
Changing "returned" values from "0" to "blank" LATATC Excel Worksheet Functions 2 October 20th 05 04:41 PM


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