Array Formulas (scary Formulas)

Nov 15, 2005

Desperate help required - I am about to throw my laptop out the window, closely followed by myself!!!

I am self taught and rely on books or perseverence normally so apologies for lack of technical terminology. I have spent days on this to no avail- I believe this needs to be some sort of array formula but am open to any suggestions and advice!

Problem;
I have two workbooks, I need the result of the scary formula to be shown on the summary sheet in one field.

I need the formula to look at the other sheet and recognise (for each of the 100 or so rows) if the entry in column G is "F" or if it is "W" to recognise the number in column N and add it to all the other ones that also fit this spec.

Basically, the summary figure is the sum total of all the numbers in column N that have F or W in their associated column G.

A thousand thank yous to anyone who has the time to help!!!
Laura :confused:

View Replies


ADVERTISEMENT

Formulas

May 31, 2005

Ok I have Access 2000 and I am a little rusty.
I have a table created that stores all of our relevant production information.
What I want to do is print out a report that shows the daily sales, as well as create totals (forumulas. For the life of me I cannot figure out how to get Access to calculate '# of Units x price per unit= total.' and put that in a report.

I understand I can use the form to enter data into the DB. Will a report do the calculations that I want? Or a query?

I am kinda at a loss and I need to figure this out.

Thanks

View 2 Replies View Related

Using Formulas In Access

Mar 17, 2006

hi, i currently use acces to record the concrete order, used, wasted and waste %.

i was wondering if it possible to use access to calculate these, like excel does, and are the formulas similar to type in?

here's what im currently doing:
(For argument sake, i'll put the formulas from row 3 in)

Column A: Estimated Metres : Data manually input
Column B: Used Metres : Data manually input
Column C: Waste Metres : =IF(ISBLANK(B3),"",(A3-B3))
Column D: WAste % : =IF(ISBLANK(B3),"",((A3-B3)/A3))

The main bit i want access to do is in bole. ignore the rest, its just to keep my sheet tidy.

Can Microsoft Access do something similar. There is more, but i'l start here, so i can learn bit by bit.

Any info would be great. Thanks!

View 7 Replies View Related

One PC Not Able To Calculate Formulas Ect.

Jul 10, 2007

Hello, I didn’t know how to explain this or where to post this but here we go! I have two databases and one of the PC's here at work can’t use some of the items in the database like on one of the databases there is some formulas in text boxes and that PC won’t calculate what’s needed in them and every PC in the plant will except for this one PC. Also the one PC won’t bring up the Allen Browne's Calendar. When you press the start or end button to bring up the calendar it never pops up but if I enter the start date and end dates and use it that way ect then it works. I have no clue why this is just happening to this one PC. Any ideas?

View 2 Replies View Related

Queries With Formulas

Dec 22, 2005

I am in process of creating a new tracking report. I have to do a scoring system where the number of contacts you get a day equals a daily score. The problem I am having is getting this score to work with entries that are equations. One that I am working on is calls per hr/per day. I have inbound and outbound calls that have to be added-that part works. I then need to divide that number by the time worked for the day- that works. I now need to get that end result to match a score or ranking number. An example would be if a person takes 30 inbound calls and makes 125 out bound calls and works 7.5 hours. My calculation is (30+125)/7.5=20.6. My totals are now expressions because they read: Expr3: (([Extnout]+[ACDCalls])/Expr1). By the scoring set up, 20.6 needs to equal 4. How do I get the expression to read a score and make it equal.

View 2 Replies View Related

Formulas In Access

Jun 3, 2005

If i was to use a forumla in excel to add a number of cells together i would use this forumla =sum(c1:c4) rather than having to use =sum(c1+c2+c3+c4) In access i want to add a number of fields together so that i can caluclate the number of days we have had pallets in our warehouse. I have tried entering the formula =[days stored 1]:[days stored 4] ( i have also tried enter "=sum infront aswell")but it comes back with an error message. but when i enter =[days stored 1]+[days stored 2]+[days stored 3] and this gives me the correct sum. is there any way i can use ":" in the formula since i have a 100 fields called days stored(number) and i will be very painful having to type the formula in the long way.

thanks

View 14 Replies View Related

Follow-up Dates Formulas

Mar 14, 2006

How do I enter a formula/calculation in a table for follow up dates. I have a basic start date. In my form/table, I want the program to insert the following follow up dates automatically: one month, 3 month and 6 month.

View 2 Replies View Related

Problems With Formulas From Excel

Nov 20, 2007

Hi,

i currently have a spreadsheet with 6 columns and about 80,000 rows in excel.
I have been told to move it to access to make it faster. but am having problems.

each column has a number in it eg: 1, 5, 23, 45, 56, 43
say i need to find any rows containing eg: 5, 1, 56

currently (in excel) i use an extra column with this formula

=isnumber(MATCH(5,A1:F1,0)*MATCH(1,A1:F1,0)*MATCH( 56,A1:F1,0))

and it tells me which row has the numbers in it with either true or false, and then i filter the trues to get all the rows that have the numbers i need

and the numbers i want to find will change all the time

i have tried to copy the whole spreadsheet to access and it comes across, but my formula doesnt work

Is there any way around this, should i be doing something else?

Thankyou for your help:)

View 2 Replies View Related

Formulas To Values And Then Storage

Dec 5, 2004

I am hoping someone can help with the following...

I have a form which calculates values based on (of corse) the info entered on the form and some subforms for example...
here is one of my formulas

=Form!QuiltTypes!QuiltPrice*[TotalInches]

I am assuming that because this is a formula the value will not be saved in the table... or at least its not doing that now.

Can someone tell me how I can move my formula values to my table for storage?

This is my first time here so if you need more info or anything please let me know.

View 2 Replies View Related

Use Of Formulas In Access Reports

May 24, 2005

Hello,

I need to replace certain values by an abreviation. Is it possible to use a function similar to the following (Excell) formula in a field in an Access Report?

Code:=IF(A1="XXX";"AAA";IF(A2="YYY";"BBB";IF(A3="ZZZ";"CCC";" ")))
If so, what syntax should I use, because this doesn't work in Access.

Thanks in advance!

View 1 Replies View Related

Date Formulas In A Table,

May 25, 2005

I have this database, and one field is a start date, and another field is a date to mail out a thank you letter. I want this field to automatically display a date 5 days ahead of what the start date field's date is. I've seen how to do this in a form, but I need to do this from a table, and since I'm relatively new to access, I don't know where to put the formula, I can't figure it out, and I can't find anything pertinent in MS's help...

View 1 Replies View Related

Calculation Formulas In Access

Mar 19, 2015

I'm trying to build an calculated expression, in a table/query, similar to what you can see attached (view jpeg in att.)

View 1 Replies View Related

Using Totals In Formulas In A Query

Jul 2, 2012

I have a query that groups data and produces two totals for each group. A second query takes this first query as its input and divides one total by the other for each group. Is it possible to do this in one step?

View 3 Replies View Related

How To Make A Query In Field With Formulas

Jun 15, 2015

I have a field that has a formula that calculates the age and I want to make a query that shows me all the people, for example, with 20 years. I tried to do that but there's no result. I think it is because I have a formula there.

View 2 Replies View Related

Using Financial Formulas From Excel On Query Results In Access

Aug 31, 2012

I have a query that includes several columns, one of those columns shows returns on investment as a percentage. I need to figure out the annualised returns on investment using the following excel formula

{=PRODUCT(1+B1:B24)-1^(12/24)-1}

This formula gathers the percentages for the last two years then provides an annualized amount.

I'm just wondering whether this is possible to apply to the query so that when I open the query it can provide me with the 2 year annualized statistics.

View 1 Replies View Related

General :: Hide Rows Containing Formulas But No Data Empty Text?

Jun 22, 2012

I am exporting data from Access to excel, once all the data is exported into multiple sheets. I have one Master Sheet which has formula / reference to other sheets. I want to hide those rows which do not have data but contain formulaes referencing back to another sheet.

How to hide those records has formula but do not have data.

View 6 Replies View Related

Forms :: Conditional Formatting Show Error In Datasheet Formulas

Oct 16, 2014

After conditional formatting with every new entry in Datasheet Item Code or Item Description then after row Disc % and Amount default values is shown as #Type! And datasheet is very slow with flickering. If it conditional formatting is remove then working as well. I have attached the Screenshots and dB file ...

in Form: PurchaseEntry

View 10 Replies View Related

Appending Leading Zeros By If Statement With Formulas For True And False In SQL

Jul 15, 2014

My first question is how do I append 00001 so I can have a value for the false side of 9123400001 instead of 912341...My second question is why does it prompt me to enter parameters? It also produces all false values from the if statement...What I am trying to do is use a column that has either a Y or a N and using the if statement to correspond with different formulas depending on the Y or N.This what I have so far.

SELECT
IIF (ISRAILROAD=Y,9 & UCN & TXRTAREA, 9 & UCN & 00001 )
FROM CombinedUtility;

View 5 Replies View Related

Dynamic Query Based On "formulas" Stored In Table

Feb 13, 2008

Hi,

I have a table that looks something like this:


Company Product Sales
1 A 5
1 B 2
1 C 7
2 A 8
2 B 1
2 C 2


I want a query to produce a table showing Products A though D which is
the sum of Products A and B. Result:


Company Product Sales
1 A 5
1 B 2
1 C 7
1 D 7
2 A 8
2 B 1
2 C 2
2 D 9


I have many rows and many summations and the current union query and
supporting queries are pretty messy and not easily changeable. What
I'd like to do is have a third table which would hold the summed
product names and the formula used to get to it (Product D, A + B) and
have a query that can be dynamically based off of that table. Do I
need to use VBA? Does anyone have a better idea? Any help or even a
good search term would be appreciated!


Thanks!
Nathan

View 7 Replies View Related

Forms +List Boxes +Text Boxes With Formulas

Nov 8, 2004

I have a form with a List Box (List BoxA) that returns a value from a query. I then have a Text Box (Text BoxB) that uses the value from List BoxB and multiplies it by let's say 2. It works giving me the correct value but only becomes visible after I click inside List BoxA. How can I make it visible as soon as the form is opened? I tried refreshing the form data, didn't work and I tried a requery macro which didn't work either.

Thanks,

Lester

View 3 Replies View Related

Help With An Array

Jun 4, 2007

I have a table that holds the names of locations and a count for each location. example below

LocationCount
INR100
INR16
MTU245
MTU123
INR300
RVO1234
TC45
TC188

The table is always changing and I need to create a query in code that sums the count, grouping for each location. These values will need to be stored in a dynamic array for further processing. How do I store this query value into a dynamic array.

array would need to store these values

(INR, 316)
(MTU, 368)
(RVO, 1234)
(TC, 233)


Thanks in advance

View 2 Replies View Related

Array

Mar 16, 2005

Hey, is there a way to get the full list of tables in the database by using VBA? I am trying to do a backup function, where I want the database to fetch all the table names and put them into an array, to export them one by one to the backup file........hope you guys understands me.....thanks in advance

View 2 Replies View Related

Array Recordset

May 31, 2005

Hi all,

I have a table with multiple records per individual..
I need to search through all of their results to flag up those in a query that do not match the approved list..

what is the best way to do this?
I am trying a recordset loop but am struggling a bit...

here is my code so far

Private Sub Command0_Click()
Dim rst As DAO.Recordset
Dim dbs As DAO.Database
Dim strSQL As String
Dim strPscale As String

strSQL = "SELECT Eng_Speaking, Eng_speaking from qry_Sub1_crosstab_Crosstab;"
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset(strSQL)
Me.Text1 = ""

Do While Not rst.EOF
strPscale = rst.Fields("Eng_Speaking") & ";"


rst.MoveNext

Loop
Me.Text1 = strPscale
Set rst = Nothing
End Sub


but I need to somehow incorporate an array into this to check the score...

any ideas?

ta

John

View 4 Replies View Related

Enum Or Array?

Dec 27, 2006

I have built the first part of a table analyser into one of my projects as below:

It lists a complete list of tables except system tables for the db being assessed and writes all the table names to a table then the table properties, the fields plus there properties And relasionships and Indexes.

The Idea behind this is When I build a system I always use a frontBack Arrangement and versions within my management system.

there are always two Datafiles one the working datafile where the changes are made during design and the production model used by the users which is the one that will need to be updated by this tool.

The problem I'm having is I don't need to store all the field properties within the tables as a lot wont be used for updating the production model.

So I've been looking at ways I can generate a list of property names that I want stored so when my code loops through the properties list it can before writing the property name and value to the table check it against a list.

My question is would it be better to use an array or enum so I could check for an item and how could I best achieve this as I've not used enums before and I'm not that good at Arrays but there's more help there.

I have in the past used a list like: Prop1,prop2,prop3 which I then check using instr like instr("Prop1") which will return a start position so I know it's in the list but I think this is a bit messy so want to make the improvements

Any help would be much appreciated

mick

View 2 Replies View Related

Form With An Array

Jan 4, 2007

Hi, am new here and need a hand

i'm stuck on part of a program where i have a form which has two look-up lists (both looking up names of towns from the same table) and there is also a text box (called distance), which after choosing the town names from the look-up lists, should get the distance between the two towns from the array (in VBA).
thats where i have a problem, for now i have two towns (planning to have probably around 20 maybe more in the future), and something in the array isn't working

below is a link to a zip with that part of the array

i would be really grateful for any help, as i don't have a clue what went wrong
cheers

View 2 Replies View Related

Answer From 2d Array

Jan 29, 2007

Hi, totally new on MS access. Is it possible to solve this following task in Access. (using it in Excel today)

Ex.

2d table?

Prod 1 Prod 2 Prod 3
Prod 1 0 10 20
Prod 2 10 0 30
Prod 3 20 30 0

Question 1: What did you just create?
Answer: Prod 1

Question 2: What will you create?
Answer: Prod 3

Then Access will show 30.



Probably explaning it bad but hope you understand and can answer me if this is possible to solve in Access....

The mission is to create a database with setup times between diffrent products, and make it possible to ask a question to get the answer.

/Martin

View 11 Replies View Related







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