I know all things are possible....but....

Sully38

Board Regular
Joined
Mar 9, 2004
Messages
167
I have a 4 field database. 3 fields are text value, 1 is a numerical field. I am being asked to add a field to the table to show what % of the entire table each of the records makes up. Is this do-able?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi Sully38

The general rule of thumb with database normalisation rules are that no field in a table should be dependant on other fields in the same table for its value.

It would be best to do what you are after in a query.

If you did as you are asked here, every time a new record is added to the table, an Update query must be run against the table and the new values added. Lots of things go wrong in these circumstances. Rather just use the query.

You could create a new table with the SELECT INTO statement using the same table name. SQL will delete the existing table and recreate it with the new data, but it will hit your systems rescources when the table gets large.

Any help??

anvil19
:eek:
 
Upvote 0
I thought that to be the case... So did I use proper form by doing the following:
creating a 3 query run.
1st q. Grouping text and summing numerical value
2nd q. Getting Total of numerical field only
3rd q. Show all 4 fields plus a 5th field showing sum(current value/Total Value)

Then I drop 3rd q value into a data sheet form..for viewing pleasures or is there a better way?
 
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,351
Members
451,697
Latest member
pedroDH

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