Forms using Data

volsfan210000

Board Regular
Joined
Jul 24, 2007
Messages
72
All -

I currently have a drop of data with 3000 rows and 26 columns of data that I need I need to filter based off a certain city within the data

Would like to create a summary form with the cities and when I click on the certain city it would then show me all the info for the pertain rows and columns.

What kind of Macro would be needed for this?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
All -

I currently have a drop of data with 3000 rows and 26 columns of data that I need I need to filter based off a certain city within the data

Would like to create a summary form with the cities and when I click on the certain city it would then show me all the info for the pertain rows and columns.

What kind of Macro would be needed for this?

Can't you do just that - and select your whole table of data, then use "Data"/"Filter" then, using the dropdown on your "City" column, only select the name of the city you want the data for?
 
Upvote 0
You can also use Excel's built in "Filter on Selection" feature.
To set it up, right click on the ribbon > Customize ribbon > in "Choose commands from " select Commands not in the ribbon > Select "Autofilter" (it's misnamed) > click on "New Group" > Add
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,399
Members
448,957
Latest member
Hat4Life

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