Simple excel filtering question and count question.

Jwan622

New Member
Joined
Jul 17, 2013
Messages
40
idBuyerBuyer EmailSellerSeller EmailSubject TypeCityTransaction DateBooking DateSubtotalSubtotal in USDCredit Card FeeCredit Card Fee in USDTotalTotal in USDPayoutPayout in USDNumber of Guestsuser_idCuisineStyle of Service
5362b30fba4e705a0b000006Samantha Resslersamantha.l.ressler@gmail.comDaniel Benhaimovertonemirror@gmail.comChefla2014-05-01 20:48:15 UTC5/2/2014$960.00$960.00$10.80$10.80$370.80$370.80$864.00$864.001253604043fac27ba73b000003American, Japaneseplated_meal
5362b2b77177c305e7000002Stephanie Artnerstephanie.artner@gmail.comOzlem Oguzcano_oguzcan@hotmail.comChefnyc2014-05-01 20:46:47 UTC5/14/2014$400.00$400.00$10.50$10.50$360.50$360.50$360.00$360.00105344519d9a88d60e03000013Mediterranean, Turkishfamily_style
5362aba8bb0e6133630000010alison.temple@fox.comDeborah Gormandeborahgorman@gmail.comChefla2014-05-01 20:16:40 UTC5/18/2014$650.00$650.00$19.50$19.50$669.50$669.50$585.00$585.0010535ecdd32b17faf068000001Greek, Mediterraneanbuffet
53629a6d8005843f6f000001Deb Sheffdslm@comcast.netBrad Millerbraisedchicken58@yahoo.comChefboston2014-05-01 19:03:09 UTC6/25/2014$160.00$160.00$4.80$4.80$164.80$164.80$144.00$144.0025346fde17ff807af6c000001American, Frenchplated_meal
5362995140f96b5c92000006Martha Arciszewskimartha.arciszewski@gmail.comYgael Tresserygael001@yahoo.comnyc2014-05-01 18:58:25 UTC5/6/2014$300.00$300.00$9.00$9.00$309.00$309.00$270.00$270.005362617ea4d90ec0ce000034
5362904fd67ee163bc000005Mitchell Seidermitchell.seider@lw.comBoris Dubnovborisdubnov@me.comChefnyc2014-05-01 18:19:59 UTC5/3/2014$864.00$864.00$25.92$25.92$889.92$889.92$777.60$777.6012535ea256b697d15970000014Americanplated_meal
53628226b020f15fdb000014Allison Heilbornallison.heilborn@gmail.comChristopher Lynchgoodfoodinc2@gmail.comChefnyc2014-05-01 17:19:34 UTC5/17/2014$1,000.00$1,000.00$30.00$30.00$1,030.00$1,030.00$900.00$900.00125340b8443f8a90365f00000eAmerican, Italianfamily_style
53627b644abe351b4b00002aSusan Steinthalsusan.steinthal@citi.comLance Kindbergcheflans888@gmail.comChefnyc2014-05-01 16:50:44 UTC5/10/2014$700.00$700.00$21.00$21.00$721.00$721.00$630.00$630.0014535ab974d9192acf42000001Americanbuffet












<colgroup><col><col span="6"><col><col><col span="12"></colgroup><tbody>
</tbody>

So here's my question. I want to filter out rows with any other city in the city column that is not LA. However, my understanding of the filter button --> deselect all --> LA is that it simply hides the rows, not delete them. The rows on the left side will then have large gaps, suggesting that the other cities (boston, NYc, etc.) are still in the data sheet, they are just hidden. Will this be a problem if I want to count the number of remaining rows that are LA-related rows?

I basically want to filter out the number of rows that do not have LA, and then count the remaining rows. How do I do this?

I tried using the count function, but it seems to only work with numbers?

-Jeff
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
As long as your data-set is in the form of an Excel Table, your counting should be OK. The summing/coouting/whatever function only works on what is visible.

You make your data range int a table by being in it an "Insert Table"
 
Upvote 0
Pick a cell where you want the number to appear and insert this formula:
Code:
=CountIf(G:G, "la")
 
Upvote 0

Forum statistics

Threads
1,216,182
Messages
6,129,361
Members
449,506
Latest member
nomvula

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