"IF/THEN" Logic Formulas And Getting "Not Enough Resources"

Apr 15, 2008

I have a spread sheet with 4 columns and 90,000 rows utilizing 4 "IF/THEN" logic formulas. I am getting a "not enough resources" message in Excel even though I have a top end laptop with all the ram and the biggest HD available.

View 3 Replies


ADVERTISEMENT

Several Formulas In One Cell + Logic Fail

May 3, 2009

According to what I've read so far in this forum, this will be cakewalk for you guys to find out of (or at least so I hope.. :-) I don't know much about Excel, and what I do know is just logic sense, and a bit of common math.

My problem is in a sheet I use for my personal economy. (I'm a neatfreak, and a nerd...) The logic of my sheet is that I seperate the different type of monthly expenses, and sum them individually. The way I do this is that the A Column identyfies an expense (where 1 = rent, 2 = food, 3 = gas etc) while the C column is the expense itself, Example:

A B C
On account 500
1 rent -200
2 food -20
3 gas -10
2 food -10
Sum expenses -240
On account 260

I then use this formula to discern them:
{=ABS(SUM(IF(A$4:A$30=X;C$4:C$30;0)))}............

View 3 Replies View Related

Excel With Low Available Resources

Apr 7, 2012

I create excel file to collect and process huge data , it contains a lot of macros , when i run it for more than 2 times error message appears " Excel cannot complete this task with available resources , Choose less data or close other applications''

And after i press ok it continue working but charts not updated until i restart excel , and if i restart excel every time i run this macro this error not appears.

How I can release excel resources when my macro finish it's work.

View 3 Replies View Related

Lacks Resources ......

Jul 2, 2007

I currently have a macro that opens up a specific workbook, copies data from that workbook, and then pastes the data into the control workbook. I am using this macro for a few workbooks but for this specific file I am getting the "Excel lacks resources..." error. Even when I don't run the file and just try to open both files up at the same time I get this error. I realize the best solution would be to split up the file I am copying from but I don't wish to turn to that yet.

View 9 Replies View Related

Available Resources Error

Mar 10, 2008

I'm having a few issues with a macro I have written (something I am relatively new to, I might add). Whenever I run it, I get an error message of "cannot complete this task with available resources" - I am currently using Excel 2003

What I am trying to do is cycle though a list of 401 vehicle numbers (the WBSs), using each individual WBS to filter data in another worksheet (sheet "MC01"), and then copy a range of this filtered data into a separate, vehicle specific worksheet (starting at sheet "P1" and continuing to sheet "P401").

The code would run fine when I kept the Field 9 Filter Criteria1 value a constant WBS number, but when I introduced the phrase to use the different values on the WBS sheet (Criteria1:="=" & WBS.Value), the macro would run perfectly for half the vehicles before giving the error message and bugging out.

I thought this could be solved by dumping the memory on each loop by using Set WBS = Nothing but this doesn't make any difference.

Code is as follows:

Sub Update_MC01()

Dim I As Integer
Application.ScreenUpdating = False
Sheets("WBS").Select
Range("B2").Select
Set WBS = ActiveCell
Sheets("MC01").Select
Rows("1:1").Select
Selection.AutoFilter
Sheets("P1").Select

I understand that 401+ worksheets is a lot for any workbook to handle, but the fact that if I set Criteria1 as being a static WBS vehicle number Excel has no issues with it, and everything cycles fine. It is the addition of the phrase "=" & WBS.Value that causes the hiccoughs. From my very basic knowledge of VB, all I can assume is that Excel is storing this "WBS.Value" in it's memory on each loop. Am I right in thinking that the phrase Set WBS = Nothing is the right thing to use to empty this memory?

View 9 Replies View Related

Cannot Complete This Task With Available Resources.....

Nov 26, 2008

Excel cannot complete this task with available resources. Choose less data or close other applications. My file is only about 3mb in size, made up of 17 worksheets. These sheets are calculated by referencing to another file that contains all of the background data. The data file is also about 3mb, made up of 13 worksheets.

There are probably about 2 - 3 thousand formulas in the file in total, ranging including vlookups, sumifs, sumproducts, etc. When the data was contained within the file there was no problem. I moved each data sheet into a new workbook to trim the size of my file and also stop the incessant calculation and this is when the problem started. Now, when I open the file and am prompted to update, it will update to about half way and then throw up the error message!

View 4 Replies View Related

Vlookup And Lack Of Resources

Feb 26, 2009

I have a (few) spreadsheets that I am using to gather data. One spreadsheet has over 9000 entries with 20 items for each entry (9000 rows, 20 columns). I use this as my source. In another spreadsheet I have the same column headers but, except for the one column that I enter manually, the rest of the columns are loaded from the source spreadsheet via a VLOOKUP function. As you can see there is a lot of data and a lot of action going on. Needless to say I have run into a conflect with the amount of resources I have available. I keep getting the message "Excel cannot complete this task with available resources. Choose less data or close other applications."

Since I have no other applications open, and I can't use less data, how can I increase my resources. I have been told that Excel allocates resources to a set limit regardless of the amount of ram or other memory you have. Is there any way to increase this?

View 2 Replies View Related

Consolidate Data From 3 Different Resources?

Mar 19, 2013

I need to pull a data from 3 different SharePoint lists and present it in a new data sheet. So far I know how to create data connections and I am able to see everything in 3 different worksheets but in the same workbook. Also if we have the same Project and IT number we should pull information just from the SharePoint 1 list.

View 1 Replies View Related

Need Learning Resources For VBA Syntax

Mar 24, 2009

I would like to know where can I find a good resource to learn about VBA syntax. I have VBA books and there are some examples of code in there but when I'm trying to read someoneelse's code I just get into commands or syntax I don't understand. For example I would like to be able to go some site and decifer what this line (or it's parts) means: If(cnt < MAXTEST, sDigSep & String(MAXTEST - cnt, "9"), "")

