Multiple Search Criteria

jwwhite021

New Member
Joined
Feb 19, 2009
Messages
10
Hey,

Hope you can help me with the following situation.

I need to add up the total of a column if it agrees with two criteria, that :

a - it only adds up the value of goods marked 2009
b - it only adds those columns that state success

Background: Got three columns of data

a - Year End Date
B Back log of projects in value
c - Progress to date

I just want to add up those that are a success for each year so that I can calculate the potential revenue with different levels of project success.

HOpe you can help.

thank you

John
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Can you show us an example of what you want to accomplish in real values alongwith your expected results ?
 
Upvote 0
ya sure

So I am creating a table with two columns

Year Total Backlog for that year (but only for projects labeled Success)

2009 25,000
2010 47,000

I presently have three columns, (Example of data line below)

Backlog Year End Status
25,000 2009 Success
36,000 2009 Fail
47,000 2010 Success

So the formula must look up columns A (Backlog), and columns c (STatus) and add up the value of the projects deemed a success in 2009

Hope that helps?

thanks

John
 
Upvote 0
assuming your data is in A1:A4 and summary table is in E1:F3

F2

=SUMPRODUCT(--($B$2:$B$4=E2),--($C$2:$C$4="Success"),$A$2:$A$4)

and copied down
 
Upvote 0
Formula entered in cell E4, assuming the year is entered in cell E2 and the Status is entered in cell F2:
Book15.xls
ABCDEF
1BacklogYearStatusYearStatus
2250002009Success2009Success
3360002009Fail
4470002010Success25000
Sheet1


Formula:

=SUMPRODUCT(--($B$2:$B$4=$E$2),--($C$2:$C$4=$F$2),($A$2:$A$4))
 
Upvote 0

Forum statistics

Threads
1,215,731
Messages
6,126,537
Members
449,316
Latest member
sravya

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top