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 don’t 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


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

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 20ft2039  40total041  42Size 3/8 x 1 3/8 x 3/8 20ft 43  Spreadsheet 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

Data Lookup And Email Based On Data Extracted.

Mar 27, 2007

I have a excel spreadsheet that has employee names, email address and DOB. The DOB format is 23/03. I need a program that will lookup the DOB row and when it matches the value I enter it extracts the employee name and email address. Once it has this information I need it to copy into an already created email template and send its off. On some days there are more than 1 person with a birthday so it will need to send multiple emails.

View 7 Replies View Related

Userform VBA - VLookup Data Range From One Workbook And Populate Into Another Workbook

Feb 9, 2013

what VBA is required to have a combo box in a userform look up data in a different workbook, then populate that data into the drop down list of that combo box for a user to select.

I have managed to successfully create a vlookup for a combo box in a userform that looks up data in a named range in another worksheet within the same workbook and then populate that data into a field in a worksheet within the same workbook. However, I want to change this so the combo box on a userform (in one workbook) will look up data from a named range in a second workbook without opening the second workbook. At the moment, the code I have that will 'submit' the user selected data from the combo box drop down list works.

The code that has worked so far to vlookup data for the combo box from a worksheet within the same workbook is:

Private Sub UserForm_Initialize()
Dim pName As Range
Dim ws As WorksheetSet ws = Worksheets("vlookupsheet")
For Each pName In ws.Range("ProjectName")
With Me.cboProjectName
.AddItem pName.Value
End WithNext pName
End Sub

Do I need specify the file path of the second workbook that will contain the data for the combo box as well as the name of the worksheet and named range in that second workbook?

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

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

Saving An Invoice Number When Reopening An Invoice

Oct 30, 2008

I have an Excel Invoice Template, saved as a template.

I have code that generates a new invoice number each time the template is opened in VBA Editor. The auto numbering system works great! However.... (here comes the sad part)

After I enter all the data I need on the invoice, I want to save a copy of the invoice in a different file folder, which I can no problem. The problem is, if I re-open the saved invoice, we will call it Invoice #100, excel asks me if I want to update, if I say either yes or no, the invoice number will change to Invoice #101. I'm sure you can see how this can cause a major problem if we need to compare information later on, finding the correct invoice would be almost impossible as it would not match the customers invoice number.

What I need to know is:

Is there code I can add to the existing code, to stop the increment on a saved invoice, but not on the original template?

View 9 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


View 6 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

Using VLOOKUP To Get Data From Another Workbook

Apr 26, 2013

I have a problem to use vlookup in excel. I have an excel to run macro and other than i have two excel. One of them is list just a column which includes SAPkeys of people it looks like


and i have another excel which i use as database. in this database sap keys of all people are written in "C" column. and there are other information about that person is written in "D", "E" and "F" columns.

what i want is bringing all information belong to sap key is written in different sheet. it would be like that after the macro run

SAP Key Name Location
xxx john london
zzzz hanks berlin

View 6 Replies View Related

Vlookup That Will Use Data In Another Workbook

Apr 28, 2009

I am trying to create a vlookup that will use data in another workbook. The workbook that should be used will change based on a cell in my current workbook (cell A2). So in cell A2 it will have Plan1, Plan2, etc.

This is what my formula looks like right now.
=VLOOKUP(A3,Plan1.xlsx!old, 4,FALSE)

Is there a way to make the table_array a formula so it will take cell A2 and string it together with .xlsx!old?

View 9 Replies View Related

VLOOKUP To Find Data In Another Workbook

Mar 18, 2008

The table to the right is actually in another workbook, both workbooks will be linked. What I'm trying to achieve is a vlookup formula that will count the items in the left table that have numbers entered into them. (This table will be located within a different workbook).

View 9 Replies View Related

Using VLOOKUP With LEFT To Extract Data To Another Workbook

Aug 20, 2014

