Create A Loop: Find Out For Each Item Number Which Customer Put Order

Oct 8, 2008

Im getting data from query. My data has fields: Item No, Customer ID & Sales rep.
I need to find out for each Item number which customer put order and who was the sales rep. (Excel 2002). see file attached.

View 4 Replies


Create Customer ID Number And Then Find?

May 3, 2014

I want to create a customer ID for thousands of customers and then be able to find the customer by doing a search for the ID later. I'm even thinking of using a customer phone number for the ID. What function can I use to later find the customer?

View 10 Replies View Related

Number In Order & Change When Item Changes

Oct 16, 2007

I am trying to number rows based on criteria. when the value changes add a 1. This is what I need to have happen

Apple - 1
Apple - 1
Apple - 1
Orange - 2
Orange - 2
Plum - 3
Plum - 3

I can get an if statement to number everything 1.

View 8 Replies View Related

Code To Create Customer Number

Dec 14, 2007

I have the following formula copied down from A3 to A200 in a spreadsheet, which creates a unique standardized customer number for the each names listed in B3 to B200:


Therefore, with the following names listed in B3 to B10:

Fisher Price
Bell Canada
Grand & Toy
Rogers Cable
Blue Jays

The respective customer numbers would be:


I would like these numbers to be static, so I would appreciate it very much if someone can give me a VBA code to replace the formula.

View 9 Replies View Related

Create Formula That Will Determine Number Of Orders For Specific Customer?

Aug 29, 2012

I am trying to create a formula that will determine the number of orders for a specific customer whose orders have a pallet count between a certain range. The customer code is a cell reference, as well as the beginning and ending values I am looking for. I have the data on a separate tab from where I am putting the formula.

Here is what I was trying to use, but it was coming up with "0" for everything:


View 1 Replies View Related

Create Sequence - Put Order In Second Column Of Item That Is In First Column

Dec 28, 2011

I need to put the order in the second column of the item that is in the first column.

In the last line item Computer is recorded for the third time.


View 2 Replies View Related

Summarize Customer Order Data

Jul 3, 2009

