Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUM the column, IF...
Here is my data:
Data1 Data2 Data 4 combiner HH1 5 splitter HH2 6 combiner HH1 5 splitter HH2 6 combiner HH1 5 splitter HH2 6 I want to add all the data from column "Data 4", If the corresponding row contains "HH1". Thanks. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUM the column, IF...
Assuming you are using columns A, B and C here, then you can use:
=SUMIF(B:B,"HH1",C:C) Hope this helps. Pete On Jan 3, 12:57*pm, Tauqeer M.Latif wrote: Here is my data: Data1 * Data2 * Data 4 combiner * * * *HH1 * * 5 splitter * * * *HH2 * * 6 combiner * * * *HH1 * * 5 splitter * * * *HH2 * * 6 combiner * * * *HH1 * * 5 splitter * * * *HH2 * * 6 I want to add all the data from column "Data 4", If the corresponding row contains "HH1". Thanks. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUM the column, IF...
Hi,
FYI - you can make formulas more flexible by using cell references, so in this case your formula could read =SUMIF(B2:B10,F1,C2:C10) where F1 contains the entry you want to sum for - HH1. -- If this helps, please click the Yes button Cheers, Shane Devenshire "Tauqeer M.Latif" wrote: Here is my data: Data1 Data2 Data 4 combiner HH1 5 splitter HH2 6 combiner HH1 5 splitter HH2 6 combiner HH1 5 splitter HH2 6 I want to add all the data from column "Data 4", If the corresponding row contains "HH1". Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
divide column(x) by column(y) to give column(x/y) in excel? | New Users to Excel | |||
Referencing date column A & time column B to get info from column | Excel Discussion (Misc queries) | |||
Return text in Column A if Column B and Column K match | Excel Worksheet Functions | |||
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look | Excel Discussion (Misc queries) | |||
what formula do i put for column m = column k minus column l in e. | Excel Discussion (Misc queries) |