I have a workbook which has data from 2 different time points (6 and 12 months) and this is signified by a prefix to an ID number which is a letter (A or B) and a number:

I need to analyse data separately so I'd like to create 2 separate workbooks, once which imports all of the 6 month data (1 row per case) and one for the 12 month data.

I thought that this would be based around a VLOOKUP of the first 1 or 2 characters but I can't work out how to integrate this with an 'IF' and link it to another workbook.

View 4 Replies View Related

Grouping And Then Summing In Either Msquery Or Back After The Data Has Been Extracted From Msquery

Nov 19, 2009

I need grouping and then summing in either msquery or back in excel after the data has been extracted from msquery.

I have external data that i have interogated in msquery, and I would like to to sum the amount column if possible.
I have two fields, first field = account number
2nd field = amount due

the first field could contain 5 sets of the same account number, but with different amounts in the Amount Due column. I would like to sum the amounts due for each of the account numbers in one column.

If i cannot do this in msquery, how do i then go about doing it back in excel. I know i can use subtotals, but then when the data updates from the external data source.

View 2 Replies View Related

Sorting Imported Data By Invoice

Sep 19, 2006

I have imported some files in to excel. I have attached the test document to give you an example of exactly what Im working with. Here is what I need to do.

1) On a separate worksheet I need to sort out the data by invoice number (Column E).

In the example I have on the worksheet titled "Main" I have listed what I would like it to look like. The purpose of this is that I don't want any spaces in rows. I just want a long list of invoice numbers and their information (Including the project number & customer on all rows). In long story short I want to erase all the information from A18:A25, and add project number and customer name to all the correlated invoice numbers. The way I think I can do this is that the first 4 digits of the invoice numbers are the same if their in the same project.

View 9 Replies View Related

Creating Invoice In Word Using Data In Excel?

Apr 7, 2010

The way that I was thinking about doing this would be by creating a template in word and using bookmarks. Then I would use VBA to populate those bookmarks based on the person (publisher in this case) i was invoicing.

I'm having a couple of issues logistically though. I'm not sure how to attach the sample invoice, so i'll do my best to write them out and if i figure out how to attach a doc by the end of this i will include a sample so you see what I'm talking about.

Issue 1: Each Invoice form has the publishers Name and Address listed at the top of the form. The problem is, the information i'm pulling the number of sales (and money we owe them) is from a different spreadsheet every month and wouldn't contain this address information on it as it is an aggregate spreadsheet of ALL publishers numbers. Would it be possible to create an initial template for each publisher and then have the rest of the information be populated with the data from the CSV that has their sale information. I could create a seperate database in excel with each publishers address and name but then it might get difficult to match these up. how to automate that, as we have 100's of publishers and invoices are done every month.

