Thread: Which Formula
View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Which Formula

Suppose the formula works up to the terms including F296:F300, and
let's say you have that long formula in cell X1. Then in another cell
you can finish it off with:

=X1 + countif(F318:F322,"x") + countif(F318:F322,"no")

and so on for your other 5 sets of data.

Hope this helps.

Pete

On Apr 20, 2:01*am, kmaki wrote:
Tried formula 1, I got an error message that formulat too long and I still
have 5 more sets to enter. *Here is what I did.

=countif(F8:F12,"x")+ countif(F8:F12,"no") + countif(F17:F21,"x') +
countif(F17:F21,"no") + countif(F39:F43,"x') + countif(F39:F43,"no") +
countif(F48:F52,"x") + countif(F48:F52,"no") + countif(F70:F74,"x") +
countif(F70:F74,"no") + countif(F79:F83,"x") + countif(F79:F83,"no") +
countif(F101:F105,"x") + countif(F101:F105,"no") + countif(F110:F114,"x")
+countif(F110:F114,"no") + countif(F132:F136,"x") + countif(F132:F136,"no") +
countif(F141:F145,"x") + countif(F141:F145,"no") + countif(F163:F167,"x") +
countif(F163:F167,"no") + countif(F172:F176,"x") + countif(F194:F198,"x") +
countif(F194:F198,"no") + countif(F203:F207,"x") + countif(F203:F207,"no") +
countif(F225:F229,"x") +countif(F225:F229,"no") + countif(F234:F238,"x") +
countif(F234:F238,"no") + countif(F256:F260,"x") + countif(F256:F260,"no") +
countif(F265:F269,"x') + countif(F265:F269,"no") + countif(F287:F291,"x") +
countif(F287:F291,"no") + countif(F296:F300,"x") + countif(F296:F300,"no") +
countif(F318:F322,"x") + countif(F318:F322,"no")



"Pete_UK" wrote:
Assuming that data was in column B:


formula1: * *=COUNTIF(B8:B12,"<") + COUNTIF(B17:B21,"<")


formula2: * *=COUNTIF(B8:B12,"yes") + COUNTIF(B17:B21,"yes")


formula3: * *=COUNTIF(B8:B12,"x") + COUNTIF(B17:B21,"x")


Hope this helps.


Pete


On Apr 19, 10:46 pm, kmaki wrote:
One page looks like this, I have a total of 13 pages, would these formulas be
correct once all rows are included in the formula?
formula 1. *
=sumif((rows8:12,"yes")+(rows8:12,"x")+(rows17:21, "yes")+(rows17:21,"x")) *


formula 2. = sumif((rows8:12'"yes")+(rows17:21,"yes")


formulat 3. = sumif((rows8:12,"x")+(rows12:21,"X")


* * * * * * Column


Row 8 * * * * Yes
Row 9 * * * * * X
Row 10 * * * Yes
Row 11
Row 12


Row 17 * * * * x
Row 18 * * * * *X
Row 19 * * * Yes
Row 20
Row 21


Thanks.- Hide quoted text -


- Show quoted text -