I have created a simple order form to take customer orders . I would like to summarize the orders on a summary page .(The order Form will be very long so i don't want to print the entire document every time .

I have started to create a summary page using information from a similar post on this forum. I am having trouble creating a summary when the products on my order form have multiple sizes rather than just one

View 9 Replies View Related

Purchase Order Customer Information Autopopulated

Sep 29, 2008

I have a Purchase Order template that I created in Excel and an Excel Customer spreadsheet. I am trying to get the Customer Name, Address, City/State/Zip (all found in different columns on the customer spreadsheet) to autopopulate on the Purchase Order when the matching phone number is entered. New to advanced formulas but looking for something like: if the phone number on the purchase order equals the phone number on the customer database, bring over the Customer info above to the appropriate cells on the purchase order.

View 5 Replies View Related

Pull Customer Names Who Placed Order In Jan-Aug But Not Sept

Oct 2, 2013

I have a spreadsheet with data of customer orders. I am looking for a way to pull the customers who have placed an order between January and August, but did NOT place an order in September (in order to reach out to those customers who have stopped ordering).

I can't post attachments for some reason, so this is a description of how the sheet looks.

A - Delivery Date (MM/DD/YYYY)
B - Month (MM) --> formula created to pull month from column A. For example 2/12/2013 returns "2"
C - First Name
D - Last Name

I need to find a way to create a list of customers, without duplicates, who placed an order previous to Sept, but not in Sept. So, pull unique names from column C and D that have an entry in column B of 1-8, but NOT 9.

View 3 Replies View Related

Create A Spreadsheet That Will Automatically Increase The Work Order Number By 1?

Jun 20, 2014

I am trying to create a spreadsheet that will automatically increase the work order number by 1. The cell will always be in the same place. The idea is that when the file is opened it populates the number. After being closed and reopened the number will be 1 higher than the previous.

The page will reused by various people to create and print work requests for my mechanics, I want it to assign the W/O automatically.

View 11 Replies View Related

Find Item Number & Add To Another Workbooks Total

Feb 19, 2008

I have two workbooks, (Invoice.xls) and (Inventory.xls) both using sheet1. When I fill out an invoice, with lets say 10 items on sheet1 column B, I need a macro to find those items in workbook "Inventory" sheet1 column A. When the item is found, I need the qty I entered on the invoice workbook "Invoice" sheet1 column C (same row as the item number) to be subtracted from the current total for that item in workbook "Inventory" sheet1 column C. I would like to run the code from the workbook "Invoice" before I do a "Save As".
I have found other Vb code on this site that seems very close to what I need, but I just don't know enough to make the changes necessary.

View 5 Replies View Related

Find The MODE Of Cases/pallet By Item Number

Aug 28, 2008

One has the master data in it ( Item #Lot#/Cases per pallet/date ) = 30K rows
Second is the list of item #'s .

I need to find the MODE of cases/pallet by item number.

View 9 Replies View Related

Assigning A Category To An Item Number Based On The First Two Characters Of The Item Number

Jun 18, 2008

I am using a vlookup and have a problem. I am assigning a category to an item number based on the first two characters of the item number. For example item number 60123 would equal scrap because of the first two characters of 60. But the item number can begin with either a number or letter. Here is the formula I am using that works for item numbers that begin with numbers:


It works fine until I reach a item number that begins with a letter, then I get the dreaded #Value error. If I take the value out of the formula then it works for the letter based number items but not for the number based item numbers.

View 9 Replies View Related

Loop Through Data And Create Chart With A Number Of Series

Apr 8, 2008

I am looking to create a number of series on a chart (xyscattersmooth) from a datatable. Below is my data Table....

View 9 Replies View Related

Loop Through Cells And Ranges Reverse Order With Backwards Loop

Aug 30, 2006

I am looping through each cell in a range and I would like to loop in reverse order.

Dim CELL As range
Dim TotalRows As Long
TotalRows = Cells(Rows.Count, 1).End(xlUp).Row
For Each CELL In Range("C1", "C" & TotalRows)
'Code here to delete a row based on criteria

I have tried:

For Each CELL In Range("C" & TotalRows, "C1")

and it does not make a difference. I need to loop in reverse order since what I am doing in the loop is deleting a row. I am looking at a cell and determining its value. If the value is so much, then the row gets deleted. The problem is that the next row "moves up" one row (taking the pervious cell's address) and therefore the For Each Next loop thinks it has already looked at that row.

View 7 Replies View Related

Loop Through Customer List And Go To Sheet And Insert Data

Mar 18, 2014

I have created a excel workbook in which I use for keeping up with storage unit rent. I have a tenant list sheet and each tenant has a sheet on which I keep up with charges and credits. What I want is a macro the will loop thru each tenants sheet based on tenant list and insert data and go to the next sheet. I found this on the web:

[Code] ......

View 1 Replies View Related

Compare Our Item Number With The Suppliers Item Number?

Dec 18, 2012

I am using Vlookup to compare our item number with the suppliers item number but the result is removing the decimal point on some but not all items.I have included a small sample but it concerns almost 10.000 items.

View 9 Replies View Related

Roll Up Data To Create One Customer Row - With A Difference

Jan 7, 2008

I have a simple list of all purchases made. ie)

Name.......Purchase date

I'd like to roll up the sames to create one customer row, but so I see the varience between purchase times. ie)

Name.......Ist Pur date....2nd pur date.....3rd pur date....time from pur 1 to 2
John........01.01.07.........01.05.07..........07.07.07........120 days
Susan......06.08.07...................................................(not sure to include this)

Is this possible in excel?

View 9 Replies View Related

Formula That Lists Item By Title Heading And In Alphanumeric Order

Feb 27, 2014

I have a sheet that lets the user enter a category and then a sub heading, I need the data to be displayed under each category heading in alpha/numeric order as each new entry is made into the list.

Please see the attached sheet for details. Book3.xlsx‎

View 5 Replies View Related

Create Multiple Workbooks From One Single Workbook Based On Customer Code?

Jul 6, 2008

I have an excel file which contains following data in it.

Col-A Col-B Col-C ......
Cust Cd Name Sales
101 AAA 1000
101 AAA 500
101 AAA 3000
102 BBB 800
102 BBB 200
103 CCC 200
103 CCC 200
103 CCC 200

I need to create following three workbooks with name based on Cust Cd from above excel file.

Workbook - 1 : 101.xls which contains records only pertaining to Cust Cd 101.

Workbook - 2 : 102.xls which contains records only pertaining to Cust Cd 102.

Workbook - 3 : 103.xls which contains records only pertaining to Cust Cd 103.

View 4 Replies View Related

Find Latest Date For Particular Customer

Feb 18, 2014

I've attached a quick sample, I have two customer ID's, AB1 and AB2, I want to be able to put a formula into column C that will return the latest date for each customer. So AB1 will show 01/04/2013 and AB2 will show 01/05/2013. I know I can use a MAX formula but I don't know how to connect it to the specific customer ID.

Max Date Query.xlsx

View 3 Replies View Related

Using DMAX To Find Most Current Date By Customer#

Jul 9, 2009

I have a spreadsheet of our Customers rankings with a column with the date that they sent their Report Cards in. I need to pull by Cust# the most current date. I tried using DMAX but I can not get the formula to work. The sheet is not sorted and can not be sorted by Cust#.

=DMAX(A$6:D$886,"Report dated",G$6:G7)

range field criteria

Title row starts at 6

A B C DCust #Marketing LocationCustomerReport dated1034ColmarScientific Systems11-Nov-021032ColmarRaymond4-Feb-031029ColmarPhiladelphia Gear6-Feb-031028ColmarPall4-Apr-031016ColmarGreene Tweed 22-Apr-031032ColmarRaymond6-May-031032ColmarRaymond15-Apr-041012ColmarATK Launch Systems, Inc.27-Apr-041032ColmarRaymond22-Oct-04

View 20 Replies View Related

For Next Loop Not Stopping After Final Item

Jan 21, 2012

I've modified some code to perform a loop which creates a new worksheet for each item in a pivot table Page By field (EmpName), copying and pasting values for the displayed pivot table with each name selected. Everything is working fine until it gets done with the last item in the list, at which point I get a Run Time Error 1004, "Unable to Get Properties of the Worksheet Class".

I want the MsgBox to pop up at the end, stating how many sheets have been added.

Sub Loop_PivotItems()
'Turn off screen updating
Application.ScreenUpdating = False
'Store the sheet with the Pivot Table
Piv_Sht = ActiveSheet.Name
'Loop through every PivotItem in the PageField (Filter) of the Pivot Table

[Code] ...........

View 2 Replies View Related

Loop Through Each Item In AutoFiller List

Nov 5, 2012

I would like to perform an operation on each filtered range. To do this I need some kind of loop which would enable each item in the auto filler. I dont know how to do this. The loop i need is to enable one item, do operation (ex sum of visible rows --> i already have a code for that) then disable that currently visible range and enable next one, perform sum operation again.

View 1 Replies View Related

Formula To Exact Customer Number Only?

Jan 27, 2014

I have a list of customer including customer name and customer number. Is there a way to exact customer number out only? This is the example list.

KOHL'S - 28983

All I want is the number behind the dash. There are few customers that have more than 2 dashes.

View 8 Replies View Related

Last Invoice Date Per Customer Number

Jun 27, 2006

I am trying to automatically show the date of the last invoice per the customer number.

I have attached an example.

View 9 Replies View Related

VBA And Getting Order Right For A Loop?

Dec 22, 2011

Here's what I would like to be able to do

1. On Sheet1 - do things (I can code that bit)

2. On Sheet2 - do more things (I can code that bit)

3. Create copies of both sheets 1 and 2 (to make Sheets 3 and 4) - can't do!

4. Repeat step 3 above 125 times to make 250 sheets (each being a 'clone' of sheets 1 and 2) - also can't do

View 2 Replies View Related

Count Number Of Customer Accounts In A Report

Feb 18, 2014

I'm looking to count the number of customer accounts in a report based on the branch number. I generally need to know, how many accounts has been opened per each branch without double counting the same account number (as it happens that the report may have duplicate number.

finally I need to know the sub total showing the total per branch and subtotal of all branches together.

View 14 Replies View Related

Create Macro That Can Create Dynamic Copy / Paste Loop?

Feb 12, 2014

I need to create a macro that can create a dynamic copy/paste loop. So far what I have is horribly inefficient. Each row in colmn A(minus the header) has a unique number in it. For each unique number, I need to paste it based on the number of column headers in row 1(minus column A). So, if there are 20 column headers, I need to copy cell A2 and paste it 19 times in another sheet. Then, I need to move to the next number in column A and do the same thing. Here's what I have:

[Code] .........

You can see that this is not dynamic. If I add another row to my table and rerun the macro, it will not catch it. I've attached a sample file to show you the big picture of what I'm trying to do. The data that I have is in Sheet1, and I'm trying to get it into the format in Sheet3. Rows/columns will be periodically added to the table in Sheet1, so the macro needs to be dynamic to catch that. The data in Sheet3 will always remain, and the macro will add the updated data below the old data in Sheet3.


View 8 Replies View Related

Set Order Of Userform Controls Loop

Oct 8, 2007

I am using stuff from loops to loop through all the controls on a UserForm. But I can't find a way of controlling the order in which this is done. I tried both TabIndex and moving the controls around without success. Is there a property of a control that controls the loop order.

View 2 Replies View Related

Copyrights 2005-15, All rights reserved