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


Posted on 2014-09-05
Last Modified: 2014-11-19
I have a spreadsheet that finds the total number of times a category reason code is noted on another worksheet, but now I have to find what the total dollars are for that category reason code.  How do I proceed?  Use an "If" statement, a "Match" + Sumproduct statement, or ???

Attached is a sample of the spreadsheet; the Review worksheet has the categories with their count + dollar columns and the Detail worksheet the codes used with the claim value.
Question by:castlerj
  • 2
LVL 27

Accepted Solution

Glenn Ray earned 500 total points
ID: 40306659
Great formula.  You only have to add a reference to the "Except Amt" column in the SUMPRODUCT formula to return the total amount for any category:

=IF(C6="","",SUMPRODUCT(--(ISNUMBER(FIND(","&C6&",",","&SUBSTITUTE(Detail!B$2:B$41," ","")&","))),Detail!$C$2:$C$41))


Author Comment

ID: 40306744
Thanks for pointing that out! Worked!
LVL 27

Expert Comment

by:Glenn Ray
ID: 40382396

My last solution (40306659) appears to have met your requirements.  If you agree, can you please properly close this question by clicking the "Accept as solution" link above that answer?  This will help ensure that future searches are meaningful to other EE members.

If it does not and you still have any questions, let me know.

LVL 46

Expert Comment

by:Martin Liss
ID: 40451899
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SKip past fields with no data 6 15
remove extra space at end of cell 12 32
Do Wend Macro not working 22 35
Problem to Office 1 13
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

861 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