Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() "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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I stop "global" hyperlinks changing to "local" links? | Excel Worksheet Functions | |||
Excel: Changing "numeric $" to "text $" in a different cell. | Excel Worksheet Functions | |||
" / " Changing Decimal number format to Fraction on Protected Cell | Excel Worksheet Functions | |||
" / " Changing Decimal number format to Fraction on Protected Cell | Excel Worksheet Functions | |||
Changing "returned" values from "0" to "blank" | Excel Worksheet Functions |