Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
Could I create short formula =SUMIF(A1:E1;G$4;A2:E2)+SUMIF(A3:E3;G$4;A4:E4)+SUM IF(A5:E5;G$4;A6:E6)+SUMIF(A7:E7;G$4;A8:E8)+SUMIF(A 9:E9;G$4;A10:E10)+SUMIF(A11:E11;G$4;A12:E12)+SUMIF (A13:E13;G$4;A14:E14)..............+SUMIF(A201:E20 1;G$4;A202:E202) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT((MOD(ROW(A1:E201),2)=1)*(A1:E201="a"), A2:E202)
-- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Jaan" wrote in message ... Hi Could I create short formula =SUMIF(A1:E1;G$4;A2:E2)+SUMIF(A3:E3;G$4;A4:E4)+SUM IF(A5:E5;G$4;A6:E6)+SUMIF( A7:E7;G$4;A8:E8)+SUMIF(A9:E9;G$4;A10:E10)+SUMIF(A1 1:E11;G$4;A12:E12)+SUMIF(A 13:E13;G$4;A14:E14)..............+SUMIF(A201:E201; G$4;A202:E202) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try...
=SUMPRODUCT(--(A1:E201=G4),A2:E202) Hope this helps! In article , "Jaan" wrote: Hi Could I create short formula =SUMIF(A1:E1;G$4;A2:E2)+SUMIF(A3:E3;G$4;A4:E4)+SUM IF(A5:E5;G$4;A6:E6)+SUMIF(A7 :E7;G$4;A8:E8)+SUMIF(A9:E9;G$4;A10:E10)+SUMIF(A11: E11;G$4;A12:E12)+SUMIF(A13:E 13;G$4;A14:E14)..............+SUMIF(A201:E201;G$4; A202:E202) |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The "a" in my solution should be replaced with G4, that is what I tested
with -- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Bob Phillips" wrote in message ... =SUMPRODUCT((MOD(ROW(A1:E201),2)=1)*(A1:E201="a"), A2:E202) -- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Jaan" wrote in message ... Hi Could I create short formula =SUMIF(A1:E1;G$4;A2:E2)+SUMIF(A3:E3;G$4;A4:E4)+SUM IF(A5:E5;G$4;A6:E6)+SUMIF( A7:E7;G$4;A8:E8)+SUMIF(A9:E9;G$4;A10:E10)+SUMIF(A1 1:E11;G$4;A12:E12)+SUMIF(A 13:E13;G$4;A14:E14)..............+SUMIF(A201:E201; G$4;A202:E202) |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Like the idea Domenic.
You could do it with SUMIF no need for SUMPRODUCT, and it could return a result from the wrong rows if say A14=G4 and A15 is a value. -- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Domenic" wrote in message ... Try... =SUMPRODUCT(--(A1:E201=G4),A2:E202) Hope this helps! In article , "Jaan" wrote: Hi Could I create short formula =SUMIF(A1:E1;G$4;A2:E2)+SUMIF(A3:E3;G$4;A4:E4)+SUM IF(A5:E5;G$4;A6:E6)+SUMIF( A7 :E7;G$4;A8:E8)+SUMIF(A9:E9;G$4;A10:E10)+SUMIF(A11: E11;G$4;A12:E12)+SUMIF(A13 :E 13;G$4;A14:E14)..............+SUMIF(A201:E201;G$4; A202:E202) |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In article ,
"Bob Phillips" wrote: You could do it with SUMIF no need for SUMPRODUCT... Definitely! I should have used SUMIF... :) ...and it could return a result from the wrong rows if say A14=G4 and A15 is a value. True, but I don't think that would be the case. Of course, I could be wrong... :) |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
Domenic formula SUMPRODUCT is perfect. But Bob formula not working.I hope this is my mistake.The MOD not understandability for me.Thanks. "Domenic" kirjutas: In article , "Bob Phillips" wrote: You could do it with SUMIF no need for SUMPRODUCT... Definitely! I should have used SUMIF... :) ...and it could return a result from the wrong rows if say A14=G4 and A15 is a value. True, but I don't think that would be the case. Of course, I could be wrong... :) |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In that case, use SUMIF instead...
=SUMIF(A1:E201,"A",A2:E202) ....it's more efficient. Hope this helps! In article , "Jaan" wrote: Hi Domenic formula SUMPRODUCT is perfect. But Bob formula not working.I hope this is my mistake.The MOD not understandability for me.Thanks. |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sumif working. Now its so easy.Thanks.
"Domenic" kirjutas: In that case, use SUMIF instead... =SUMIF(A1:E201,"A",A2:E202) ....it's more efficient. Hope this helps! In article , "Jaan" wrote: Hi Domenic formula SUMPRODUCT is perfect. But Bob formula not working.I hope this is my mistake.The MOD not understandability for me.Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
More than 3 conditional formats? | Excel Discussion (Misc queries) | |||
Format cells with a formula (7 conditions). | Excel Discussion (Misc queries) | |||
Date & Time | New Users to Excel | |||
Automatically up date time in a cell | Excel Discussion (Misc queries) | |||
clock | Excel Worksheet Functions |