Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
sumif + right question
Hi.
I am trying to write a formula that will sum numbers across rows containing the last 4 characters of a cell. NPSR10 NRSR10 NJSR10 NCSR10 NJBI90 NRBI90 Salaries 0 16.32 0 0 0 71.01 Overtime 0 0 0 0 0 0 Benefits 0.04 7.98 0.05 0 0 7.08 If I want to add all the columns containing "SR10", how do I do this? -- Thanks in advance. Chris |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
sumif + right question
Try this:
=SUMPRODUCT((RIGHT(B1:G1,4)="SR10")*B2:G4) -- Biff Microsoft Excel MVP "Chris" wrote in message ... Hi. I am trying to write a formula that will sum numbers across rows containing the last 4 characters of a cell. NPSR10 NRSR10 NJSR10 NCSR10 NJBI90 NRBI90 Salaries 0 16.32 0 0 0 71.01 Overtime 0 0 0 0 0 0 Benefits 0.04 7.98 0.05 0 0 7.08 If I want to add all the columns containing "SR10", how do I do this? -- Thanks in advance. Chris |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sumif question | Excel Discussion (Misc queries) | |||
SumIf Question | Excel Worksheet Functions | |||
SUMIF Question | Excel Worksheet Functions | |||
Sumif question | Excel Discussion (Misc queries) | |||
SUMIF question | Excel Discussion (Misc queries) |