Data Formatting..
Apr 26, 2009
i have an application that can export tables to Excel. But in Excel, the data is only recognized as text, and not as or numbers. A typical column looks like this:
$300,40
$500,23
($350,00)
etc.
An amount in brackets signify a negative amount. Is there an easy way how i can convert this cells into numbers i can work with in excel? I have a similar problem with dates, times and cells with both date and time in them.
View 2 Replies
ADVERTISEMENT
May 5, 2014
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.
View 1 Replies
View Related
Jun 28, 2013
My data currently looks like this: 2iiaRXl.jpg
I would like to render it into something like this: TZ1ibNb.jpg
I tried to use pivot tables but I couldn't get it to look right: Jyn1CKl.jpg. If possible, I want the companys' ratings to be displayed along each corresponding year row, similar to the picture in the second link.
View 2 Replies
View Related
Mar 26, 2008
I'm working with a data logging system to collect data on a circuit. The logging software allows you to export the data collected to Excel in real time using DDE, and having talked to the logger company I managed to obtain a macro to get the data into excel (I'll put it at the end of the post). This works fine, and I can now press a button and Excel updates itself with the new data every second. What I want to do is quite complicated and I have no idea where to start:
1. The data obtained via the macro only displays in static cells, that is when the new data comes in it overwrites the old one. I want Excel to take a copy of each new bit of data as it comes in, and copy and paste it into a column on the same sheet so that it can be stored. I then want it to move down a row and take the next reading and so on, so that each time a new reading comes in, Excel takes the value and puts it in the next row down in a set column
2. Having a time elapsed measure would also be very useful, so that it records the time after starting the other macro in a column next to the ones collecting the data as described in 1. In this case, each new row would be 1 second further on. The actual time is not massively important, just the 'relative' time since the data collection started.
3. Once the data is copied into the columns to be stored (1.) I then want to calculate two sets of moving averages and place those in columns next to the data. My current plan is one average of 30 samples and another of 5.
4. Once I have the moving averages I can then get Excel to plot some graphs to show the progression of the two values
5. Since my project is revolving around detecting a short circuit in a coil of wire, it is looking for drops in resistance. I want Excel to be able to monitor the two calculated moving averages and if the difference between them exceeds a set threshold for more than 5 samples then some alarm is triggered (for now just a cell changing colour to red or a pop-up box or something).
View 12 Replies
View Related
Dec 23, 2005
I am importing the NFL standings into a worksheet - [url]. In the Home, Road, AFC, NFC & DIV columns, the team records are showing up as dates....
View 9 Replies
View Related
Oct 23, 2012
I had below data in excel which i need in one cell with some formatting. I had lots of lines like this, some of the input are below
JT12345
JT12346
SB06
SB07
SB 08
SB 09
I want output in one cell say in A1 cell like 'JT12345','JT12346','SB 06','SB 07','SB 08','SB 09'
Sometime the data might be only 6 letter or 4 letter or 4 letter with space in middle.
View 9 Replies
View Related
Jan 23, 2007
I'm working with a data logger which saves a basic text file in this format.
02.472413
1-0.004203
02.884523
1-0.004805
02.884523
1-0.004805
10.390663
02.884523
Where the first number is the channel of the logger, and the second number is a voltage. Channel 0 is reading distance in volts, and channel 1 is reading force in volts.
The data consists of over 2000 readings like this. I am trying to seperate it in a way that all of the channel 0 readings are in one column, and all of the channel 1 readings are in their own column.
02.472413 1-0.004203
02.884523 1-0.004805
02.884523 1-0.004805
02.884523 10.390663
OR
02.472413
02.884523
02.884523
02.884523
1-0.004203
1-0.004805
1-0.004805
10.390663
View 9 Replies
View Related
Feb 7, 2007
This is my first post on this forum and I hope I'll find here all the help needed! This is VERY important for me. My boss is expecting me to finish this week. I am not really an expert in Excell but I have to do some pretty complicated things. At least they are complicated for me. J
OK ... here we go! ....
View 9 Replies
View Related
Mar 2, 2007
I'm attempting to copy some data from one spreadsheet to to a workbook in another spreadsheet. However, when I do my copy, I lose all of the formating of the intial data. Does anyone know if there a way that I can keep the the format of the original to the new spreadsheet?
View 5 Replies
View Related
Jun 5, 2008
Does anyone have a workaround for the following error "Excel Could Not Save All the Data and Formatting" Error Message (http://support.microsoft.com/kb/215783). I am applying validation to many, many cells
View 4 Replies
View Related
May 28, 2014
I have a spreadsheet with data in a table with order numbers in column A. Although each order is given a unique number, the data populates with multiple rows, one for each line of the order, all with the same order number depending on how many lines where on the order (which is generated via other software and cannot be altered). Therefore the data, when sorted by order number, appears in groups:
[URL] .....
Is it possible to conditional format each line in groups of the same order number to make it easier to differentiate between each individual order which will still work when the data is sorted or filtered?
View 2 Replies
View Related
Oct 19, 2008
I'm having a little trouble figuring out how to do some conversions. For instance, I would like to know how to convert a decimal number like this:
1.800
which is a ratio of 1.800:1 to display like this:
9:5
So, when the 1st value changes to something like this:
1.778
It would be displayed like this:
16:9
Likewise, a ratio of 1.333:1 would be displayed as 4:3.
I also don't want it display in Time format as Excel has a habit of converting values with colons to time format.
View 4 Replies
View Related
Nov 4, 2008
On this particular formula but my colleagues have informed me that they require cells with no dates in to have no colour fill. Firstly, I have searched and tried myself with no success on stopping the below formulas from filling empty cells with red, they are as below;
Code below for 11 months after entered date:
View 2 Replies
View Related
Jun 8, 2009
I am trying to colour a whole row of data (in columns A through to AA) based on the numeric entry in column AB. The numeric entry is either 1, 2 or 3. I reckoned I needed to use the IF function, but as writing formula is not my strong point I am struggling to enter the correct data! The first row of data I wish to use is 3. I have tried the following but to no avail: =IF($AB3,1). =IF($AB3=1). =IF($AB3="1").
View 5 Replies
View Related
Jul 13, 2009
I want to prevent other users when pasting data, to overwrite the formatting of the destination cell.
Since, it is a shared file, i don't want to bother the people explaining use paste special.
I want this to happen automatically.
I don't know VB, and I tried copying what I found in the internet for similar codes, and none have worked. I only copied as they said either in Thisworkbook, and this is all I can do.
I need very easily explained if there is something more than just copying the code in VB view.
View 9 Replies
View Related
Mar 5, 2012
I am using the simple conditional format "Data Bar" to make a progress bar, going from 0-1 (0-100%), works fine .5 is halfway...ect. but what i would like it to do is to change to a different colour only when it reaches the 100% or 1 in this case so you can see quickly that this progress is complete.
View 7 Replies
View Related
Jan 22, 2014
To start off macro should pick selected columns such as owners and their projects, start date, price Final price, priority and status columns and paste into new sheet
At the same time only pick selected owners(Dave, Brian, Ken, Russell, Ben)data along with their high low, and medium projects then format the price and the final price column (that is to first convert them to numbers, then change it to the currency format and set the decimal place to 0) and then sort owners (AtoZ) along with Price and final price columns (largest to smallest) into a new workbook and to a new sheet in the same workbook with a name to the sheet called Extracted data
note owners may change and new members might get included in the list ( I am not sure if something dynamically can be done about this in the macro)
I have included sample data and how the output should look like.
View 14 Replies
View Related
Mar 6, 2009
I am having is on the user form I have a default start time test box and a default finish time text box that when the form is opened it looks at the constants work sheet and if there is any data it puts it into the appropriate text box, all ok so far when a user wishes to change the default data in these text boxes I need to test if they are entering the data correctly, in Access 2000 I would set the defeat format of the text box to Time? Data type=Format(time,”h:mm”) or a or an input mask of “h:mm” so if they did not enter the time in the correct way an error message would pop up and tell them to renter the data the correct way.
I have not been able to find this type of settings in Excel 2000 I have tried testing the data using the beforupdate but it also dos not recognise formatting
The other thing I need to do on the user form with this formatting is calculate the time difference between to two time inputs and come up with a total hours.
I have managed to do all of this in the work sheets and preforms well but not on the user form
View 8 Replies
View Related
Sep 9, 2009
I'm trying to format the data area of a pivot table, but I keep getting an error with this formula I was trying to manipulate:
View 4 Replies
View Related
Jan 14, 2010
I am using Data Validation for my drop down list, using “List” and “source” =$A$132:$A$159 along with Conditional Formatting that changes different fill colors, depending on selection. Is there a way to use VBA with a command button that when selected would give the user a dialog box so that they could enter additional comment that would be added to existing list and would also be able to select a fill color for that new selection.
Below I have a recorded Marco to give an idea of what I would like to achieve, but of course using a input box of some sort to make selections of text and color
Also I'm using Excel 2007
View 14 Replies
View Related
Oct 16, 2006
I am working on some data cleanup for some video. I have a lot of time code data, ie. mm:ss (minutes; seconds), and I need to convert it to hh:mm:ss:ff (hhi is hours; ff is frames). It's A LOT of data, and I don't want to do it by hand.
Examples:
2:02
0:55
2:18
2:55
1:41
1:20
1:44
I have two quesxtion:
1. Excel wants to interpret my data as time data and will convert my data if I click on a cell, ie. 2:02 is converted to 2:02:00 AM. That might not be so bad, but sometimes it changes a time that is 00:55 to 12:55:00. So, my first question is...how do I make excel read the numbers exactly as is w/o any conversion? I've tried to mark the cells as Text but that doesn't work, and I can't seem to make a Custom format work. Any ideas?
2. Ideally, I'd like to quickly convert these timecodes to hh:mm:ss:ff. Would macro work on this? So, I'd be taking 2:02 and making it 00:02:02:00. I think I need to solve #1 before I tackle #2, but i could be wrong.
View 10 Replies
View Related
Nov 6, 2008
1. I would like to be able to play with it by choosing different categories, sub-categories etc (adding different ones etc.). I tried pivot table but to get this data in pivot table format is a very time consuming task to start with.
2. The sample file has only one month. I get this type of data every month. So have to annualize using other months etc. I could get different months in a column also. So for example column d could have Jan, Feb, March etc. for row of data. But that would mean I will have 1922 * 10 = 19220 rows. And when I update this every month row reference from formulae (If I had formulae) will need to be updated.
I have the flexibility of getting this source data rearranged little bit but not too much flexibility there.
View 5 Replies
View Related
Jan 3, 2012
I have three items I would like to graph, on one chart. The first is %Complete. This is a number figure. The next is the date the item is due to ship. Obv, this is a Date. The third is today's date. Basically, I would like to display in the same chart so that we can see how far a long a project is, in relation with today's date and how much longer we have until it needs to ship.
This is the current display of the chart:
Is there a way to show the ship date, as the 100% complete mark? In order to make it display half-way decent, I had to format the left y-axis to go above 100%. I first tried to format the right y-axis, but was extremely confused to setting values. I figured out that the end date is somewhere in the 40,000 value mark? WTF is this about? Is 1 equal to 24 hours? I assumed that was the case, but then when I pick the value it should end with, it doesn't seem to react that way. I want the right axis to start with 12/01/2011 and end with 5/01/2012. How can I achieve this?
View 3 Replies
View Related
Dec 18, 2013
I have a spreadsheet that we use to generate visual data, with very small column widths. I have a column width of 1 at the moment, and some data displays, while some doesn't. I want it to show a number which appears every 5th column, without having to merge and center each set. I used to use a macro to merge and center across the data set but the data set length is now dynamic so that is difficult.
View 1 Replies
View Related
Jan 24, 2014
On one of my excel spreadsheets I have someone's name and a drop down list of "subscribe" or "unsubscribed" in the next column over:
Name
Company
Subscribed?
Name1
amazing company
Unsubscribed
[Code] .......
I have their names in column A on another sheet and a load of contact details and details on subscription price etc. I want to be able to conditional format these rows of details according to if they are subscribed or not. I'm struggling to come up with a formula that works and the conditional formatting menu isn't working much.
View 5 Replies
View Related
Jul 8, 2008
I have a few rather large spreadsheets full of addresses, but for simplicity I'll refer to two(Group A, Group B). I can go back and edit accordingly. Group A is a master list of users. After sending out a mass message, using Group A, certain users weren't able to receive the message for various reasons (address problems, spam filters, etc.)--thus Group B. All of the users of Group B are still in the Group A spreadsheet, and this is where my problem comes in.
I need to take all of the entries from Group B, find them in Group A and change their cell colors (along with a few following cells in the same row). I tried to record a macro to do this, but found that a more in depth solution was required. I tried to implement some VBA but my knowledge is, at best, limited.
Here's what I've done so far:
Before recording the macro I copied/pasted the addresses from Group B onto the bottom (a few cells down) of Group A.
I copied the first Group B address, started to record, and pasted the first address into the Find tool. After it was found, I changed the color of the needed cells, went back to the list of Group B cells and deleted the top entry. Next, I copied the second entry (the new first entry) and stopped recording.
When I pressed the shortcut key for the macro, it deleted all the cells correctly; it just didn't format Group A like I intended. I then opened up the VBA editor within excel and found this:
Sub Colorfill()
Range("A4559").Select
Selection.Copy
Cells.Find(What:="USERADDRESS", After:=ActiveCell, LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Activate
Range("A2038:I2038").Select
With Selection.Interior
.ColorIndex = 43
.Pattern = xlSolid
End With
ActiveWindow.ScrollRow = 4349
ActiveWindow.SmallScroll Down:=186
ActiveWindow.LargeScroll Down:=-2
ActiveWindow.ScrollRow = 1508
ActiveWindow.SmallScroll Down:=198
ActiveWindow.ScrollRow = 4569
ActiveWindow.SmallScroll Down:=-27
Rows("4559:4559").Select
Selection.Delete Shift:=xlUp
End Sub
View 9 Replies
View Related
May 21, 2009
I have conditional formatting for a range of cells eg. =COUNTA(AC3,AD3,AE3,AH3)
It is currently set so that cell A3 changes to Green if AC3 is populated, Red if AD is populated, Orange if AE3 populated & white if AH is populated.
AE3 has data validation (Yes or No).
I need AE3 to change to White if no is selected and Orange if Yes is selected.
View 9 Replies
View Related
Sep 9, 2009
I have a table that automatically gets populated each month via VLOOKUP.
There are about 14 columns and anywhere from 80 to 130 rows.
At the bottom of each column I SUM the total for the column.
Because I never know how many rows will get populated I have my VLOOKUP formula go down about 180 rows, then I SUM at the 183 row. But because the formula returns N/A on all of the rows that do not have data my SUM in row 184 returns N/A. This means the end-user has to go back in and delete all of the rows that have N/A. I don't want them to have to do this. Is there anyway to format the cells so that this does not happen?
View 9 Replies
View Related
Jul 13, 2006
I searched, but couldnt find a thread which covers a VBA code which covers writing a conditional format into cells and changes each time contents of the cell are refreshed. The conditions are:
If activecell.value < 0 Then
.interior.colorindex = 3
If activecell.value >=0 Then
.interior.colorindex = 4
and i want this to happen for a big range of cells (range(a1:k1500) So basically, once the macro is run(which has the code to insert the conditinal formating for all the cells), if the user makes any change to the cell(within the range), the color of the cell should change automatically(like Conditinoal formating works by default). Prior to this, i was doing my cell coloring using the 'for loop' approach, but that of course does not reflect once the macro has ended.
View 2 Replies
View Related
Mar 31, 2007
I've been able to accomplish the main point of my macro which is to copy a section of code from each file in a folder and paste it into a different workbook. My problem is that when I paste the data, I lose all of the formatting of the data. ie, color, size, alignment. I know that PasteSpecial should accomplish that, but I'm using "destrange". If there is an easy way to convert to PasteSpecial... Otherwise, any ideas on how to make it work with destrange?
If Fnum > 0 Then
For Fnum = LBound(MyFiles) To UBound(MyFiles)
' Find the last row with data
rnum = LastRow(sh)
'create the destination cell address
Set destrange = sh.Cells(rnum + 2, "A")
' Copy the workbook name in Column E
sh.Cells(rnum + 1, "E").Value = MyPath & MyFiles(Fnum)
'Get the cell values and copy it in the destrange
'Paste the data in the previously established "destrange"
GetData MyPath & MyFiles(Fnum), "SDRL Status Rpt", "A4:G6", destrange, False, False
Next
End If
View 2 Replies
View Related