How To Allocate Percentages Of A Number Across Different Fields

Jul 27, 2012

We have a model at my job which shows every job code one can do (there are only about 25 of these jobs) For example, let's say one job is called "Trade Settlements" and it's been estimated that we spend about 1000 minutes a day doing this particular job across the entire floor.

Well, I want to come up with a way to allocate the minutes of this to certain hour blocks and determining whether our group is over/understaff given the results.

So let's say I want, 30% of it to be done from 9-10 am, 10% done over the next 4 hour time blocks, and 2-3 pm for the remaining 30%.

Thus, we'd get something something like 300, 100, 100, 100, 100, 300 minutes and 0's for other time blocks.

These percentages would be input fields so if anyone types in a percentage, they get # of minutes spent for that hour on that job. Ultimately we would add these numbers up with other jobs and be able to easily update from there for any job type we wanted.

View Replies


ADVERTISEMENT

General :: Allocate Record Number To End User?

Aug 18, 2014

What is the best way to allocate a record number to the end user?

I have had problems where users have come back to me saying that both of them created the same record number at the same time and I am not sure why that is happening.

To be certain, I am using INSERT rather than UPDATE which was my initial concern (an update would just over write the previous record)

How can we check the last value, uniquely assign that value to a person at the point of creating the record and ensure that no one else can take it...

Is it possible that a laggy server would cause these issues? (as the code executes roughly the same time as another person also executes code, they overlap?)

View 1 Replies View Related

Automatically Allocate Stock?

Aug 25, 2005

I have a database for taking orders for books, leaflets etc, what i want to do is this:

When I receive a delivery of stock I enter how many of each ‘Product’ I have received, I then want Access to allocate these to the various orders to make then ready for collection.

For example, if five people have all ordered 3 of ‘Product Guide’ and I only receive 15 then the first three to order are allocated three each.

Not got a clue how to do this, guessing I’ll need to code it?

Hope it makes sense

View 4 Replies View Related

Allocate Record By User

May 15, 2006

Hi All

I want a user to click a button and then it will assign the oldest record in the table to that particular user, by using their NT login.

Anyone got any suggestions?

Thanks

View 5 Replies View Related

Queries :: Allocate A Record To A Place In Table

Nov 25, 2014

I've got a table [Devices] with some number fields that are already in there for another purpose.

In a different exercise I will manually collect more information from a layout drawing and give each piece of information I collect a unique reference(this could be as simple as a PK ref) and attach a "type" and "location" . This will be done randomly in a batch exercise any time.

I need to put the above into access and hold it until I choose to individually allocate these records to the number field that already exists in the [Devices] table.

I would like to add "say" a combo/List box in [Devices] where I could search for the PK Ref which when selected against a number would populate the [Devices] table with previously unallocated information. I would like to keep any combo/List box down to unallocated PK refs to make records easy to find. I guess this a kind of cut and paste exercise.

View 5 Replies View Related

Queries :: Allocate Annual Sales By Month And Work Day

Dec 1, 2014

On the surface this seems easy, but I am struggling. two tables

tbldata (four fields 6,270 rows)
custid 2015cellcode 2015qty 2015amt
12673 1243 100 1,000.00
12673 1250 200 2,000.00
etc etc

tblmntlyalloc (Three fields and 12 rows i.e. one row for each month)
2015mnth, 2015allocation, 2015wrkdays
jan 98 20
feb 93 19
etc etc etc

So in order to handle seasonality of sales, the sales department is given 1,200 points. you can then allocation any number of points (75 - 125) per month. But the total number of points must equal 1,200. So I created a table with the monthly allocation and workdays. I could hard code the % and work days into the formula like this

Jan1[2015amt]*(98/1200)) / 20
Feb1[2015amt]*(93/1200)) / 19

And this does work very well to get me my daily sales amount per month/wrkday

However I know sales will change the monthly allocation (still totals 1200) and HR could even have a change to the holiday schedule. So I want to utilize the table.

