T
Trev
I need a formula that will give me median if Column C on Sheet 1 =sold. Any
ideas? Thanks
Trev
ideas? Thanks
Trev
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I think you need something other than C1:C100 at the end.
So it the numeric data is in B and the text is in C, then use
=MEDIAN(IF(Sheet1!C1:C100="sold",Sheet1!B1:B100))
best wishes
--
Bernard V Liengme
Microsoft Excel MVPhttp://people.stfx.ca/bliengme
remove caps from email
- Poka¿ cytowany tekst -
Luke M said:Apologies, I misread "median" for "mean". With your added criteria:
=MEDIAN(IF((PendSold!C2:C2145="sold")*(PendSold!A2:A2145=Z9&"*"),PendSold!F2:F2145))
Note that your second argument does not treat the * as a wildcard. If you
want a wildcard approach, you can do:
=MEDIAN(IF((PendSold!C2:C2145="sold")*(LEFT(PendSold!A2:A2145,LEN(Z9))=Z9),PendSold!F2:F2145))
Again, both of these are array formulas.
--
Best Regards,
Luke M
*Remember to click "yes" if this post helped you!*
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.