Formatting Numbers Extracted With Web Query

Jun 30, 2014

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] .....

View 1 Replies


ADVERTISEMENT

Extract Numbers From Text Para And Sum Extracted Numbers?

Jan 27, 2012

I have a text string in cell A1 as below:

repairs booked in Dec,11 (INR 37k)
training fees Dec,11 (INR 42k)test Fee Reimb for 03 emp Dec,11 (INR 56k)
skill fees booked in Jan,12 INR 52k
Reimb for 01 employee in Jan,12 INR 8k fee accounted- xyz INR 250k, Quick solutions INR 52K, ABCD India INR 272K, Layer Technologies INR30K and complex mgt INR 21K

Note: (INR 37K) means negative number i.e. -37

Now my task is to manually total the above amounts in calculator, i.e.

-37-42-56+52+8+250+52+272+30+21 = =550

like this there are 100s of cells, could derive a formula for this task.

View 9 Replies View Related

Conditional Formatting On Different Rows With Different Query

Aug 20, 2013

I have the following data:

C D E F G
Jan Feb March Q1 TargetThreshhold
£ 2,067 £ 1,978 £ 2,161 £ 2,100 £ 2,310

£ 1,492 £ 1,422 £ 1,611 £ 1,600 £ 1,760
£ 2,718 £ 2,683 £ 3,263 £ 2,400 £ 2,640
£ 2,853 £ 2,335 £ 2,481 £ 2,300 £ 2,530
£ 1,412 £ 1,533 £ 1,526 £ 1,600 £ 1,760
£ 1,067 £ 1,133 £ 1,246 £ 1,400 £ 1,540

And I am wanting to use conditional formatting. But wondering if there is an easier way than what I have at the moment.

The Formatting im using is:

=$C4>=$G4 Where value is TRUE the cell returns red and this applies at the moment to the First Row.

Is there a way I can get Conditional formatting to recognise the next cells without typing for each set of rows.

aka Row B would Read =$D4>=$G4
Row C would read =$E4>=$G4

etc?

Id rather not have to do a conditional format for each row as I have about 50 rows of data to do this to

View 4 Replies View Related

How To Maintain Formatting (such As Highlighting) When Importing In Ms Query

Apr 3, 2013

My current solution is to filter the Master Log so I only see Region 2, copy everything, then paste over Region 2, and repeat with 3, 4 and 5.

I have a master log (attached) that I import using Microsoft Query to 4 other spreadsheets (called Regional Logs), depending on the contents of the column "Region." I have all this figured out, but I can't figure out how to have the highlighting persist through the export and refresh. I don't think the attached file has any highlighting, but how I use this is I edit the Master Log throughout the week and highlight changes as I go. Coworkers use the 4 Regional Logs throughout the week to monitor different cases, particularly the new ones, so they need to see all changes for the week highlighted in yellow, which means the Regional Logs need to be linked to the Master Log and the highlighting must be visible any time a coworker opens the Regional Log. In addition, they are emailed across the state to county directors and they need to see the yellow-highlighted data, as well.

Currently, when exporting data using MS Query, no formatting persists. How can I ensure the highlighting persists? Or, is there another way to easily export the data, depending on the contents of the column "Region", which would allow the highlighting to persist

View 3 Replies View Related

Conditional Formatting Of Named Range Query?

Feb 27, 2012

I have a spreadsheet with several worksheets in it. The main sheet contains a calendar view that is fed from a separate sheet with holiday date ranges. This aspect works well and displays correctly in the main calendar view.

I am now adding in additional conditional formatting to each cell. As a first example i want the calendar to display bank holiday days by colouring the cell (lets say black). I am using conditional formatting only and have used the following formula;

IF(C6=Holidays,1,0)

Holidays is a named range, separate sheet (A2:A13).
C6 is the date value field (runs C6 through AN6 - perpetual calendar)

It evaluates the cell (i can see, TRUE,FALSE,FALSE,FALSE,...) and will only shade the cell if the date value field is equal to the first date in the Holidays named range. if this is not the case (FALSE,TRUE,FALSE,FALSE,...) the field value is set to "0".

how i can change this, entered as conditional format formula, to set the cell to "1" if any are evaluated as TRUE regardless of where they come in the name named range.

I want to additionally add in, from separate worksheets in the same workbook, face to face meetings and conference calls. I have assumed that i will use the same method to do this as Bank Holidays.

View 4 Replies View Related

Formatting Of Table When Importing Access Query

Mar 20, 2014

I have to import data into Excel from Access (yes, I have to import it to Excel and cannot use Access exclusively). When I import; however, the formatting does not come over correctly, most especially losing the formatting of numbers. I need one of two solutions:

