Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
in a hidden row you can enter a helper, let's say row 1 so for columns 1 to three enter =IF(A2<"",1,0) copy this up to column 3 and then in column 4 enter =IF(A20,0,1) copy to column 6 then in column G2 enter =SUMPRODUCT(--(A1:F1=1),A2:F2) if this helps please click yes "mits" wrote: Ar Bs Ec Ar Bs Ec 20 36 14 10 7 I am trying to sum the above columns. Column 1-3 supercede columns 4-6, in the sense that if column 4 has a figure in there and so does column 1, it is column 1s figure that needs to be included in the total not column 4. So for the above example i would need the formula to work out 20+36+7=63. How would i do this? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I think I should use Sumif | Excel Discussion (Misc queries) | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |