I have a macro that converts all my PDF Purchase Orders to a text file and inserts the data/text horizontally into another document. However because the PDF's or the text within the PDF can be fomatted differently (that is on different lines etc) it therefore imports the information and it looks mis-aligned.I have attached a simple spreadsheet showing some sample text as it is imported and then below this how it should look like, all in line.
The range where the highlighted text in red is, is variable (but say nothing more than a variant of 10 columns). The text can also be Uppercase or Lowercase.So, I was wondering if there is macro code to find the "text" on various rows/columns and align it all in another column?
I have a stacked column graph showing data for 5 categories for 4 years (4 columns, 5 categories each).
I would like to display a Total above each column. I was able to do this on a single chart by just adding a text box and manually adding the total amounts. However, I would like this to be updated dynamically, as the data will be changed frequently.
Is it possible to: (a) Have the total display as a data lable, or (b) Have a text box containing a cell reference
We can center horizontally with TextAlign (Left, right or center). Can we center text in a textbox on a userform vertically? I am working with multiple fonts, when a user selects a font I attempt to format a textbox as a display to show what is being created (Best WYSIWYG as I can). I have this particular font that is just ugly but is required. My textbox is set for a 12 point font but the displayed characters partially appear below the lower portion of the textbox. Think of cutting off about 1/3 of the bottom of all text in the textbox.
In my textbox it seems like the text could be moved up (some type of top margin?). All other fonts appear to display in the textbox vertically central, so I believe its the particular font selected causing the as displayed anomaly.
Is it possible to vertically center the text in a userform label? For example: I have a label that's 22px high, but the text is only 10pt -- at the moment it just hangs out at the top of label looking bad.... I'd like to place it the middle if possible.
According to my provided data, draw a stacked chart with double columns, each bar includes four types of data(Internet, PBS,Branches and Mail-in/Fax-in) and the x-axis are 1Q06, 2Q06 and 3Q06 repectively. It is urgent,pls provide the template for me. Many Many to all of you.
I am trying to get an Excel chart to include columns AND stacked columns in the same chart with no success. I have attached the Excel chart where I could only get stacked columns and I had to use a line chart for the secondary axis. I could not figure out how to get the secondary axis to be a set as a column just like the primary axis. I thought this could be done in Excel, I have searched the forums and tried to play around with the gap width and/or include a blank column but I still haven't been able to get this to work.
I'm trying to find a way to alternate between two colors (white, grey, for example) in a stacked columns plot. Each stacked column should begin with a grey layer then white, then grey and so on. These plots will be created and changed frequently so I cannot manually do this every time.
I would like to create a chart with stacked columns. Usually, the data on the Y-axis is some kind of numerical data, such as budget. I would like to have the Y-axis have non-numerical data (= nominal categories).
Example : Take the following data : category | productname red berry red carrot green cabbage green apple
The ouput format i want is a chart which shows on the horizontal axis the categories red and green, and stacks in each category the right productnames on top of eachother; preferably each productname should have a different colour and showing data labels (e.g. "1", "green","apple" could be 1 specific data label).
I don't know how to achieve this, because if you display data as "count of productnames", then automatically you get something like a block with value 2, which doesn't show the different productnames inside that block.
Basically I want to see more dates, as you can see I've dropped down Cell B1 (31-Mar) to the B28 (27-Apr) Obviously if I wanted to see past 27-Apr I would just continue the drop down but I want to keep it within 28 rows and carry the dates onto cell C1-C28, D1-D28 etc, is there any way to do this using the drop down function or will I have to drop down each column individually then look date in the last row of that column and type the next date myself on the next column and drop it down?
I'm trying to lock the cells of my work book both vertically and horizonatlly. There are "header criteria" on both colums and rows that I want to lock so when you scroll down or over the title bars stay. When I've done it in the past it won't let me lock both correctly.
is it possible to concatenate the contents of several cell vertically into a single cell? like using (e.g. B47&B48&B49&B50&B51&B52) in a statement but make it vertical? and make some parts blank if it does not contain data.
(CODE)=IF(AND(A45=”1”),*CONCATENATE VERTICAL B47 to B52*, IF(AND(A45=”2”),*CONCATENATE VERTICAL D47 to D52*, IF(AND(A45=”3”),*CONCATENATE VERTICAL F47 to F52*,””)))
I have a macro which imports data from a mainframe dump text file and performs 'Text to Columns' on the imported data so that formula in the spreadsheet can act on the data. The code works perfectly well when I use it, but if a different user logs on and performs exactly the same mainframe dump and import macro the Text to Columns action splits the raw data in a different way and the result is that the split renders the formulae useless.
I've experimented a little and for some reason it appears that the 'Field Info' parameters which are produced when the Text to Columns function is recorded in a macro differ between users even though the raw data is exactly the same.
In the attached spreadsheet, I have the original data display horizontally (sheet2). Col A is Patient #. The header in row 1 are the test codes. Each patient took only 1 test and have result reported either neg, pos, pending or not eval. How do I transpose the header and have the test results consolidated in 1 column accordingly as display in sheet 3.
For what reason would a table not extend vertically on it's own when an entry is made in the next row directly beneath it? On all of my sheets I could swear the table will automatically extend vertically, but on one workbook that has 10 duplicated and then modified sheets with tables (I mention that for it might have been something from the original that was copied that is the problem), the table easily expands horizontally when a value is placed in a column next in line, but not the same for the next row!
I have many excel sheets with 1000 columns and 100,000 rows. I have to import these sheets into SAS system which wont let me import more than 250 columns per sheet (it misses the remaining columns, though rows it can import all of them). So, one solution is break each such sheets into 4 individual sheets. Ofcourse I can manually take the cursor to 250th column and copy/paste that data into another sheet and so on. But this is cumbersome and also means there is chance of mistake.
Is there a way I can divide the sheets into 4 sheets separately with each sheet having equal number of columns? Another thing I need to do is that on the top row there are company codes -most of them start with a letter which is fine. There are few which start with a number and I have to add a dummy letter x before the number. Now since there are 1000 columns, I have to scan the top row of all 1000 columns to find number codes which are scattered unevenly. So I was wondering if there is a way to tell excel to change all such number codes with extra x behind each number?