1.) How to get the formatting to move over correctly?

2.) Or how I can save the formatting of a table, then be able to apply it as a "saved" format? The biggest thing is that the numbers will changed the number of decimal places and/or change from general numbers when I want to see them as currency.

The top table shows how i want this formatted, the bottom shows how it is importing.

View 2 Replies View Related

Stop/Prevent Web Query Auto Formatting

Apr 23, 2009

I use a query table to import data into a workbook which works fine

With wsActiveSheet.QueryTables.Add(Connection:=sQueryString, _
Destination:=wsActiveSheet. Range("A1"))
.Name = CStr("main.html?LANG=de&search=true&searchterm=" & sIdentifier & "_1")
.PreserveFormatting = True
.BackgroundQuery = False
.RefreshStyle = xlInsertEntireRows 'xlInsertDeleteCells
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebTables = "9,14"
.WebPreFormattedTextToColumns = True
.WebSingleBlockTextImport = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With

One of the fields I import has a value like 100:01 or 10:01 or 01:01 or other combinations (the above ones are the most frequent ones).
Unfortunately excel always converts this field into a date and a time but this is not what I want.
Is there any way to stop excel doing this? I tried to work around it with the text property e.g. formating it to text after I imported the data and formating the entire sheet to use text before

View 9 Replies View Related

Formatting Query, Incremental Values With Leading Zeros

Apr 8, 2009

I'm tracking weeks by weeknumber in the format YY-WW. At the moment I am entering the weeks manually in a general cell, preceeded by a '. I would prefer to have the sheet work out the weeks for me as we move the sheet every week. I would like to format the initial cell as follows:

