Sum if Formula help

tmo

New Member
Joined
Mar 9, 2009
Messages
4
I think this will be an easy one for most of you...

I have a total of 5 columns with inventory tracking information. I want to write a sum if equation that allows me to add current stock amounts based on criteria contained in 2 other columns, but can't get the formula right. The criteria is based on what the other cells contain, not what they equal, e.g. if the cell's contents are "IH control stability", I want excel to include the cell because it contains "IH"

It's set up like this:
A B C D E
1 Qty Date Lot # Initials Comments

Cell formatting is #'s in Column A, data (formated as 1-Mar-09) in column B, numbers in column C, text in columns D and E.

I want to add all quantities in column A IF they were removed in March (entered in column B) and IF they contain "IH" in column E

Please help!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
You can use SUMPRODUCT, something like this

=SUMPRODUCT(--(TEXT(B2:B100,"mmm-yy")="Mar-09"),--ISNUMBER(FIND("IH",E2:E100)),A2:A100)
 
Upvote 0

Forum statistics

Threads
1,213,520
Messages
6,114,101
Members
448,548
Latest member
harryls

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