using excel as a relational database

eilerc

New Member
Joined
Mar 29, 2002
Messages
3
I'm building a length of stay study for a county jail and would like to do the entire thing in excel.

I have gathered data regarding in date, out date, time of booking in time of booking out and charges. I need to be able to display data like:

number of assault and battery charges on a given day and how many of these charges stayed in jail 5 - 10 days, 10 - 20 days, etc.

How could I set this up so people could choose the offense and time and get the correct data?

Thanks
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Yes - I'm using a pivot table. however, I was wondering if there is a way to allow the eventual user to select criteria somehow (such as a specific charge and a specific timeframe) and pull up a record of sorts as you might do in Access?

I'm pretty new to pivot tables and have not worked at all with forms.

Thanks
This message was edited by eilerc on 2002-03-31 04:32
 
Upvote 0
On 2002-03-30 17:08, eilerc wrote:
I'm building a length of stay study for a county jail and would like to do the entire thing in excel.

I have gathered data regarding in date, out date, time of booking in time of booking out and charges. I need to be able to display data like:

number of assault and battery charges on a given day and how many of these charges stayed in jail 5 - 10 days, 10 - 20 days, etc.

How could I set this up so people could choose the offense and time and get the correct data?

Thanks

Care to post about 10 rows of data, including the labels/column headings along with queries you are interested in?
 
Upvote 0
On 2002-03-31 04:32, eilerc wrote:
Yes - I'm using a pivot table. however, I was wondering if there is a way to allow the eventual user to select criteria somehow (such as a specific charge and a specific timeframe) and pull up a record of sorts as you might do in Access?

I'm pretty new to pivot tables and have not worked at all with forms.

Thanks
This message was edited by eilerc on 2002-03-31 04:32

AutoFiler can be useful for filtering data according to various queries. It even includes a custom option so you can say "show me only those rows that include data in this column that is less than/greater than/equal to/not equal to..." etc...

See if this helps.
 
Upvote 0
I'd be happy to post some sample data, but I don't think you can post attachments here.

Could I e-mail the file to you?

Thanks
 
Upvote 0
On 2002-03-31 16:06, eilerc wrote:
I'd be happy to post some sample data, but I don't think you can post attachments here.

Could I e-mail the file to you?

Thanks

Yes, sure.

There is a method though that you can use:

Select an empty cell, type =, select 10 rows of your data including the labels, hit F9, copy what you see, and paste it in the follow up.

Aladin
 
Upvote 0
I have used the Data, Filter, Advanced Filter to extract data from a list using Criteria. It works but seems like MS defers to Access when things get more involved. Perhaps for your application it could be worth a squint.
Regards
S.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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