09-08 (or '09-08 if I must)
then have the next cell in sequence read 09-09, 09-10, and so on. With the initial week in cell A3, I have tried to accomplish this with:

=LEFT(A3,3)&RIGHT(A3,2)+1

However, this does not work for weeks 01 through 09 because excel kills the leading zero in the second part of the formula, regardless of how I format the cell (format 00-00 does not work.) How can I force Excel it to keep the leading zero in the week number?

View 5 Replies View Related

Conditional Formatting Query: Changes Colour When Certain Text Is Entered

Sep 10, 2009

I have a column of cells that changes colour when certain text is entered into them, ie "TIME" will make the fill colour brown. However, when other text is entered into the cell alongside "TIME", the conditional formatting doesn't change the colour of the cell. How do i get around this so it picks up on the "TIME" text even when other text exists alongside it?

View 2 Replies View Related

Import Single Numbers With Ms Query

May 19, 2009

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.

View 9 Replies View Related

Web Query Returning Text But Not Numbers

Oct 3, 2009

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.

View 10 Replies View Related

MSN Money Web Query Has Numbers In Text Format

Aug 28, 2009

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:

View 3 Replies View Related

2 Columns, 5 Averages Of Only Negative Numbers Query

May 2, 2007

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,"

View 9 Replies View Related

Excel 2010 :: Formatting Numbers Written In Text To Numeric And Pulling Only Numbers Out

Feb 20, 2013

I am extracting data from a website to excel 2010. my problem is the data contains both text, numbers, and sometimes a combination of both.

e.g. hi im ron for more information you can reach me at 6 five 6 four 5 seven 7 three 2 two..

I need it to look like this 6564577322 or 7 * 0 * 2 * 4 * 5 * 6 * 8 * 6 * 2 * 1...i need to look look the same

How do i first format the numbers written in text into numbers and then show only the numbers in a cell minus the text?

View 3 Replies View Related

Lottery Search Query: Correct Sequence Of Numbers

Oct 10, 2006

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.

View 4 Replies View Related

Sum Extracted Data

Oct 5, 2008

NOTES BC37Size 3/8 x 3/4 x 3/8 40ft4038Size 3/8 x 7/8 x 3/8 20ft203940total04142Size 3/8 x 1 3/8 x 3/8 20ft43Spreadsheet FormulasCellFormulaC37=MID(B37,22,2)C38=MID(B38,22,2)C40=SUM(C37:C38) Excel tables to the web >> Excel Jeanie HTML 4

Problem 1.
With the above I have managed to extract what I need into column C. The formula in C40 does not produce the desired result of 60. C37:C38 is formated as Number.

Column B is populated from a drop down box where the list was populated from a text file converted to Excel.

With that said, Problem 2
If the string that is currently sitting in B42 should end up in in B37 as a choice from the drop down, the formula I have in col C would not produce what I need.

I'm sure what I have in C is not the right approach. And I don't understand why the SUM formula will not work.

View 9 Replies View Related

Data To Be Extracted For A Column

May 15, 2008

I have the detail as following in as column A

Employee Name
First line of address (Contain alpha numeric no)
Second line of address (Contain state and Pin code)
Phone no
Fax no
Email ID
Wed site address
First detail field (Contain alpha numeric no)
Second detail field

There is some 4000 Line item in this

Can this line item be arranged in the in Different Column form Column A-I

View 9 Replies View Related

Total Length Of Extracted Names

Oct 8, 2013

What function should I use to find the total length of the 3 extracted names (last + first & middle title?) I need one single expression for the entire column.

A
B
C
D
E

Full Name (Last, First & Middle plusTitle - the latter may be separated by either an ! or $ symbol).
Title (extracted)
First and the middle name if the latter exists. (extracted)
Last Name (extracted)
The total length of the 3 extracted names (last + first & middle + title) e.g. 25

6
Brouillet,Amy Anne!Miss
Miss
Amy Anne
Brouillet

[Code] .......

View 6 Replies View Related

Cell Contains Multi Information That Needs To Be Extracted

Aug 1, 2014

If I have 2 columns (A with data to be extracted, B for output). And 11,000 rows of data. How do I take information from column A and out to column B. For example, I want to identify characters in Column A, for example I want to identify "A" "#" and "SQ" to output. For example If column A, has "A" then Invitation, If column A has "#" then Business, if column A has "SQ" then square

Column (a)
A10
extract to
Column (b)
Invitations

Column (a)
#
extract to
Column (b)
Business

Column (a)
SQ
extract to
Column (b)
Square

View 5 Replies View Related

VLookup- Invoice Data Extracted From SAP And The Other Is A Workbook

Dec 24, 2007

I have 2 Workbooks. One is invoice data extracted from SAP and the other is a workbook I have to send to the client (has about 10 worksheets containing 5-10 different branches in each worksheet). The layout of the one I send to the client can not change so I am trying to import the values form the 1st workbook (SAP) into the 2nd workbook. What I do now is copy the first 4 columns of data for each branch and paste it into the 2nd workbook.

I was playing with a VLookup formula but I dont think that is the correct formula. I need the second workbook to be populated with all the invoice info (Number, Type, Date, Balance) that appears in the raw data workbook.

=VLOOKUP(H14,'[abcbank raw data sample.xls]Sheet1'!$A:$A+'[abcbank raw data sample.xls]Sheet1'!$A:$E,4)

H14 is the branch number on the client sheet (I cut the column containing the branch # on the raw data and inserted it before column A).

Raw Data From SAP

View 13 Replies View Related

List Extracted Rows Of Specified Data From Another Workbook?

Oct 4, 2013

I have two workbooks. One is called the Extraction Sample, which is attached, and the second is the Sorted Results workbook.

The Extraction Sample workbook contains a master sheet with data in a chart, which gets updated periodically. The Sorted Results workbook contains a list of specific extracted results from the Extraction Sample workbook.

The formula I am trying to create for the Sorted Results workbook needs to do two things:

1. Extract only the rows from the master sheet in the Extraction Sample workbook which contain the word 'Thing' in column D.

2. List the extracted rows on the Sorted Results workbook in numerical order using the data from Column B.

View 14 Replies View Related

Code To Wrap (Extracted) Target Value In Quotes

Jun 15, 2012

I have this piece of Code which I am trying to tweak;

Code:
If Target.Offset(0, 1) = "" Then

Target.Offset(0, 1).Activate

Add: Rspn = InputBox("Please enter the Colour Code for " & Target.Value, "Validating Data Integrity")

[Code] .......

What happens is that the user Enters a Color, say Copper, then an Input Box appears with a message:

Please enter the Color Code for Copper. What I would like to achieve is to have the word Copper displayed in Quotes. i.e. "Copper".

View 4 Replies View Related

VBA Code Or Formula To Convert Format Of Extracted Data

Apr 3, 2014

I have VBA code the extracts data from a source and puts it into excel. I need to change the format of some of the extracted data so i can use it for a VLookup formula. Reference the attached example. Columns A AND B have the extraced data which are dates. In Columns C and D or E and F I have typed what I would like the data to look like so I can use in a Vloolup formula. Is there VBA or a formula that word change the format of the dates in Columns A and B to look like C and D or E and F. The changed format could be moved to any new cells or rows.

View 1 Replies View Related

Cell Text Loses Break Characters When Extracted

Oct 16, 2006

I'm trying to automate a very laborious process where text data is taken from a series of cells in excel 97 and is turned into HTML tables - I've got it all working except for one thing, when I extract the contents of the text the paragraphs are lost and are merged into one long piece of text - obviously I need to insert <br /> characters where the paragraphs are to get this working. how I can extract text from with some kind of marker for the paragraph sections? Or is there a way to insert characters where the excel cell has a paragraph mark (ie a return key has been pressed).

View 2 Replies View Related

Text And Number Data To Be Parsed (extracted) From Single Column

Aug 24, 2012

I need to split in Excel some thousands of data rows containing text and numbers information of different character length Data to be extracted ( parsed) is stored in a single column( the first one) and needed results look like this:

Data to be extracted
Needed results
Address
Name,Surname
Phone no.
Green Street no 16 Smart town Schmit Anders +3900098787867

[Code] .......

Data is composed by addresses, name of persons and phone numbers. Person's name is has two or three parts, address and phone numbers length is different ( 9 to 12 characters) I need to complete this difficult task (for me, obviously, ) in Excel using a combination of functions and/or multiple operations.

View 9 Replies View Related

Simplifying Formula When Data Needs To Be Extracted From Large Number Of Worksheets?

Jun 16, 2014

simplifying a formula which gathers data from about 50 worksheets from within the same work book.

The data to be gathered is in the same cell on each worksheet and is simply a number but i want the SUM of theses numbers carried forward to another worksheet. Each worksheet is named by date i.e. sheet 1 is named "16 June 2014" and sheet 2 is named "23 June 2014" and so on until "30 March 2015" (Each sheet represents one full week Monday - Sunday).

View 5 Replies View Related

Excel 2007 :: Error While Copying Extracted Text File Data?

May 7, 2012

I am trying to develop a code which extracts the data from text files inside a folder (Folder test in my desktop) into one sheet. The Macro is in the workbook “Text Extract” which is an excel 2007 file. The data of each text should be copied to Sheet1 of this workbook one below the other. For testing purpose I have kept only one text file in the folder and was trying to copy the data from the text data extracted sheet to Cell A1 of Sheet1 of workbook “Text Extract”. The code works fine till copying the data, but shows below error in the line “Selection.Paste”:

Run time error 438: Object doesn’t support this property or method.

Below is the code:
Sub LoopThroughFiles()
Dim strFile As String
Dim strPath As String

[Code]....

View 6 Replies View Related

Pass Parameter From Excel Through MS Query To MS Access Query

Nov 26, 2012

I have an MS Access query that contains a parameter. The parameter is a date field, and I have configured that in the Access query. If I run the query within the MS Access user interface, it prompts me for the paramater value as expected, and runs just fine. However, I want to connect to this query from within Excel as a data source.

I have created a connection to the Access file using ODBC from within Excel. In the MS Query window, I am merely selecting all of the fields resident in the MS Access query, and returning all values. In other words, there is no selection criteria in the MS Query. I have done this many times with Access queries that DO NOT contain a parameter, and everything works fine. However, in this instance, I need to pass a parameter through to MS Access in order for the query to run. At the moment, I get the "Too Few Paramaters...1 expected" error message. This makes sense, because I haven't figured out how to pass the paramater to MS Access.

Is there a way to structure this that does not involve VB code? If so, I'd love to know how. I have tried creating parameters in MS-Query with the same name, but although I get the prompt it doesn't connect with the Access query as the source for the parameter value.

If the solution requires using code, I'm good with VB Code in Excel...is there VB for Excel code that could make this happen?

Failing that, I guess there must be (I've seen a few in my search thus far) Access VB Code that can make this work. I'm very rusty using VB with Access, so this is my least favored solution. However, if this is the only option, keep in mind that I need to pass the paramater ultimately from a user who will initiate the process using Excel.

View 3 Replies View Related

Query Parameters Which Takes The Date From The Cell Into The Query

Mar 29, 2007

Need the query parameters which takes the date from the cell into the query. How should I modify my query if it needs to take the date from a cell?? The bold one date should be picked from one of the cell in sheet 2.

My query is this
WEB
1
http://fc-web-phl1-101.phl1:8090/gp/...runReport.y=12

Selection=15
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False

View 2 Replies View Related

Tracking Daily Total Sales And Individual Tender With Data Extracted From .dbf File.

May 23, 2006

I want to track daily sales of a shop with the tenders (Cash, Master, Visa)seperated.

Everyday there will be a file ctp.dbf from a folder YYYYMMDD (previous day date) which contains sales details.

I tried to use sumif commands and everything is working fine. everytime i have to open book.xls and from it I do a files>Open to open the ctp.dbf for the calculation to be done. is there a way where by i can open 1 file and everthing i calculated properly?

Also this book.xls can only do for 1 day how can i go about having the daily sales detail of the month (look something like sales summary.xls) or even year in 1 excel file?

attached is book.xls and sales summary.xls for reference.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved