I'm currently working on a spreadsheet for my husbands work in a school environment. All was going well until I hit a wall with the alphanumeric data of the current uk stats system. Is there any way of getting my 4c...4b...4a...etc. to chart?
I want to make this code more efficient by searching for either 1kp, 2kp or 3kp in one process & 'doing the same thing' at one time. How do I achieve this?
Explained slightly differently, the code should look something like this:- Find 1kp or 2kp or 3kp. Then do something with the found results.
I've prepared an excel file (excel 2007) with some tabs that contains several charts (4 to 6 charts). When I want to print this file, the sheets with the charts on it doesn't print properly. I have set the print area to cover the charts only and then set it to fit on 1 page but the charts will not scale to fit.
I read somewhere that this is an excel bug - is there a workaround for this?
I could resize all my charts smaller but only as a last resort.
Code: With ActiveSheet.ChartObjects("Chart 2").Chart .Axes(xlCategory).TickLabels.Font.Size = 20 End With
But this code throws a "This Object Is No Longer Valid" error when it gets to the first .Axes line:
Code: Sub ChartFormat() ' ' Format Charts macro ' Dim ch As ChartObject For Each ch In ActiveWorkbook.Sheets("Summary").ChartObjects With ch.Chart .Axes(xlCategory).TickLabels.Font.Size = 16
Using Excel 2007. Is there a straightforward way to do a waterfall chart?
eg. stacked bars running from left to right. First Column = 2011 Headcount 2nd Column = stacked bar with additions (by category) - stepping up from the 2011 total. 3rd Column = stacked bar with reductions (by category) - steppind down from the first column + 2nd colum total. 4th column = 2011 exit (which will be at the same height as the bottom of the 3rd column).
I am building automated solutions where graphs source data is based on outcome of formulas. In case of line graphs I use #N/A as result if no data is available or formula results into an error - this way the data point and data label will not be shown in the graph.
However this does not work for bar graphs - with #N/A, #DIV/0, 0 or "" the bar itself is not shown but the data label is shown (as #N/A or 0). How can I set-up my formulas so that if result is 0 or formula is in error that the graph does not display the data label.
Attached excel file shows same data in 2 charts - 1 line chart (=OK) and 1 bar chart (=not ok). The data for chart is pulled from 2 other tabs (week&month) and merged into 1 data source for graphs.
I am looking for a way to manipulate xy data graphically by moving points in an excel scatter plot. This functionality was present in older versions of excel, but I can't seem to do it in the MS office 2010 version.
I have a piece of code that arranges a chart to fit the data it should show. The code used to work perfectly in the old Excel version, but after an "upgrade" to Excel 2007 I get "Automation Error" from the line where the scale type is set.
In the old Excel it is possible to rename a chart by pressing SHIFT+Mouse Click and then write a new name in the upper left corner name box. You can apparently do the same thing in Excel 2007, but the new name doesn't stick.
I need to automatically populate a column with an alphanumeric MFR0001 to MFR9999 and am currently using the formula below to add 1 to the start point (A1)...
A1=MFR0001 Formula in A2 =LEFT(C1,3)&(RIGHT(C1,4)+1)
This works perfectly if I start at MFR1000, but breaks and drops the 000 if I use it on the number I need to start with (MFR0001).
I am working on a project that has 5 worksheets. I have been able to figure out everything else I need to do but this has me stumped. I have data in Sheet1 A6, that i want to place in Sheet2 A6, Sheet3 A6, Sheet4 A6 and Sheet5 A6 and keep data and formatting(BOLD AND UNDERLINE). So I change Sheet1 A6 and the other 4 sheets change also. I'm using Microsoft Excel 2007.
I want to be able to run a macro that will export some of the data from a worksheet called Generated Report into another worksheet called Matrix. The data will be taken Generated REport and grouped into sections of the worksheet. These sections will be defined by the BRID value.
The Data that i want to export will be from the first 5 columns within the Generated Report(note there are other columns which data is not required from).
The following columns will be exported from Generated Report -
BRID,Requirement, Bug Description, Bug ID and Alt Bug ID.
BRIDRequirement Bug DescriptionBUG ID Alt Bug ID PQ115 PQ115-Login Bug Description text xihllloloj43712 123 PQ116PQ116-Landing Bug Description text ghghghgoot 43713 126
For Matrix
The data will be imported into Matrix worksheet into the following columns as part of the row headings
- Requirement, Description, Bug ID and VF Bug ID.There will also be other columns (outlined below) which i will use to manually enter data
The data will be grouped and imported into the relevant section by its BRID eg PQ115, PQ116 etc.
I want each section (marked by BRID number)to be separated by row headings.
These row headings are to be generated after populating all data within each BRID number.
When the data has been populated in each row there is a column called 'Status' which contains drop down list boxes which can be assigned.
The default status will be set to 'To Do'. The complete row headings are displayed with Output from Generated Report underneath
BRID Priority Requirment Description BugID Alt Bug ID PC UpdateNotes Actual Result Type of DEfect Test Status Tested by PQ115 PQ115-Login Bug Description text xihllloloj43712 123 To Do
BRID Priority Requirment Description BugID Alt Bug ID QC UpdateNotes Actual Result Type of DEfect Test Status Tested by PQ116 PQ116-Landing Bug Description text ghghghgoot43713 126 To Do
So far the macro that i have been using allows me to locate the data for each specific BRID in Generated Report and copy into the corresponding BRID section within the Matrix. I have to repeat this step for each new BRID and i want to be able to whole automate this process.
I have a simple reporting sheet where the data for orders place is in one sheet and on the other sheet is an imput box for 'date' and it filters through and presents a table of data and two graphs for the date chosen.
I give a daily report (contents of this sheet) but I also need to leave this sheet available for anyone to open and change to another date.
I want to copy the repor sheet into a new one and email but I want the graphs to remain, not go blank when anyone changes the original sheet.
I have a 5000 line table I am filtering by a few columns, and I'd like to calculate an exponential trendline value.
=INDEX(LINEST(LN(R1059:R1167),W1059:W1167),1)
But I actually don't want all the values from R1059 to R1167 - I want to select only the displayed values (R1059, R1068, R1077, etc). Is there a way to select only display values to use in a formula? The problem is it would be a lot of manual work to select them all - there are 50 or so instances I would have to select 13 manual values.
I am building a rather good size userform. It is getting really lengthy code-wise because I want certain things to be enabled and disabled on the form as they click on certain options.
I know I can hard code the lines but so I am trying to come up with some coding elements where I will not have to add 20+ lines of code for everytime I want to add a new feature.
Here is one of the functions that I have, There is going to be several of these:
Private Sub chkMore2_Click() If chkMore2 = True Then cboProtocol2.BackStyle = fmBackStyleOpaque cboApplication2.BackStyle = fmBackStyleOpaque txtLowPort2.BackStyle = fmBackStyleOpaque [Code] .......
So If I click chkMore2 ... all of the 2nd elements will be editable. If I click chkMore3 ... then all of the 3rd elements will be editable, etc. etc.
So I tried to play with this code example:
Private Sub CheckBox1_Click() If CheckBox1 = True Then Call Changeit(1, "yes") Else Call Changeit(1, "no")
[Code] ........
Excel 2007 does not like the .concatenate element.
I am looking for VBA code to extract data from each tab into master tab based on data.
I have 3 tabs (inputs)
Tab1 (Dept A-NAME) (RANGE B4:I7)
SL NO ID Date Customer Start Time End Time Trucks Supervisor
1 A 2/25/2014 Customer 1 10 1 3 ABC
[Code] .....
Tab 2 (Dept B-NAME) (RANGE B4:I11)
SL NO ID Date Customer Start Time End Time Trucks Supervisor
1 B 2/25/2014 Customer 3 10 1 3 RTY
[Code] .......
Tab 3 (Dept C-NAME) (RANGE B4:I7)
Is it possible to run vba code to get below result in new tab
SL NO ID Date Customer Start Time End Time Trucks Supervisor Result
1 A 2/25/2014 Customer 1 10 1 3 ABC Dept A
[Code] ......
Condition here is date 2/25/2014, is possible when running code message box pops up to ask date, when we give conditional date it extracts those dates.
I have a workbook (excel07) that I use to import data onto our purpose built database. I have some macros to sort the data and send it to the correct columns however the one stage I still have to do manually is assign each row its own unique sorting Code (in a bespoke column "B2:B999").
These are objectives and the code should contain three seperate parts (part 1a and b do not need to be seperated);
1a. The characters "PO" should be the first in the code (for sorting purposes)
1b. The persons initials (first letter of the first name and last name) found in column J2:J999. [They are sorted by name so It would also be good to add a number after the initials seperated by a space incase of multiple objectives however I could defintly live with typing these in manually]
e.g. "Joe Blogs" second objective = JB02
2. The numerical part of the stategic objective they have selected found in column H2:H999. [incase you need this these range from 1.1-1.4, 2.1-2.5,3.1-3.6 and 4.1-4.5 all with a short text strings after which shouldnt be included in the code]
e.g. "1.1 We are Committed to being nice" = 1.1
3. The year they are applicable for which will all be "12/13" however I will need to change this next March.
Therefore the final code should appear as "POJB02 3.1 12/13"
There is a 16 Character limit on these codes but all of that information is needed for sorting, filtering and report generation, the spaces could be replaced by "_" if that makes things easier.
Likewise, I have many combinations. And it is not necessary that only "AB-CD/EF1-AB" combination will come first in a row. In input,Column A values are given. Other columns are empty.
I have a table with names of employees in Column A, the data for each employee is written in columns B, C and D.
I'd like to be able to type in this data in cells E12-E14 and have Excel bring up all of the names in the table that are associated with this data, and preferably separate them with commas.
I'm working with Excel 2007, without VBA/Marcros.
Please see the example file: find_name_example.xlsx
I work as an alternative health practitioner and am making reference lists to use for working with various conditions. So far I've been using MS word and manually typing out everything into lists, but since that document is becoming hugely ungainly to work with (60+ double columned pages) I thought maybe there is an easier way to do this?
So my question is, can I use excel (or another program?) to do these things? And how would I go about doing them?
"Tag" various procedures with symptoms to alleviate. For example, can I tag Scalene trigger points (technique) with the symptoms brachial neuritis, extremity numbness, neck pain, elbow pain, wrist pain, shoulder pain, upper back pain, etc (some techniques will need 25+ symptom tags). Because of the large amount of "tags" I'll need to add, being able to quickly add them (for example, maybe typing them all in one cell separated by commas) is crucial Sort the data by symptom i.e "neck pain" and have all techniques tagged with "neck pain" show up in list form. Transfer all the data I already have sorted into the excel spreadsheet - for example I have a list of 100+ techniques for "neck pain", so I would need to be able to paste that list into excel and tag it with "neck pain" so it would show up along with anything added in excel. Be able to copy/paste the compiled list of techniques for each symptom into a document that I can print out and use as a reference at work. So for instance, be able to search "neck pain" copy the list of techniques for neck pain without including any extraneous data (such as all the tags) and paste it into ms word as text, not a table.
I have a table in Excel 2007, one set of data in a column contains cells with data such as = AA701 DIS34 5283000, Z00IS0750 Now these AA codes DIS codes 5283 codes and Z00 codes can all be different!! and they are all within the same cell.
What I need to be able to do is find out which AA code which DIS code which 5283 code and which Z00 code is reported within each cell on each row?
So could I split them out into different cells via VBA? or can I do some kind of lookup that picks up a AA code (for example) ?
The constraints I have is this is downloading from a web query, I do not have the ability to alter the way the original data is coming across, I can only alter it once I have received it - refresh and then alter it again.
I have some data in a Excel 2007 workbook in the range a1:d100 and I want to sort the data according to "A" column, which is the first column of the range and when I am giving data sort it is prompting to select the column, where as in 2003 it will prompt to select the column but by default it will take the first column of the range, so if we want the first column the we can hit enter key otherwise need to change the column name which will save time.
My question is that whether there is any setting I can make at the time of sorting data and by default it will take the first column of the range.