Solved

Excel formula question

Posted on 2011-03-15
4
202 Views
Last Modified: 2012-05-11
is it possible to make a formula that checks a range A1:A100 for certain words.. and if that word is in a field.. itll add up the sum of all the B fields that have the word in field A?

for example if it looked like this.. it would return 6

Test          3
Test          2
kajdfa       9
adfjkadf    9
ajdfjda      8
Test          1

0
Comment
Question by:bail3yz
  • 2
4 Comments
 
LVL 20

Assisted Solution

by:pari123
pari123 earned 250 total points
ID: 35142057
you can use SUMIF function for this.
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 250 total points
ID: 35142060
You can use SUMIF, i.e.

=SUMIF(A1:A100,"Test",B1:B100)

regards, barry
0
 

Author Comment

by:bail3yz
ID: 35142063
Thanks!.. perfect
0
 
LVL 20

Expert Comment

by:pari123
ID: 35142086

Like this - =SUMIF(E2:F7,"Test",F2:F7)

Assuming your data is in columns E and F, where E contains the words and F contains the values.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article will show you how to use shortcut menus in the Access run-time environment.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

821 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