Counta() Formula

excelhelp12

New Member
Joined
Dec 3, 2009
Messages
9
[FONT=Times New Roman, Times, serif]Hello,[/FONT]
[FONT=Times New Roman, Times, serif][/FONT]
[FONT=Times New Roman, Times, serif]I was wondering if you could could help me out with this question:




</PRE>

[FONT=Times New Roman, Times, serif]I have the formula =0.10/counta(E6:E15 ).[/FONT]
[FONT=Times New Roman, Times, serif]This gives me 0.10/10 if E6 through E15 are filled.[/FONT]
[FONT=Times New Roman, Times, serif][/FONT]
[FONT=Times New Roman, Times, serif]How do I make this formula:[/FONT]
[FONT=Times New Roman, Times, serif]=0.10/counta( E6:E15 but exclude the cells from this range that equal any of the numbers in B5:B8)[/FONT]
[FONT=Times New Roman, Times, serif][/FONT]
[FONT=Times New Roman, Times, serif]Example:[/FONT]
[FONT=Times New Roman, Times, serif]=0.10/counta(E6:E15) would be 0.10/10 if E6:E15 are filled[/FONT]
[FONT=Times New Roman, Times, serif]but if E12 = B5, excel would give me 0.10/9 because E12 would be excluded[/FONT]


[FONT=Times New Roman, Times, serif]Thanks[/FONT]




</PRE>
[/FONT]
 
Last edited:

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi
Welcome to the board

Try:

=0.10/SUMPRODUCT(--(E6:E15<>""),--ISNA(MATCH(E6:E15,B5:B8,0)))
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,838
Members
449,471
Latest member
lachbee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top