Excel 2007
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FFFF00"]Banded Darter - Etheostoma zonale[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]PLANK[/TD]
[TD="align: center"]OMNI[/TD]
[TD="align: center"]INVERT[/TD]
[TD="align: center"]INVERT[/TD]
[TD="align: center"]OMNI[/TD]
[TD="align: center"]OMNI[/TD]
[TD="align: center"]PISC[/TD]
[TD="align: center"]PLANK[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]7/5/2012[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]0.45
[/TD]
[TD="align: right"].66666
[/TD]
[TD="align: right"]0.33333
[/TD]
[TD="align: right"]0.66666
[/TD]
[TD="align: right"].333333
[/TD]
[TD="align: right"]0.33333333[/TD]
[TD="align: right"].25
[/TD]
</tbody>
Excel 2007.
I need to calculate a percent of the number of fish species that eat "PLANK" "INVERT" or "PISC". so in line 8 there are 5 species that eat one of the options. So the percentage should be 62.5%. Once I have this value I need to convert it to a score so <60% is 0; 60-70% is 3; and >70% is 5. I can get it to score but I can't get the equation to actually count the number of species eating one of those options. The equation I am using is:
=IF((COUNTIFS(Data!$E6:$CX6,">0",Data!$E$5:$CX$5,{"INVERT","PISC","PLANK"})/COUNTIF(Data!$E6:$CX6,">0")>0.7),5,IF((COUNTIFS(Data!$E6:$CX6,">0",Data!$E$5:$CX$5,{"INVERT","PISC","PLANK"})/COUNTIF(Data!$E6:$CX6,">0")<0.6),0,3))
any help on why the countif function will not count all three options would be greatly appreciated.
Thanks in advance.
A | B | C | D | E | F | G | H | I | J | L | M | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Alewife - Alosa pseudoharengus | American Eel - Anguliia rostrata | Banded Killifish - Fundulus diaphanus | Bigmouth Buffalo - Ictiobus cyprinellus | Black Bullhead - Ameriurus melas | Black Crappie - Pomoxis nigromaculatus | Blackchin Shiner - Notropis heterodon | |||||
ex | na | Endemism | ex | na | na | na | na | na | na | na | ||
Cyp | Cent | Family | Cent | Cyp | ||||||||
Lepo | Lepomis | |||||||||||
site | site_date | zone | rep | |||||||||
SAV |
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="bgcolor: #FFFF00"]Banded Darter - Etheostoma zonale[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]PLANK[/TD]
[TD="align: center"]OMNI[/TD]
[TD="align: center"]INVERT[/TD]
[TD="align: center"]INVERT[/TD]
[TD="align: center"]OMNI[/TD]
[TD="align: center"]OMNI[/TD]
[TD="align: center"]PISC[/TD]
[TD="align: center"]PLANK[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]7/5/2012[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]0.45
[/TD]
[TD="align: right"].66666
[/TD]
[TD="align: right"]0.33333
[/TD]
[TD="align: right"]0.66666
[/TD]
[TD="align: right"].333333
[/TD]
[TD="align: right"]0.33333333[/TD]
[TD="align: right"].25
[/TD]
</tbody>
Excel 2007.
I need to calculate a percent of the number of fish species that eat "PLANK" "INVERT" or "PISC". so in line 8 there are 5 species that eat one of the options. So the percentage should be 62.5%. Once I have this value I need to convert it to a score so <60% is 0; 60-70% is 3; and >70% is 5. I can get it to score but I can't get the equation to actually count the number of species eating one of those options. The equation I am using is:
=IF((COUNTIFS(Data!$E6:$CX6,">0",Data!$E$5:$CX$5,{"INVERT","PISC","PLANK"})/COUNTIF(Data!$E6:$CX6,">0")>0.7),5,IF((COUNTIFS(Data!$E6:$CX6,">0",Data!$E$5:$CX$5,{"INVERT","PISC","PLANK"})/COUNTIF(Data!$E6:$CX6,">0")<0.6),0,3))
any help on why the countif function will not count all three options would be greatly appreciated.
Thanks in advance.