So my query brings in both tables, but they are not linked. And this is my formula.

Jan1[2015amt]*([2015allocation]/1200) / [2015wrkdays]
Feb1[2015amt]*([2015allocation]/1200) / [2015wrkdays]
Mar1[2015amt]*([2015allocation]/1200) / [2015wrkdays]
Apr1[2015amt]*([2015allocation]/1200) / [2015wrkdays]
etc etc for 12 months

So I need it to find the value for Jan in the Jan formula, and Feb in the feb formula etc. I cannot determine the correct query formula.

View 8 Replies View Related

Number Fields In Text To Number Field, Formula For Fiscal Year

Nov 26, 2004

Date of Birth (DOB) field etc. in one program are text - how do I make another file with the same data into number fields for Date of Birth field etc? When I copy data to file that has number fields the 09252004 is changed to 9252004. Can I get reports with the correct Date of Birth in them by moving data from text file to number file?

There is data entered monthly in file and formula has been set up for January, February etc as ---quarter: Int(([month]-1)/3)+1. I would like formula for the fiscal year for April to be counted as month 1, May - month 2, June as month 3, July as month 4, August as month 5, Sept as month 6, October as month 7, Nov as month 8, Dec as month 9, Jan as month 10, Feb as month 11 and March as month 12.

Thank you

View 6 Replies View Related

Percentages

Apr 7, 2006

Simple question: how do you convert vlaues into percentages?
I have a boolean expression so when it's ticked the bookings are regular, and if they're false they are occasional bookings. I have used 10 bookings as test data (5 regular - true, 5 occasional - false). How would I convert these into percentages? For example, I've used the "Count" total to fint the number of regular and occasional booknigs, which are both 5. This is 50%, but how would I do that? Thanks for your help guys. :)

View 2 Replies View Related

Percentages Help :)

May 4, 2006

hey there i need help :)

ok, so i have to work out week by week percentage uses
i have a query that already finds the bookings in the week already, that works fine, but then i need to find the % use for that week, which is the count of the number of bookings in the week / 21
ive tried doing this in an update query, but it doesnt like me :)
any help would be great :)
i have a % use field in my table that it updates to, but im flexible :)
thanks

View 1 Replies View Related

Percentages Of Time

Apr 5, 2007

Hello all,

I have a requirement to give a % figure from 2 time fields. I would have thought this was simple, but when I divide the fields I keep getting #Error. Its not an error caused by a divide by zero, i can recify those. Can anyone point me in the right direction to get a % from 2 time fields.

Cheers
vmed

View 5 Replies View Related

Displaying Percentages

Jan 13, 2008

This is probably simple but it's something I haven't had to do before.

I have a main table.
I have a filter query based on this table.
I have a report, based on the query, which displays the total number of records in the query.
In the same report, I would like to display this total as a number (already done, obviously) and also as a percentage of the total number of records in the main table.

How would I go about this?

View 1 Replies View Related

Query Percentages

Apr 20, 2006

Hey guys.
I have a boolean expression which I want to calculate the percentage of.
I have the field 'Regular Booking' which is either true or false. I have 6 true and 5 false, equalling to 11 in total. I've tried using: 100*[CountOfRegular Booking] / [TotalRegular Booking] but this gives me the same percentage for both true and false. So if I enter 5 I get 45.54% for both true and false... why is this? I've had trouble with this for ages now and I'm pulling my hair out, lol. :(
Thanks guys!

View 13 Replies View Related

Percentages In Option Groups

Mar 24, 2006

Been searching for an answer to this one but still cant quite get it.

I am using an option group to subtract and add percentages on an amount in a text box. This is the code i am using but there is something wrong. My syntax is out.

Me.TechsRate = ((Me.Chargeout.Text - (Me.Option17.OptionValue /100))

I am trying to calculate 5% or 10% or 15% and so on, up to 35%

Thank you in advance

View 8 Replies View Related

Modules & VBA :: Cannot Seem To Get Percentages In Query

Aug 10, 2015

I am using following function to return percentage spend by testing against number of months elapsed. I am unable to show the CSpend as percentages and I cannot seem to get the percentages in the query.

Public Function CSpend(mMonths)
If (mMonths) = -4 Then
CSpend = 1
ElseIf (mMonths) = -3 Then
CSpend = 0.99956
ElseIf (mMonths) = -2 Then

[code]....

View 4 Replies View Related

Data Type For Percentages Or Text?

Jan 25, 2006

Is there a data type that I can use that will handle both text and numbers such as percentages? Or is there a way I can set the field type to text then convert the text to a percentage? I plan on using this field in a form so when the user inputs the info I will want to display it in the correct format. Any ideas or suggestions?

Thanks

View 2 Replies View Related

Calculate Percentages Of Survey Responses?

Apr 22, 2008

I'm setting up a database for student evaluations. Students have several options as to how well the instructor did for each survey question. I've been able to set up the data entry form to my liking, and I can use a query to average the total answers to each question, including a count of how many people responded. HOWEVER, I need to calculate the percentage of responses for each option. For example, I need to know the percentage of students who picked "Excellent" for question 1, how many students chose "Very Good", how many chose "Good", etc., so on and so on for every question. How can I do that? I'm completely stuck and a novice user. HELP!!:eek:

View 3 Replies View Related

Percentages In Table Design View

May 4, 2006

can anyone explain how to use a percentage in a table.

i have a field designated as data type "number" and format set to Percentage.

when i go to datasheet view and attempt to enter in these percentage (1%,50%, 34%, etc) it is multiplying the data entered by 100 (100.00%,5000.00%,3400.00%, etc).

gotta be something easy.

TUKTUK

View 3 Replies View Related

Tables :: Fiscal And Percentages Calculations

Apr 20, 2015

I'm trying to create a table in an Access Form or create a block of code to export the table with query results to Excel or PDF. In the end I would like to run a query or queries to populate the table or export the query results creating the table. I'm not sure the best way to create the table.

View 3 Replies View Related

Reports :: Percentages Of Approved Proposals

Nov 20, 2013

I'm creating a report that list multiple users providing an input of "approved" or "not approved" for a plurality of proposals. I'm trying to create a report that lists the percentage for each user that calculates the number of times the user inputs "not approved" over the total number of proposals that particular user reviewed.

For example,

Steve reviews 50 proposals, and of the 50 proposals Steve inputs 10 of those proposals to be "not approved". I need a calculated field that counts the number of times that Steve inputs "not approved" and calculates that 20% of proposals reviewed are not approved, of all the proposals he reviewed. The number of proposals are continuously being added so the number 50 will not always be the denominator.

There are at least 10 other users that I have to do the same calculation but if I'm able to do the example above.

View 6 Replies View Related

Simple Query Problem - Calculating Percentages

Mar 7, 2006

Hi, first post!

Just started doing access at work and have a problem.

I have a database. Each record has a bunch of different fields.

In one field, the record can either be DC or DS (different classifications).

I would like to run a query which would tell me the percentage of DCs and DSs.

I have managed to create a query that counts the total of each one, but for the life of me i cannot figure out how to do the percentages.

Can anyone help?

I am using Access 2000 and my query is being made in design view

The Query has 2 columns:

Column 1
Field: DC/DS
Table: Main
Total: Group By
Show: yes

Column 2
Field: DC/DS
Table: Main
Total: Count
Show: Yes


Can I add the percentage section as another column (using an expression?) or will it have to be another query, that runs the above query then uses data from that?

Thanks, Craig

View 2 Replies View Related

Reports :: Calculate Percentages Based On Criteria In Report?

Oct 22, 2013

I created a database to record time logged per workorder for each employee on my job. Each time log has a specific "Trade" attached to it along with a number of hours the employee spent on that workorder. I've created a report to display how much time the selected employee spent on each workorder (within a date range) and now I want to see what percentage of their time was spent on a particular "Trade" (for instance, during September Employee "name" spent "percentage" of their time on Electric, "percentage" on HVAC, "percentage" on Plumbing...[and so on])

I have trades listed in the table and in the time log, the form writes to the trades area of the table (probably very elementary for this discussion) and the report lists the name and grand totals with percentage of total time on each workorder, but does not list any trade information.

How can I add this into my report, preferably at the end (Report Footer?)

View 4 Replies View Related

Data Type And Length For Currency Calculations That Involve Percentages

Jan 12, 2012

I have a database that I'm building off of a process that is currently done in excel. I want my percentages calculations to match what I get in excel but I'm finding the numbers to be off by as much as .4%. I'm pretty sure they issue has to do with the precision of its calculations but what the best settings are.

My percent numbers are currently set to the field size "Double" with a percent formatting. My currency numbers are set to the format Currency and decimal places on auto.

View 2 Replies View Related

Queries :: Calculating Income Based On Percentages - Data Doubled On Report

May 6, 2013

I am currently using Access 2007 and have created a huge database for our investment managers to calculate the income based on percentages. The percentages are created in Excel. I have uploaded into the database both the June and the July percentages. When I run the query for my report using the date range for June, it works fine. When I request just the July information (entering the date range for July) the June data is doubled on the report.

View 4 Replies View Related

Number Fields

Nov 8, 2006

This is probably really easy but i am having brain fade with it.

I have a table called tblPlanControl. One of the fields is called copy number. I want to automatically calculate that field by the amount of records.

For instance.

The frist record would be copy no 1
second copy 2
third copy 3 and so on.

I do not want to do it by autonumber and cant decide on whether to do VB or if there is an easier solution!!

Thanks

View 7 Replies View Related

Incrementing Number Fields

May 5, 2005

Hey, long time reader, first time poster.

I have a database created that is used to catalog different projects. When the user adds a new record and that project is already in the database it gives the user a message stating that that project already exists. It gives the option of cancelling and goes back so the user can name it something different. Or the user can continue and it creates a duplicate copy.

Instead of creating a duplicate copy, I want it to increment a number field named [Duplicates] by 1.

Example:
If project 'A' is already in the database and the user adds it again it increments the duplicate field by one. So now the properties of project 'A' shows that there is 1 duplicate. Does that make sense?

Here's my duplicate code so far:

Private Sub Form_BeforeUpdate(Cancel As Integer)

Dim Response As Integer

If Not IsNull((DLookup("Project_Name", "Development_Projects", "[Project Name]= '" & Me.Project_Name & "'"))) Then
Response = MsgBox("That Project already exists" & vbCr & vbCr & "Select Yes to duplicate record, No to cancel.", vbCritical + _
vbYesNo + vbDefaultButton2, "Duplicate Data")

If Response = vbYes Then
[Duplicate] = [Duplicate + 1]
Exit Sub
Else
Cancel = True
End If
End If


End Sub

View 2 Replies View Related

Count Number Of Fields Using Where

Oct 12, 2005

Hey,

I'm currently working on a database for my school project.

Currently, I have a table:

Job:
Contractor_ID [Foreign Key]
...

Contractors:
Contractor_ID [Primary Key]
Contractor [Text]

Basically I want to create a query that shows a table like so:
Wages:
Contractor [Contractors.Contractor]
Jobs_done [counts the number of rows from Job that has the Contractor_ID equal to the Contractor_ID specific to Contractor (above)]


Eg.


Job:
Contractor_ID
1
2
3
2
1
4

Contractors:
Contractor_ID Contractor
1 Bob
2 Bill
3 Jim
4 Jill

Wages:
Contractor Jobs_done
Bob 2
Bill 2
Jim 1
Jill 1

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved