LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Help with Excel 2007 Formula

I think you've missed something, Geoff.

One argument for your SUM function is
COUNTIF(D36:D606,"=L5") + COUNTIF( D36:D606,"=L6") + COUNTIF( D36:D606,
"=L7") + COUNTIF(H36:H606, "=hC")
but it isn't clear what you want to SUM to that.
Or did you intend your formula not to be
=SUM(COUNTIF(D36:D606,"=L5") + COUNTIF( D36:D606,"=L6") + COUNTIF( D36:D606,
"=L7") + COUNTIF(H36:H606, "=hC"))
but just
=COUNTIF(D36:D606,"=L5") + COUNTIF( D36:D606,"=L6") + COUNTIF( D36:D606,
"=L7") + COUNTIF(H36:H606, "=hC") ?

If you don't understand what the SUM function does, look it up in Excel
help.

And are you sure that the OP wanted for look for the text string L5 (or L6,
or L7)? I had assumed that she was looking in column D for a value equal to
the value in cell L5 or L6 or L7.
I agree with you that it wasn't clear what the OP was trying to do. I made
a guess in my reply to the thread, but we are all guessing.
--
David Biddulph


"Geoff_L" wrote in message
...
Not very clear what you are trying to do. Are you simply adding up the
total number of L5, L6, L7 and hC instances in the 2 columns (as your
formula
would suggest)? Or is there more to it than that? To achieve the above
then
the formula should read:

=SUM(COUNTIF(D36:D606,"=L5") + COUNTIF( D36:D606,"=L6") + COUNTIF(
D36:D606,
"=L7") + COUNTIF(H36:H606, "=hC"))

Please explain more if this is not what you are trying to do.

If this was helpful, click Yes.

"Marilyn" wrote:

=SUM(COUNTIF(D36:D606,"$L5$L6$L7"))+(COUNTIF(H36:H 606,"hC"))
Trying to count the number of L5,L6,L7 in column range D36:D606, for a
total
count. Then I want that total number of L5,L6,L7 (one sum)to display the
total hC count shown in column H36:H606. I can't seem to get the total
number of hC for L5,L6,L7.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Formula and VBA help Preschool Mike Excel Discussion (Misc queries) 5 August 25th 09 12:45 AM
Formula bar - Excel 2007 Idoia Excel Discussion (Misc queries) 6 April 21st 09 07:24 PM
formula excel 2007 john Excel Discussion (Misc queries) 3 November 28th 08 10:14 PM
I need a formula for excel 2007 colwyn Excel Discussion (Misc queries) 7 October 20th 08 04:30 PM
excel 2007 formula STEVE THE PARTS GUY Excel Worksheet Functions 1 August 20th 07 02:20 PM


All times are GMT +1. The time now is 12:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"