MSN Money Web Query Has Numbers In Text Format
Aug 28, 2009I use web queries to download stock options from MSN Money.
If I manually refresh the queries (right click -refresh) the downloaded
prices are in number format.
If I use:
I use web queries to download stock options from MSN Money.
If I manually refresh the queries (right click -refresh) the downloaded
prices are in number format.
If I use:
Any easy function to convert numbers into words?
I a looking for an easy function to transform numbers into words as shown :
Value------Output :
12624-----Rs Twelve thousand six hundred and twenty four only
12624.24--Rs Twelve thousand six hundred and twenty four and twenty four paise.
Hopefully the currency should be changeable ( dynamic) i.e Rupees to Dollars..
In India , we also use lacs and crores , so something in those lines if possible...
I have this web query to retrieve Stock Market data for individual scrips which used to work fine till 2 weeks ago:
[url]
Since then all it returns is the text in the tables. Numbers eg dates and stock prices come as blanks.
These show up alright in the browser (Mozilla as well IE).
Some other tables at this site plugged into query return complete data. eg [url]
I tried many different scrips with same results.
Since it was working fine till 2 weeks ago AND other tables at this site are working fine, I suppose the site changed something.
how i convert text format into numbers format in vb.
Currently
i have a formula in vB:
Private Sub Textbox3_Change()
Textbox3 = Val(Textbox1.Value) + Val(Textbox2.Value)
End Sub
however..when i sum it up (in excel) using"=sum" formula...it ooes not sum up
I faced an error "number stored as text"..how to i convert it to numbers format in vb.
How to format different numbers to the same format (as text). Mainly I need code that would format numbers like 25, 25.36 or 254.60 to numbers looking like this 000002500, 000002536, 000025460. They must be of nine digit length with the last two digits as decimals.
View 9 Replies View RelatedI am a biologist that works with transgenic animals and I am using Excel to keep records of my mice. I would like to have a column that includes the age as calculated by the DOB of my animal on any given day.
Furthermore I would like for it to be smart enough to tell me in weeks for younger mice and months for older mice. If i do this, obviously i will need a txt string that says "x mnths" or "Y wks" or whatever.
i have come up with an if/then string that works - but for some reason it will not allow me to format the number of decimal places if i include text. here is the function:
=IF(((TODAY()-B6)/7)>12,((TODAY()-B6)/30.417) &" mnths", ((TODAY()-B6)/7) &" wks")
the B6 cell is the DOB of that particular animal.
so what this SHOULD shoot out is something to the effect of "4 mnths" or "3 wks"
depending on the age of the animal. any animal older than 12 weeks will express in function of months and any younger will be in weeks. however what i end up seeing is something like this: 5.81911431107604 mnths I dont need any where near that many dec places...and obviously this doesn't fit in any reasonably sized cell......
I have data in range C1:C1000
The data is numbers 14-digits
When I try to convert the data to text the data appears like that
3.00052E+13
I want the data to appear like that
30005221800911
When I double click in the cell the problem solved but it will impossible to double click 1000 cells ...
Is there anyway of converting the output (which is 7 and in text form) to a useable number format so that I can take advantage of the VLOOKUP function (instead of getting a #N/A)....
View 9 Replies View RelatedThere is probably a really easy answer to this question but I cannot seem to figure it out. I need to calculate the sum of pages faxed on a fax report at my office on an excel spreadsheet which is downloaded from our server. It appears the file is not meant to be used in excel but it downloads as an "*.xls" file anyway. When I open the file I receive this message:
"The file you are trying to open, 'FaxCetailReport.xls', is in a different format then specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
The file is comnig from a trusted source so I select "Yes" and it opens just fine. There are just over 50 rows of info, one of them being the number of pages. In a blank cell I enter "=SUM(select rows)" and the result is a "0". I have converted the cells to the "number" format, no change. When I right click on the cells and select format, the protection tab on the right has the check box "Locked" checked and unchecking it does nothing, it is checked as soon as you go back in to the protection tab.
The only way around this is to manually retype the numbers in a cell next to the pages column, which is ok for 50 numbers, but I have some sheets where there is over 1,000 entries.
how can you custom a cell format in which you may in type in information that is displayed as ###-##-####-@# I searched everywhere and cannot find this.
For example, a medicare number.
I would need to type in 581566223b6, and it should be displayed as 581-56-2236-B6.
I am attempting to write a VBA function that will add textual formatting to each cell that has content. I am just learning VBA; so far, as an example I have
Sub NewSub()
i = 1
j = 1
Do
Cells(i, j) = "'" & Range(i.j).Value & "',"
i = i + 1
Loop Until i = 40
End Sub
but, as I'm sure you'll notice, it does not work. In essence I want to wrap quotes and follow with a comma each cell that contains any content. The actual content test I haven't gotten to yet.
When I enter a number, say 2456 in this textbox why does it display "$2.45" instead of "$2,456". I've tried fiddling with the ###'s and .'s but it just gets worse.
[Code] ....
I am wanting to use Excel to perform a web query into an online database our company uses. One of the columns I am wanting to import contains numbers that are 20 digits long & they begin with 4 zero's. The problem is that when Excel imports the query, if I fprmat the cells & preserve the formatting, it cuts off the first 4 zero's & replaces the last number with a zero. Basically, it looks as if it is only importing 15 numbers. Is there a way around this ; is there a way to force Excel to import all 20 numbers? If I don't format the cells, it imports in the following format - 4.20017E+15
View 4 Replies View RelatedThe following code stops at the red line with "Method 'SaveAs' of object '_Workbook' failed.
FF="xlCSV". It works fine if I replace
Code:
FileFormat:=FF
with
Code:
FileFormat:=xlCSV
Code:
Sub SaveIt(FileNm, FF)
Dim FSO As Object, a
Set FSO = CreateObject("Scripting.FileSystemObject")
If FSO.FileExists(FileNm) Then FSO.DeleteFile FileNm
If FSO.FileExists(FileNm) Then
[code]....
if it is possible to concatenate multiple cells that have different font formats? For example; cell A1 is font formatted SYMBOL and contains the letter "D", cell B1 is font formatted ARIEL and contains the word "delta". What I am trying to do is concatenate the two cells while maintaining their font formats.
View 3 Replies View RelatedI am creating a membership style database and keep hitting a few walls.
Formula to show money owed;
Example
Date Joined - 01/01/2010
Membership Years - 4
Annual Payment Fee - £25
Paid to Date - £0
Amount Owed - should be yearly fee x amount of unpaid years but is there a formula I can use for this?
Does anyone have a formula for calculating the amount of money used for a 45 day period.
e.g
01/02/07 $13.00
05/02/07 $22.00
10/03/08 $6.00
etc etc
each amount for a given date added to give a total for 45 days only.
I have a simple macro which extracts EUR rates from a website but the number format as appears in Excel is a disaster.
I am attaching the file : Querry EUR Rates.xlsm
How to format the rates accordingly.
Also posted here: [URL] .....
I'm Importing Columns from one sheet to another in the same workbook. imports good But:
1- Some columns with first records/rows blank do not import at all.
2- I have a column with some letter/numbers combinations and single numbers at times. Those single numbers are not imported. And half my data in that column are single numbers.
I am trying to write some code that will extract several pieces of data from MSN Money and print into a spreadsheet.
So could outline the code (or the general idea) that would be needed to extract one data point from the internet (an example using MSN money would be great). I haven't been able to find a simple example that highlights how this works in VBA without the extraneous confusion.
To be clear, I don't want to use macros or the standard excel query tools as these won't, I believe, scale well and serve my purpose as I build up into extracting much more data.
(For example, I want to know how to extract 2011 revenue from this page: [URL] ........)
I have 2 columns of data, one the description, the other the number, both positive & negative numbers, (the columns are also not next to each other). I need to average only the negative numbers according to the description.
I can sum only the negative numbers if I separate out the different descriptions, but cannot average the figure:
=SUMIF(E2:E300,"
I am setting up a spreadsheet with two columns. The first column will contain a persons name the second column will contain four numbers.
Name Numbers
Joe 1,3,12,24
John 4,12,23,24
Jill 6,14,19,26
I need to be able to search to find the following: the correct sequence of numbers e.g. if 1,3,12,24 were pulled out then that search is easy. If I was looking for someone who had the numbers 1,12,24 then I have a problem. I was thinking about putting the four numbers in to four separate columns but my Excel knowledge is poor.
I'm trying to calculate the amount of money invoiced per company per month. In column B I have the date the invoice was issued. In column E I have the Company name. In column G I have the amount invoiced.
View 6 Replies View Related[h]:mm X accounting (2 d.p) = ????
The two data types i'm using are shown above but i don't know what data type to use as the result.
I have tried to write code to format numbers to zero decimal places as well as to justify the format as the zeroes appears as 00000000 when imported.
I need the macro to do this on the first 7 sheets.
I also need ------- lines and ) to be cleared on the first 7 sheets.
I have attached sample data and my code below
Code:
Sub Format_Data()
Dim Cnt As Long, i As Long
Cnt = Sheets.Count
Application.DisplayAlerts = False
For i = Cnt To 7
Range("F:H").Select
With Sheets(i)
[code]....
I am trying to format colums containing numbers & units of measure to numbers only.
I am using Office 2003.
When working in Excel I format all numbers with the accounting format. I often use the single and double underlining feature on the Font tab of the Format Cells dialog box. Sometimes when I use the double underline it only puts (and prints) one underline. I've worked with the formatting many times with little success. The only way I can get the double underline to show up in this situation is to change the vertical cell alignment to be centered and then increase the cell height. This causes me other formatting heartaches. It's like the double underline is there it just will not show.
View 9 Replies View RelatedAttached is the sample working file, i have a user data embedded into the comments columns for each user reference. However, i need to extract the wrapped comments column.
Text-to-columns-sample.xlsx
with the table give below, i need a formula to get the sustainability. Eg. cell D1 =VG and D2=G, then D3 value should be G (as per the table below).
Prev Yr
Current Yr
Sustainability
EX
EX
EX
VG
G
G
G
EX
VG
I want to find the number within this webpage and report it to a Cell in excel....
View 6 Replies View Related