Solved

# How to find values in excel and return matching numbers in same column

Posted on 2011-09-30
229 Views
I am working in Microsoft Excel, and in one row I have cells with "R" that represent reconciled columns and cells that have either "*" or is blank. I want excel to find all the cells with "*" and blanks and return the sum of the matching columns.  Can someone tell me the formula to do this? I have attached an image to show what I am talking about
excel.jpg
0
Question by:beemmer
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 33

Accepted Solution

jppinto earned 250 total points
ID: 36891319
Use a SUMPRODUCT() formula, like this:

=SUMPRODUCT((B1:B6<>"R")*(C1:C6))

Please take a look at the attached file.

jppinto
Sumproduct-Example2.xlsx
0

LVL 85

Assisted Solution

Rory Archibald earned 250 total points
ID: 36891320
Assuming the 'R's in column A and the values in B:

=SUMIF(A:A,"<>R",B:B)

will sum up column B where the corresponding cell in A is not 'R'

HTH
Rory
0

Author Closing Comment

ID: 36891390
Thank you both very much.  I tried out both of the formulas and they worked perfectly.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

### Suggested Solutions

converting excel into labels 6 35
Help on Solver add-in 30 45
NEED LOOK FOR NUM 23 27
Combining match and vlookup??? 4 20
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
###### Suggested Courses
Course of the Month9 days, 1 hour left to enroll