Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
sum a set of cells based on comparing a different set of cells
I have a worksheet that has a set of values (numbers) in row G. I would like
to add those values but only if the values (which are letters) in row B match letters that are in columns c through f. I will attempt to place an example below this. A B C D E F G H 1 TEAM A TA TB TC TD TE .5 2 TEAM B TB TC TD TB TE .2 3 TEAM C TC TD TB TF TG .1 4 TEAM D TD TE TG TH TB .7 5 TEAM E TE TF TB TC TH .3 6 TEAM F TF TG TA TB TD .3 7 TEAM G TG TH TC TD TA .4 8 TEAM H TH TA TD TE TF .6 So in this case, for Team A, they competed against Teams B, C, D and E. I want to add the vales in Column G only for the teams that team A competed against. I tried using the SumIf function, and write it something like this: =sumif(c1:f1,b1:b8,g1:g8) but that just returned a value of 0... Is what I want to do possible? And if it is possible, how in the world would I do this? Thanks in advance and I am sorry if this is too complicated to read after I post it... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
display a range of cells editible cells based on matching date | Excel Worksheet Functions | |||
Averaging Cells Based On Conditions in Neighboring Cells | Excel Discussion (Misc queries) | |||
conditional formating cells i Excel based on other cells values | Excel Worksheet Functions | |||
Conditional Formatting Multiple cells based on 2 cells | Excel Worksheet Functions | |||
Adding colour to a range of cells based on one of the cells v... | Excel Discussion (Misc queries) |