Row Count With Matching Cell Criteria

Tech-Archive recommends: Fix windows errors by optimizing your registry



I need a formula that will count the number of rows (or times) in which
a cell has a date and the other has a certain tank number list. For
example the list in column A has tank numbers like the following:
6-125-4-V
6-120-5-J
8-14-2-V
6-12-3-F
8-12-2-J
In column D, most of the cells are blank until the tank is opened and a
date is entered.
I want to count the number of J tanks that have a date entered, the
number of V tanks that have a date entered, and etc. The closest I have
gotten is with a sumproduct formula but I can't figure out how to match
the certain tank letters with each date entered.
I tried some of this, but none is working:
=SUMPRODUCT((RIGHT(A9:A1611,2)="-J")*(M9:M1611<>""))
=SUMPRODUCT((A9:A1611="-J")*(M9:M1611<>""))
=SUMPRODUCT(ISTEXT(FIND("J",A9:A1611))*(M9:M1611<>""))
=SUMPRODUCT(COUNTIF(A9:A1611,"*-J*")*(M9:M1611<>""))
Any assistance would be greatly appreciated.

.



Relevant Pages

  • RE: Sumif extrapolated
    ... B5 will contain amount of barrels in the tank. ... lets say the products are ballast water, fresh water, or potable water. ... then a cell in the C row will say "200 bbls fresh water". ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Refer to a worksheet/name using cell contents?
    ... user inputs tank numbers, and then the worksheet returns specific ... false for the cell containing that information, ... User inputs T-85 (from drop-down menu, ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Questions about ISS/shuttle
    ... were too blinded by the exotic technology and sexy design to see the ... the thing that didn't work was the exotic honeycomb fuel ... cell was perfect with no flaws, and one flawed cell could allow ... cause a tank rupture. ...
    (sci.space.shuttle)
  • Re: Questions about ISS/shuttle
    ... were too blinded by the exotic technology and sexy design to see the ... the thing that didn't work was the exotic honeycomb fuel ... cell was perfect with no flaws, and one flawed cell could allow ... cause a tank rupture. ...
    (sci.space.shuttle)
  • Date triggered action in excel
    ... I'd like to make a graph of the level in a tank for the last 14 days. ... this 15% should shift one cell to ... -- marcel D ...
    (microsoft.public.excel.misc)