I have a macro to create a report and it selects to place in the pivot table. The problem is that sometimes in my basic data for creating the pivot table, not all the same fields are there. Here is what it looks like for this section now.
With ActiveSheet.PivotTables("PivotTable2").PivotFields("Category Id") .PivotItems("ARMS/AMMO/EXPLOSIVES").Visible = False .PivotItems("COMPUTER").Visible = False .PivotItems("COUNTERFEIT GOODS").Visible = False .PivotItems("DRUGS").Visible = False .PivotItems("GENERAL MDS/OTHER").Visible = False .PivotItems("PROHIBITED ITEMS").Visible = False End With
In the instance for today, the field "Drugs" is not in my main data. So I get an error box and it stops because the category is not there. How can I get this to continue if one of the fields is not found?
I have two columns which i want to compare, they contain text data such as A123.
what I'd like is if its in column A and not in Column B then add to bottom of column A.
Once its in column A i can do the vlookup's to draw the other data, costs etc, over but don't know how to identify, and add, the missing codes to the list.
In the following extract, I would like to have today's date placed into Col K when an entry is made into Col J.
Entry into Col J is from a validation list of 3 options. What I desire is that when one of these options is selected ("Complete"), then I would like today's date to be written into Col K.
Currently Col K has a validation list which comprises dates from 1st of each month from July to June.
I need a fixed date as text preferably, so was thinking the VBA function "Date" on a Change Workbook Sub.
The information is currently part of a Table in Excel 2007 that has about 500 records.
I have a macro that imports a report. If the Charge Type in column A is BTOREPLX, I need to prefill the field next to it in column B with the text "REPLX", e.g. "REPLXCDROM". I've attached an example of the report.
In building my pivot table my data that I want to show in the column area is showing up as rows stacked on top of each other. In the column section I'm trying to show Total Budgeted Amount next to Total Actual Amount but on the layout it's showing the two stacked on top of each other is there some kind of hidden key that I'm missing?
I have a simple formula ='info page'!b2&'info page'!b5 in places that on my sheet adds a company prefix to a item number, prefix in b2 and item in b5, we have a client that we cant use prefixes but now when I leave the field blank its giving a zero and thats not good either. I'm pretty sure an IFERROR or something will work but can get the syntax right.
I have a tab called 'Tab1' in which I have column called 'Col1' and 'Col2'.
I have another tab called 'Tab 2' with columns 'ColA' and 'ColB'. When I enter a text in Col1(Tab1) I would like that text to be compared to data in 'ColA' from Tab 2 and when match found then get the corresponding value from ColB and autopopulate it in Col2 of Tab1.
I am trying to count the number of times that data is in a field and in any field the date is greaert than today's date. This date field could be blank and that is where I am having the problem.
I have done the two obvious checks regarding my missing Status Bar, both in View and Options and still the Status Bar refuses to show itself. I have shut down Excel with the options unticked hoping that on restarting and ticking them the bar will re-emerge but still no joy and also done vice-versa. how to get the Status Bar to reappear?
I have attached a screen shot of vlookup formula. Whilst selecting a range a little tooltip comes up showing how many rows and columns have been selected (6R x 2C) ...
... at least that's what used to happen. Now this handy tool tip does not show on my PC - and I have no idea how I turned it off, or more importantly how I can turn it back on again.
I have received a spreadsheet by email and when I opened it the formulas all had errors. I did a little investagating and found that when I use the viewer to open it there is an additional tab that is missing when I open it in Excel. I did check for hidden tabs but then realized that the formula would have still worked even if the tab was hidden, in this case it is just missing.
I have a hyperlink in my excel file which refers to cell in a separate excel file (which no longer exists). I therefore would like to remove this 'dead' link as it keeps trying to update it when I open the file.
I don't remember where this hyperlink is in this huge multi-sheet file so I can remove it! How do I have excel show me all hyperlinks and the option to remove them?
I am facing a problem importing Excel data into a finicky graphics program. This program can't accept strings and numbers in the same column. Hence, strings such as #NA, or Excel's standard "" can't be used where there are missing values, as the entire column is then ignored.
But, I would like to provision for future data below the rows that currently exist.
Let's say I am trying to read data from Sheet1 of a workbook. The rows in Sheet1 contain formulas referencing other sheets (e.g. Sheet2!C1-Sheet2!C2). So, if Sheet2 doesn't have data in a certain row, Excel would show 0 in the formula on Sheet1. That would mess up my graph. If I use any other string or "" using a If statement for missing data, then the graphics program doesn't work.
Is there any way say, using dynamic ranges or similar, to populate blank cells in Sheet1 as data arrive in Sheet2, without a pre-existing formula being present in these Sheet1 cells? I can imagine that VBA macros will easily do this (e.g. the thread on Autofill below). But, is this possible without having to trigger a macro as and when additional data arrive?
i have a bunch ofdaily rates back from 2005. sometimes ill have one or even 2 or 3 missing rates in a row. when there is a blank rate, i just want excel to calculate the average of the date below and the date after. right now, ive just been going manually to each missing date's rate and calculating the average.
I have created a 4 page chart in landscape with text in each of the 4 columns in the chart.
When I looked at it in print preview the chart did not fill the page and so to widen the last 2 columns I dragged them over to the right hand margin. I am still definitely within the right hand dotted line showing the margin limit.
The problem is that I cannot now put a border line down the extreme right hand column. Every time I click on any of the border instructions in the Font tab nothin appears on the right hand side of the box.
Can anyone answer this one for me - why does this piece of code run on some machines but not on others - I suspect it is something to do with a missing library but I have no idea which one.
When the code fails it highlights the word " Date" inside the brackets
I have been working on a pretty extensive Excel Workbook for quite some time, finished it today after testing it multiple times, everything was working fine on my PC. But after I pasted the document on one of the network drives at work, I started getting compile errors. I am getting these errors on basic functions that I used in my code such as Date, and the Left and Right functions. I figure I must be missing some sort of reference...the error I am getting is (Compile Error: Can't find project or library).
I can't understand why everything worked fine on my computer and as soon as I paste it on the network, the application blows up for my coworkers.
For some reason colors will not show on any EXcel doc. When I type colored text in a cell, it shows the color until I press enter, then it goes black. Cell fill colors do not show at all.
However when I send the doc to another computer the colors wil show.
we are currently upgrading from Win2000 and Office Pro '97 to WinXP sp2 and Office Pro 2003. I am testing our applications for compatibility and am discovering many that fall over because mscomct2.ocx is missing. Does it normally come as standard in Office 2003 or not? If not, when did it stop being standard?
I have a formula that looks like this: =HLOOKUP('Output'!$B$3,'Input'!$B$1:$P$300,'Input'!$A3+1,FALSE)
It is working very fine, when the cell has a value, but when it doesn't - it will return 0. So my question is: is there any way to make it return certain value or word like "No value" instead of zero?