I am using the following array formula "=SUM($I$35:$I$1000*($G$35:$G$1000=$B$10))" which works fine but if there is nothing to sum it returns "0", but I would prefer a blank cell if there is nothing to sum.
I have a client that enters a lot of data into various spreadsheets, we recently upgraded her computer and along with it upgraded Office to 2013. Since that has happened she has experienced some issues with navigating cells in Excel. What will happen is she will be typing than tabbing or using the arrow keys and all of a sudden the active cell will get stuck on one of them. Arrow keys do not move the cursor to the next cell and the only way for her to fix it is to alt tab to another spreadsheet and then back to the one she was working on. Once that is done it is working fine.
There seems to be no rhyme or reason to when this happens to her. I have re-installed (used the big one that re-downloads from the web), it has no add-ins on either that are conflicting and I know it is not the keyboard since when I log in through TeamViewer while it is happening I am also unable to move with the arrow keys.
For some strange reason the workbook I have been using on a daily basis has suddenly decided to go into design mode and stay there. No matter how many times I click the design mode button in and out it always stays in and I can't use my buttons.....it just selects them?
I am currently stuck with a drop down list problem. I am trying to make a benchmarking solution for a group of 20 stores. All stores sell products uniformly and their sales are displayed in percentages of the cumulative total. Currently there is a benchmarking page where all stores sales per product is displayed, however I would like the ability to select specific stores data from a drop down list. I have pictures displaying the basic concept of what I want to achieve. stores.PNG
On the left a list of products and the quantities sold in percentages per store for benchmarking purposes.
What I would like to achieve relates to the drop down list on sheet 2.
store 1.PNG
Here store 1 can see its sales in percentages, and has a drop down list to compare to different stores. If store 3 is selected I would like the data to be pulled into that column from the benchmarking sheet and the same goes for the other stores of course.
I seem to be stuck in "Full Screen" mode. When I go to the View menu, both "Full Screen" and "Normal" are highlighted. I can't seem to get out of Full Screen. I am using Excel 2003, XP SP3 installed. This just started this am. I did download and install Microsoft patches this am. ??? I am able to save and use Excel but without normal view my formating buttons etc. are not available.
Say I have 3 columns of data: A1:C10 and I want to run a Match() function on them all together to see if I get a match any one those cells, say the value of have in X1.
Since, Match only allows a One-Column lookup array.. is there a way to "concatenate" or "append" the 3 columns together within a formula so now I would be looking to Match in an array that is 1 column * 30 rows?
Basically want to convert =Match(X1,A1:C10,0) to =Match(X1,A1:A30,0) without moving around the raw data in the sheet.
And I want to avoid doing an AND or OR formula that uses 3 separate MATCH() for each column.
I have a hunch that the MMULT or MMULT/TRANSPOSE functions are involved, but can't seem to get it right.
I have the following code that gets stuck in the Loop and will not stop unless I press the Esc key:
Sub WIP() Dim ws1 As Worksheet, ws2 As Worksheet Dim lastrow As Long Dim newRow As Long Set ws1 = Sheets("PAYCALC") Set ws2 = Sheets("WIP")
Application.ScreenUpdating = False With ws2 .Range("A2:C" & .Range("A2:C2").End(xlDown).Row).Clear End With
x = 10 lastrow = ws1.Range("C5").End(xlUp) Do newRow = ws2.Cells(65536, 1).End(xlUp).Offset(1, 0).Row ws2.Cells(newRow, 1) = ws1.Cells(x, 2).Offset(-2, 0).Value ws2.Cells(newRow, 2) = ws1.Cells(x, 2).Value ws2.Cells(newRow, 3) = ws1.Cells(x, 2).Offset(3, 0).Value x = x + 21 Loop Until x >= lastrow
There's a twist to this. I have the same identiclecode in a different module. The only difference is ws2 is different and there are 7 newRow's. Other then that the two are the same.
That one works just fine without getting stuck. It will go through 200+ sets of records and stop when it reaches the last one.
The one above will not stop even though I just put in three records on ws1 for testing.
And looking from right to left, I am asking this question:-
If K8=J8, then I will have K8 & I8 as my result. If K8=I8, then I will have K8 & H8 as my result. If K8=H8, then I will have K8 & G8 as my result. If K8=G8, then I will have K8 & F8 as my final result, Else its K8&J8 as my FALSE. (the $J$3 = a comma, for number separation, and further LEN string capture.)
Every time I have made this formula, with other types of Logic, it only ever finds the second tier depth as the result, and I wonder why, since they are several nested IF statements in line!!
The incomplete Excel sheet is attached : S 1_2 tracker Forum.xlsx
The result of the above formula should be 4,10 But instead I get 4,4
I am supposed assign macro to track all employees hierarchy in an organisation.
In Sheet1 I have Employee ID's in D Column and Supervisor ID's in N Column.
And In Sheet2 I assigned macro...
What exactly I need is when I give number and click the button I need all the employee id's in his hierarchy
Concept:
The number which you give should search in N Column and Display D Column Values...and those D column values should search in N column and display D column values....so on.....
So far, it is showing 1 level hierarchy...but I need till end...
I have a bar graph in excel 2010 and the vertical access is stuck in the middle of the graph. When I right click on the axis and select "format axis" I have an option to set where the horizontal axis crosses but never the vertical.
i need to replicate what i did using array formulas with VBA macro (array variable). to make things clear and simple i created an example for illustration only. look at it & u will find what i did & what i need to do ,much of it in writing so that i accurately describe my problem. attached is my example
Trying to convert an Excel 2003 macro to work in Excel 2007.
The problem line is
Dim MyDataObject As DataObject
I suspect the problem is a Missing Reference, but I cannot figure out which one. I have the same ones (in 2007) as 2003 except for one which is not showing
Microsoft Forms 2.0 Object Library
Is this the one it needs? It is called something else in 2007?
The ones I do have ticked are
Visual Basic For Applications Microsoft Excel 12.0 Object Library OLE Automation Microsoft Office 12.0 Object Library Microsoft ADO Ext. 2.8 for DDL and Security Microsoft DAO 3.6 Object Library Microsoft ActiveX Data Objects 2.8 Library Microsoft Scripting Runtime Microsoft XML v2.6
I'm trying to have a macro write down an array formula, but when I hit ctrl+shift+enter, the recorder says it can't record. If I write in the macro ...FormulaR1C1 = {=...} then I get the formula as a text. Is there a way to tell the macro that a formula should be entered as an array formula?
The final column is the total for each row. Instead of using =sum(a1:a5) then dragging the formula down thus creating a new formula for each line, I want to use a single array formula to achieve the same result. I have tried =sum($a$1:$a$5:$e$1:$e$5), even though all my instincts said it did not look right. And I was right!
I'm sure it is easy, but I just cannot work out the syntax.
I have an formula for calculating the factor of a number this a fairly long array formula I decided to try to write this in vba to use as a user defined function. I first decided to record a macro of me writing the formula in excel to see what the code looked like, this I then adapted in another module copying the basic formula in a function procedure. my recorded macro works fine when I run it but my adapted function shows an error namely that the FormulaArray is not defined. I've tried all kinds of variations but with no success. how do I write an array formula in V.B.A.
I have a list in excel that contains the same sku more than once on a workbook in no paticular order, however i want to bring back the last time that this sku appeared on the workbook for example:
SKU 271562 date counted 11 september SKU 275555 date counted 12 september SKU 271562 date counted 12 september sku 255212 date counted 13 september & so on SKU 271562 date counted 11 october
The date range is only applicable to the date counted therefore i cannot search via a date
2. vezerid Oct 13, 7:09 pm show options
Newsgroups: microsoft.public.excel.worksheet.functions From: "vezerid" <veze...@act.edu> - Find messages by this author Date: 13 Oct 2005 11:09:27 -0700 Local: Thurs, Oct 13 2005 7:09 pm Subject: Re: Excel help Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse
I have a lengthy array formula that I try to enter using VBA. I get the common run-time error. I tried breaking it down, but that did not work. Maybe the syntax was wrong in the break down. Can some help out please?
=IF(COUNTIF($B:$B,B2) 1 Then Range("B" & x).EntireRow.Delete End If Next x Application.ScreenUpdating = True
I have a custom UDF (user defined function) that I have been using for about 2 years with success. I am now trying to use it in an array formula and getting a #Value! error.
The UDF looks like this...
=MyUDF(A1,B1)
...where A1 is a string to be evaluated and B1 is a number. Basically, the function returns another number depending on the relationship of the two inputs. I have not had any issues in the past using it as shown above.
Now, I would like to use this function on a range of cells and sum the results. Here is what I have now...
{=SUM(MyUDF(A1,B1:B100))}
Does anyone know why this returns a #Value! error?
I have attached a spreadsheet of data that I would like to reduce.
In the workbook there is a set of data (rows 1 - 24) which are defined with random dates (row 2) and number criteria column A.
In the table below that (rows 28 to 37) I have set out how I would like to present the data. how to create an array formula that sums the above data months into the criteria of column A.
I am trying a simple Index or Array formula and have been trying all day to get this work to no avail. The data is freight costs for shipping different size containers (20' and 40') to different ports (Lyndhurst, Port Coquitlam and Seattle).
I will have the port name plugged into one cell and the container size plugged into another cell and want to pull the corresponding freight cost out into another cell. The red text in the file are the data that I will plug in. The box below is where I would like the result.
I have a list of 187 countries and I would like to find a way to do this with an array and not by hand. Attached here is an excel with a sample; I would like to compute the standard deviation of the variable for the period 1980-2008 for each country separately. Is there a way to do this without me having to select by hand the range corresponding to each country in the st dev formula?