Formula

Cozmo35

Board Regular
Joined
May 29, 2009
Messages
61
I need a formula that will tell me the average price (from Column "Q") and omit any "$0.00" or Blanks.

Even better, a formula that will allow me to enter the amount that will be omitted. (Example: anything less than $5.02 will be omitted) :oops:
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Somthing like?

=SUMPRODUCT(--($Q$2:$Q$10<>""),--($Q$2:$Q$10>R1),$Q$2:$Q$10)/SUMPRODUCT(--($Q$2:$Q$10<>""),--($Q$2:$Q$10>R1))

Where R1 is the where you would enter the $5.02 or what ever to exlude anything less than it.
 
Upvote 0
Maybe this?

Excel Workbook
QRS
1$5.00$8.33
2$0.00105
39.3754
4$10.00
5$10.00
6$10.00
7$10.00
8$10.00
9$10.00
10$10.00
Sheet1
Excel 2003
Cell Formulas
RangeFormula
R1=AVERAGE(Q1:Q10)
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}. Note: Do not try and enter these manually yourself


Note that these are numbers formatted as $, the dollar sign is not actually in the cell...

Edit: mine doesn't work if you ever use negative numbers in the criteria cell (S2 or R1), but the one in post #2 does. Also c m s jr's formula is more efficient even if it is less pretty and if he didn't bother to provide a screenshot. ;)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,990
Messages
6,122,625
Members
449,093
Latest member
catterz66

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