Solved

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

Posted on 2011-09-30
3
231 Views
Last Modified: 2012-05-12
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
Comment
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
  • Learn & ask questions
3 Comments
 
LVL 33

Accepted Solution

by:
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

by:Rory Archibald
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

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question