View 4 Replies View Related

Macro Charting Resources

Nov 9, 2006

i would like to find out about:The different essential building elements for different chart types (like 3DBubble requires XValue, Value, Name and BubbleSize, for example, but what about clusteredColumn and the others?)How to address the building elementsThe optional building elements (changing background color and stuff)

View 2 Replies View Related

Cannot Complete The Task With Available Resources

Dec 22, 2006

I need to work with a spreadsheet with 15000 rows of data. By the time I link this file with my final file and add formulas, my file has reached a massive size and the following pop up error message appears.

View 3 Replies View Related

Insufficient Resources To Show All

Sep 11, 2007

A pop-up window with the next message: "insufficient resources to show all" is displayed when I try to use a combobox in a worksheet.

Details:

I have been using excel 2003 in a Pentium IV 1 GB Ram to run a large workbook (at least 40 worksheets) that uses a combobox to find a price from a database. The workbook contains lot of images and some single macros.

The error appears after I opened the workbook and I tried to use the combobox. Finally, after various clicks, I get the value requested but the pop-up window doesn’t disappear.

If I do not use the combobox I do not receive the error.

Done:

I have done unsuccessfully all the suggestion that I found on the web (Google, msn and AltaVista), and of course the Microsoft forums. I tried to clean memory, erase temporary files, increase memory values and so on.. but nothing seems to fix the issue.
I also tried to run the workbook in 3 different PCs – and 3 different RAM sizes - getting the same error.

View 3 Replies View Related

Not Enough System Resources To Display Completely?

Sep 29, 2003

I've been working with links the past few days and have been experiencing the subject error message. What do I need to do to avoid the error?

View 9 Replies View Related

LOOKUP() Errors Links And Available Resources

Jun 21, 2006

I have a large spreadsheet that uses the lookup() to return data from two other large sheets.

The exact formula I am using is:

=IF(B1<>"",IF(ISERROR(MATCH(B1,'X:Store Users Data FilesPMMJim.FosterDATA[shop sheet data.xls]shop sheet data'!$A$1:$A$16374,0)),"NA",LOOKUP(B1,'X:Store Users Data FilesPMMJim.FosterDATA[shop sheet data.xls]shop sheet data'!$A$1:$A$16374,'X:Store Users Data FilesPMMJim.FosterDATA[shop sheet data.xls]shop sheet data'!$C$1:$C$16374)),"")

I have this same (or very similar) formula repeated about 3300 times in my main workbook. When I try to update links I get the following error. "Excel cannot complete this task with available resources. Choose less data or close other applications." If I "Open Source" it will update the links but when I close the "Source" I get the same error..."Excel cannot complete this task with available resources. Choose less data or close other applications." The source will close eventually and my links have updated but I can not save the work book. Much smaller versions of the same sheet work fine. What is the limit number of such links?

View 5 Replies View Related

Excel 2007 :: Cannot Complete Task With Available Resources

Feb 3, 2011

Excel 2007

Trying to insert a row and window popped out -Large Operation. " The operation you are about to perform effects a large number of cells and may take a significant amount of time to complete. Are you sure you want to continue?" I pressed ok , then, says "Excel cannot complete thsi task with available resources. Choose less data or close other applications. "

View 9 Replies View Related

Copy Picture - System Resources Error

Jul 10, 2007

I am trying to copy 8 adjacent cells in a sheet and paste them on another sheet as a picture (using copy picture method). I could do that 3/4 times, but after that I started getting the insufficient system resources error.

View 7 Replies View Related

Macro/formula To Count Distinct Resources And Match To Location

Oct 8, 2009

i am looking to create a small table from the attached worksheet that will show how many users there are for 3 different locations, the user names are in column a and the locations in column c. the thing is, the actual worksheet i am using in work contains almost 1000 lines, and is being updated daily, there can be multiple entries for a person for projects etc.. and someone can even be in the availability and pto area's without being in the main project area. each resource can only be on one location so that will not change.

also, there can be blank cells for resource which should not be counted. i was wondering if there was a formula or a macro that would count the distinct number of names and reference them to the location and give a count of resources by location?

View 2 Replies View Related

Excel 2007 :: (Cannot Complete Task With Available Resources) When Trying To Delete Rows

Jul 11, 2012

I have VBA code that attempts to delete an entire row from my worksheet:

Code:
Cells(3,1).Select
Selection.EntireRow.Delete

This works fine on small data sets, but on larger data sets it gives me the error message, "Excel cannot complete this task with available resources". This happens even when I try to do the deletion manually (without VBA code). Clearly, the code itself is not the problem.

My document has about 250,000 rows and 2,500 columns. While this is big, it is significantly smaller than Excel's documented limit of 1,048,576 rows and 16,384 columns.

I am using Excel 2007. My computer has 2GB of RAM but even when I try it on a computer which has 8GB of RAM it gives me the same error. If I "ClearContents" instead of "Delete" it works fine. For my purposes, however, deletion is entirely necessary.

View 9 Replies View Related

If/And Logic Functions

Jan 25, 2007

There are three situations that should yield the answer "overdue" and a fourth and fifth situation that should yield an answer "on target". I'm new to functions and have spent SEVERAL hours on this

{=IF((G4<>0,F4<$g$1="Overdue")+(F4<G4="Overdue")+(G4<>0,F4>$g$1="On Target")+(F4>=G4="On Target"))}

View 10 Replies View Related

Common Value But Different Logic

Nov 6, 2011

Although the "Trip Sequence" is same , but I need to separate the Trips if the difference between the "1ST TIME " is more than 3 hours keep the first "Trip Sequence" unchanged , then by either adding a prefix or add 2000000 to the second "Trip Sequence" and 3000000 to the Third, so forth so on until all the rules are applied ( assuming more than 3 Trip Sequences could be also allocated in the database ).

