View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
Geauxfish Geauxfish is offline
external usenet poster
 
Posts: 17
Default Trying to create formula...

Sorry I didn't provide more info. Column A was "discontinued" marked with an
"X" and column F was "not participating" marked with an "X" also. Column I
was counting the names of the contract by rows with text. I had to show
where the total contracts (of column I) were subtracted from either/or
columns A and F with an "X". Your formula worked, but I tweaked it to work
when adding an "X" to either column A or F when finding out that particular
contract was discontinued for FY 2009-2010.

="DISTRICT TOTALS "&SUMPRODUCT((F7:F23<"X")*(A7:A23<"X"))

this is how the formula worked.
Thanks again.

"Eduardo" wrote:

Hi,
Be careful your column A it supposed to be the number of contracts as per
your post and column F where you put an X to indicate that the project has
been discontinued
In the formula you sent you are entering X in column A and not counting it

"Geauxfish" wrote:

I think this fixed it,

=SUMPRODUCT((F7:F23<"X")*(A7:A23<"X"))

"Geauxfish" wrote:

that adds the rows with text (landscape contracts) in column I; rows(I7:I23),
but also need to subtract that total number of (landscape contracts) from
columns A (a7:a23) and column F (f7:f23) that contain an "X", indicating the
contracts have been "discontinued" or are "not participating". In this case,
I have 17 contracts and can get the formula to tell me that, but am having
trouble getting the formula to look thru column A and F and find the "X" and
to subtract those contracts to get me my total. It should pick up two "X"'s
and subtract them from 17 contracts to give me 15 total. Can anyone help.
Thanks