Issue 2: Bookmarks seem like a nice way to use VBA to replace their values with excel data (in theory, i've only read about it and never attemped)... However, in this particular invoice form, I have to create a seperate listing in the description field for each product a publisher sold (including how many they sold and how much money they are owed). Some publishers may have sold 5-10 different products, while some may have only sold 1 or 2. How do i get word to insert a new bookmark (or something) based on the number of products a person has sold.

View 3 Replies View Related

Filling Invoice From Product Data When Price Goes Up

Feb 26, 2010

I have a worksheet that contains data on products including prices and I want to use that worksheet to fill out an invoice for every sale of those products. I know how to make the list/table dynamic and varify the data to "list", then use VLOOKUP to get the price to appear, but what I'd like to know is how to overcome the problem that will arise when a product's price has to change. Eg. if on 1/1/10 the price of product A rises from Ł15 to Ł20, how do I ensure that 2009 invoices do not change when I update/edit the price, but that the current price goes up? So far, the only thing I can think of doing is to create another product, but there are several other bits of data about each product on the worksheet which will not change (weight, height, width, supplier etc), so I don't really want to have to duplicate the unchanging bits and also leaving the productA with the old price in the list may lead to accidentally selecting the old price. What do you think? Is there a way of maybe fixing the price to date or something?

View 9 Replies View Related

Excel - Macro To Copy Invoice Data To Database

Aug 1, 2014

Following macro code is for copying Excel Invoice Data to Excel Database. Also cleans the specified cells after copying. Its working Perfectly.

But there are some issues that should be solved.

Problem 1: It copies empty cells(""), formula based cells and blank drop-down list.

Problem 2: After copying it cleans formulas too. Formulas must be remain their.

View 2 Replies View Related

Finding 3 Rows By Same Invoice Number And Copy Data

Nov 2, 2013

I have multiple rows of data. Some have single invoice number and some have 3. I want to find the rows with multiple same invoice number by filtering then selecting certain data and paste to another sheet.

sheet1 A:I
Center #


View 5 Replies View Related

Auto Populate Invoice (including Description) From Data Sheet

Dec 5, 2012

creating an Excel invoice that would auto-populate from another Excel worksheet or file with data. The information that I would want to include are:

Company name
Name (person)
Email address

Start date
End date
Promotion description
Number sold
Price per item
Total charged

View 1 Replies View Related

Increase Invoice Number And Save To Desktop As PDF Using Cell Data For Filename

May 15, 2014

Our business has a spreadsheet set up for invoicing. A Macro has been created to increase the invoice number, save to the desktop as a PDF with a file name taken from the cells

This is working on my colleagues mac but when we've loaded onto my computer it errors, when I debug I am getting the following error:

Sub Macro3()
' Macro3 Macro

[g10] = [g10] + 1

[Code] .......

View 2 Replies View Related

Code For Moving Data From Row To Template Invoice Format - My Worst Nightmare

Jan 22, 2010

I’m looking to create an invoice-type format from data in a row but only when the client requests it.

So, if there is a Y in column R. i.e. the client wants an invoice format then.

I have been given a “template” format by the team manager that I have to use. Its far from ideal, well for me anyway, for moving things around and I’m struggling to get anywhere with it.

I’m trying to take the data from the row in the source / client worksheet, which will be created via a code from here, and transpose it to a copy of the “template” worksheet which sits within the same workbook. This is made more complicated because in some cases the data for the invoice will be in two or more rows, because there will be a few items on the same invoice, but they will still be on the same worksheet.

The source / client worksheet has data from columns A to T with a header in row 1.

The details will need to be transposed from the relevant row from each column to the “template” worksheet as follows
From column in source / client worksheet To cell in copy template worksheet.

From - To

This is where it gets messy, or more messy should I say


For each of the six sections M to N above there may be more than one relevant items which will be on rows 3 onwards of the source /client worksheet.
So, ideally I’m guessing based on if there is data in column A of the source / client worksheet then M to N above will need to copied downwards, i.e. below itself on the template worksheet say from column A and B rows 33-45 copied to A and B rows 47-59 until all the data is copied over.

Blinking eck ... this is a nightmare… a real nightmare. This more than one section above is really bad… I’m at a complete loss.

Although if its really not possible they may have to have another template worksheet with the second, third etc items on as I just can’t see this working.

View 9 Replies View Related

Lookup Invoice Numbers From A Raw Data File With ~5,000 Line Items On A Daily Basis

Apr 16, 2009

I have a spreadsheet, in which I need to lookup invoice numbers from a raw data file with ~5,000 line items on a daily basis. The lookup is based on two criteria searches (1) search product type (2) search product make. In this example, I have 4 product types:

1 – car
2 – truck
3 – boat
4 – motorcycle

For this example I want to search invoices; (1) first search for cars only (2) search for product make. In my attached example, the first item (cell E2) would return invoice number 7147875-FRD from the raw data file. The second item (cell E3) would return invoice number 7147877-NSN.

View 2 Replies View Related

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


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

Brouillet,Amy Anne!Miss
Amy Anne

[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)
extract to
Column (b)

Column (a)
extract to
Column (b)

Column (a)
extract to
Column (b)

View 5 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;

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

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