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 Replies


ADVERTISEMENT

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

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 3 Replies View Related

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

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

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

Push Data From Current Record In Form Into A New Excel File, Using Excel Template

Sep 10, 2007

I searched the archive and didn't find quite what I was looking for, so..

I have an Excel 2003 spreadsheet work-in-progress being used as a template (developed by others) to prepare project cost estimates in a complex regulatory environment. We are 'modelling on the fly' for a number of projects until we are comfortable with the estimate model, after which time I intend to incorporate our 'stable' estimate methodology into Access. Meanwhile, I am 'stuck' with the Excel spreadsheet.

I have a project tracking database (Access 2003), and I want to be able to track my estimates. I do NOT want to embed my spreadsheets into the db, just a filelink. There can be more than 1 estimate per project.

Ideally, the user should be able to define a project in the Access db (or select one already defined) and click a 'make estimate' button, which would generate a new Excel file in a predefined directory (based on the present version of the .xlt file), give it an appropriate filename (based on the Access ProjectID and estimate sequence number for that project if there were others already), open up that workbook in Excel, and then autopopulate some cells based on information showing on the original form in Access!

A separate button for 'Open existing estimate' will eventually be required, but I think I could do that if I can get someone to walk me through the steps required above.

I am somewhat familiar with vba in Access, but am an absolute rookie when it comes to excel.

Edit: I left out that I would also add an appropriate record to a table like tblEstimate which would contain the link(s) to the estimate(s). This table will obviously contain a FK to tblProject

View 1 Replies View Related

Linked Excel File - Excel Date Field Translated To Text?

Mar 23, 2006

I have an excel file linked to a table in Access. Several fields are date data types in excel but are showing up as text fields in Access.

My real goal is to do a comparison between two tables, but only if the date of the one piece of data is newer than the other. I had planned on comparing the two date fields but even though I have formatted the date fields in my excel file to be "Date", when I look at the design view of my table it is showing up as "Text" and therefore I am unable to do this comparison.

I'm not sure if it's just something that I'm missing but maybe someone else knows an easy fix to this. I know this is probably a simple question, but I did search the forum and didn't find a thread that specifically dealt with this issue.

Thanks in advance for your help.

View 2 Replies View Related

Access Query With Links To Excel / Export To XML And Back Into Excel

Apr 25, 2013

I am using Excel and Access 2010.

I have an excel spreadsheet with 8 tabs. They are all in the same format and column order. They are employees grouped by region. My ultimate goal is to merge all of these onto one excel tab, relatively instantly. I created a master tab and tried doing array formulas and Vlookups, it worked but my spreadsheet was way too slow.

My solution? Import and link them to an Access database, step complete. Create an XML export then import into Excel.

My problem? The only way to update the excel tab with the combined tabs is to save the excel file after changes, go back into Access, re-export to XML, then go back into excel and refresh the data.

My questions, is there any way to automate this process to the point that I can change excel, save, then hit refresh on my excel tab with the XML import to auto-update?

View 7 Replies View Related

Modules & VBA :: Export To Excel And Call Macro From Other Excel?

Aug 25, 2013

i want to export a table to excel , open this file and execute a macro from another file.

the code i have now is :

Code:
DoCmd.OpenTable "Overzichtaanwezigheid", acViewNormal
DoCmd.RunCommand acCmdExportExcel
DoCmd.Close acTable, "Overzichtaanwezigheid"
Dim XL As Object
Set XL = CreateObject("Excel.Application")
XL.Workbooks.Open ("C:UsersErwinDocumentsOverzichtaanwezigheid.xlsx")
XL.Visible = True
XL.Run "d: est.xlsm!Macro3"

Opening the excel file goes ok, running the macro however not.

View 1 Replies View Related

Copy Data To Excel New Excel Workbook.

Sep 15, 2005

Hello,
sorry to post again my question but just cannot find a solution.
I have a table and would like to copy data into a template in excel. I know that the code will have to make a copy of the template and then copy the data into the new workbook into sheet1.

My table (table1) has 3 fields: SSN, FNAME and LNAME.
I want to copy these fields into cells B1 (for SSN), B2 (for FNAME) and B3 (for LNAME).
I will use a combo to select the recorset to copy.

My problem is how to copy data into the template. I understand that it is necessary to run a copy of the template and then copy the data into the new xls file.

Is there a way I can do this via code? Code help is appreciated. Thank you.

View 5 Replies View Related

General :: Access Data Export Into Excel As Data Linked To Excel

Oct 21, 2012

how i can export the data from Access to excel using Access VBA for the specified sheet using data linkage with access database. Like we used to do it manually in excel as external data from access.Like we have some codes for linking excel file to database mentioned below;

DoCmd.TransferSpreadsheet acLink, , "region", "F:DB PracticeBook1.xlsx", False, "region"

Can we have something like this to link database table in excel file automatically.So that the excel size won't be that big and also it saves processing time.

View 5 Replies View Related







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