Data Base
TRIP#

1ST TIME Trip CodeCount1st Stn2nd StnTrip Sequence
XXX07411230$AA3270CDGFRA3270001XXX1108400$BBK142LHRAMS3270002
XXX0740705$CC32124AMSGVA3270002XXX01441150$DDA98CDGDUB3270003
XXX10321030$MM1947BRUAMS3270004XXX05101410$VV19132AMSGVA3270004
XXX05111835$VV1984GVACDG3270004XXX11451430$KK31133FCOATH3270005
XXX10471700$KK31132ATHCDG3270005

In the above examples , The "Trip Sequence" is same 3270004 but the "1ST TIME" is more than 3 hours difference:-

I want to be able ( ONLY IF "1ST TIME" is in access of 3 hours while the Trip Sequence are same , I want the results as follows:-

TRIP#

1ST TIME Trip CodeCount1st Stn2nd StnTrip Sequence
XXX07411230$AA3270CDGFRA3270001XXX1108400$BBK142LHRAMS3270002
XXX0740705$CC32124AMSGVA3270002XXX01441150$DDA98CDGDUB3270003
XXX10321030$MM1947BRUAMS3270004XXX05101410$VV19132AMSGVA5270004
XXX05111835$VV1984GVACDG6270004XXX11451430$KK31133FCOATH3270005
XXX10471700$KK31132ATHCDG3270005

View 9 Replies View Related

Vba Conditional Logic

Apr 24, 2007

I have 3 ranges in an excel sheet
col 1 range contains a numeric value ("1" or "5")
col 2 range contains a string value ("left" or "right")
col 3 range contains a string value ("a" or "b" or "c")

example: I am trying to get a total count if col 1 contains either a "1" AND
col 2 value is "left" And col 3 value is "a". Note: If col 1 is blank (" ") then the rest of the row is irrelevant. See attachment

View 4 Replies View Related

IF Statements And Date Logic

Dec 8, 2008

I am trying to calculate the number of forecasted hours worked per week for each contractor based on their allocation to the project and also based on a 37.5 hour standard week.

I am using a formula which was previously provided to me for another problem but theoretically should share the same logic. The formula works only when a contractor is forecasted to work for a full week. If there is a contract which finishes mid week the formula returns a weird value. Also another problem is that if a contract is starting on the 12th of January, it still forecasts a full week for the week commencing the 7th of January. I have attached a spreadsheet for everyone's reference.

View 4 Replies View Related

Logic With Multiple Conditions

Jan 15, 2009

I want cell B to be blank if 1 of 2 different conditions are met. If Cell A is blank then so too should be Cell B. If cell A contains data, then I want cell B to perform a formula $D$1-E6.

However, if Cell C contains data then Cell B should return to a blank status.

View 6 Replies View Related

Spreadsheet W/Logic For IT App Deployments

Aug 13, 2009

Sample spreadsheet attached to provide a visual of what I'm trying to accomplish.

Issue: Need to identify which userid's can be deployed and which userid's can't

Detail: In the attached spreadsheet, column A would list all userid's that the project team wants to deploy an application to. Let say for this example that they want to deploy Adobe Acrobat Pro v9 to replace Adobe Acrobat Pro v7. In my actual spreadsheet, there are 1307 userid's in Column A.

As a result of meetings, we have identified 11 Functional Teams that CANNOT have their users upgraded to Acrobat Pro v9. Using internal LDAP look up tools, I am able to generate a list of userid's for each of those 11 Functional Teams. The numbers vary. Again, in my actual spreadsheet so far, Functional Team #1 has 600 userid's, FT#2 has 2700 userID's, FT#3 has 6700 userid's, etc. I'm not done generating the userid's for each functional team but I know I need assistance once I'm done!! LOL!!

Using Column A, I'd like to see if that same userid exists anywhere in Columns B thru L. If it does, then that specific userid cannot be deployed. I would like that userid to be displayed in column N. And in Column O, I'd like to display the name or names of the functional team that this userid is a member of. It could be multiple teams. This will help me identify users that have multiple functional team memberships. Useful data for future deployments.

Using Column A, if a userid does not exist in Columns B thru L, then that userid can indeed be deployed. I'd like to get that userid displayed in Column M.

View 10 Replies View Related

How To Find The Next Occurance Of A Logic

May 7, 2009

In the columns below B is just 95% of A. What I want to do in column C is to put the maximum value of B over the range that corresponds until the value in A is less than that. For example for my 1st run the value would be $1,125.68 because this is the maximum amount before you fall below that in column A, or in this case hits $1,106.40. I want to be able to perform this automatically down the line (expanding the range until the logic test is true) but can't figure out how to do this. The formula would basically be the max of the range in Column B is > Column A until this is not true, then return the max in Column B for entry in Column C. Then in Column D I would run an identical analysis but return the Row identifer for the dataset.

View 11 Replies View Related

Concatenate & Indirect Logic

Sep 21, 2009

I need your help on the attached sample sheet. I have used the concatenate & indirect combination logic to get the desire comments as outcome , but my problem is that I have 300 rows & 30 sheets in a workbook with this logic , it is increasing the size of my file as I have a total of 30 sheets with same logic. I need it in every sheet. If there is any other alternative or solution.

View 14 Replies View Related

Logic For Sorting Values?

Feb 17, 2014

I have a dump which looks like below sample:

3
3
2
2

The actual dump will have around 200 - 500 rows of data.From the above I need to manually group them which are similar. E.g. the data of (3, 3, 2 , 2) in row 1 & 2 are matching, so they will be group 1 & row 3 will be group 2, row 4 will be group 3 respectively.

The sum & sort did not work as sometimes the data with the same range are not in same order. simpler logic/VBA code if any, which will automatically put group numbers if the data in two rows are exact match.

E.g of the output below for the above data:

Group No.

1
3
3
2
2

View 6 Replies View Related

Head Around Sumproduct Logic

Nov 26, 2008

I am trying to get my head around sumproduct. So I had a go at trying to use the following formula to add data in odd columns.

=SUMPRODUCT(ISODD(COLUMN(A1:J1))*(A1:J1))

The formula below works but I don't understand whats wrong with the one above. Can anyone please explain how I would use isodd to achieve this? What am I doing wrong?

=SUMPRODUCT((MOD(COLUMN(A1:J1),2)=0)*A1:J1)

View 9 Replies View Related

Resource Error Message "cannot Complete This Task With Available Resources" When Changing Charts Thru VBA

Apr 19, 2006

I have the following code for a sheet in my workbook that has 3 charts:

Private Sub Worksheet_Change(ByVal Target As Range)
Application.Calculation = xlCalculationManual
ActiveSheet.ChartObjects("RdteObs").Chart.SetSourceData ThisWorkbook.Names("GSumRdteObs").RefersToRange
ActiveSheet.ChartObjects("RdteWip").Chart.SetSourceData ThisWorkbook.Names("GSumRdteWip").RefersToRange
ActiveSheet.ChartObjects("RdteExp").Chart.SetSourceData ThisWorkbook.Names("GSumRdteExp").RefersToRange
Application.Calculation = xlCalculationAutomatic
End Sub

but whenever the sub runs, I get this error message: "Excel cannot complete this task with available resources. Choose less data or close other applications." Does anyone have an idea what's going on?

View 3 Replies View Related

Group Numbering Rows By Logic?

Mar 27, 2014

I tried to make attached worksheet self-explanatory. find attached.

Basically, I want to number group of rows based on a logic (blank A,B, and C columns)

inincubus.grouprows.xlsx

View 3 Replies View Related







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