Orders Sheet Macro

Apr 7, 2007

I have been trying to create a macro button on my new orders page for my spreadsheet.

What I am hoping to achieve is a marco that when I click place it, it will take the information needed from the new orders page and paste it into the existing orders, but it does not end there the tricky bit im finding is how to get it to go to my stock spreadsheet and whatever part was ordered it would lower the stock by the quantity that was ordered so in effect the spreadsheet would lower my stock level as a items were purchased. I have attached the spreadsheet for you all to have a look at. I only have very basic VB skill but eager to learn. If anyone can solve this for me I defiantly owe them a pint

View 3 Replies


ADVERTISEMENT

Conditional INDEX MATCH - To Extract Companies From Orders Sheet

Apr 10, 2014

Attached spreadsheet.

Basically I have 2 sheets. The first an orders sheet which shows all orders from companies with the date of the order, whether it is a repeat order, and whether it has been delivered. The second sheet a customer account sheet which shows the order history by customer. I have used the following formula :

=IFERROR(INDEX(Orders!$B$2:$B$23,MATCH(0,INDEX(COUNTIF($A$1:A1,Orders!$B$2:$B$23),,),)),"")

To extract the companies from the orders sheet however if a company has had no previous order (i.e. a new customer) and has not recieved a delivery yet I do not want him added to the sheet.

I have tried amending my formula in different ways but always encounter problems.

View 3 Replies View Related

Macro Identifies FULL ORDERS And Hides All Other Rows

Jul 25, 2007

macro - show rows ONLY if two columns = each other AND......
Hello Excel Swammis!

I am in need of your assistance again.

I have an Excel report set up as follows:

Col D - Order #'s
Col G - part #'s
Col H - warehouse code for each part # ("N", "M", etc...)
Col K - Qty of part # ordered
Col L - Qty reserved for that part # on the order

List of orders starts on row 9.

If a particular line on the order is filled, then Col K = Col L for that row.
When the whole order is filled, then Col K = Col L for all rows on that order.

What I need is a macro that identifies FULL ORDERS and hides all other rows. So, if Col K = Col L for all rows adjacent to same order #'s in Col D (AND if Col H has value of "N" or "M" for warehouse code), it will be visible. Any orders with even ONE unfilled line will be hidden.

I am also looking for the reverse of this for a seperate macro. IE: Any orders with even ONE line not completely filled, I want all rows for those orders to be visible and all else hidden (again, only if Col H = "N" or "M").

View 9 Replies View Related

Type The Product Id In The A Column Of The Orders Sheet(Sheet2) To Auto Insert The Product Name In The B Column

Jul 16, 2006

In the first sheet I have two columns, one for the product_id and one for the name of the product. So the Sheet1 is like a small database. The second sheet is for the orders.What I want is when I type the product id in the A column of the orders sheet(Sheet2) to auto insert the product name in the B column so i dont have to write it every time.

View 2 Replies View Related

Counting Orders/Rep/Month

Oct 30, 2008

I am trying to set up a grid to count the number of orders each rep writes for each month of the year. I have tried three different formulas without success.

=COUNTIFS('Daily Compliance'!$B:$B,$C$7,'Daily Compliance'!$O:$O,">39447")-J7

In which J7 would count all orders written past Jan 31, minus K7, etc.

I also tried:

=COUNTIFS('Daily Compliance'!$B:$B,$C$7,'Daily Compliance'!$O:$O,">39447",'Daily Compliance'!$O:$O,"<39479"))

and:

=SUMPRODUCT(--('Daily Compliance'!O:O>=E274),--('Daily Compliance'!O:O<=F274),COUNTIF('Daily Compliance'!B:B,C7))

Daily Compliance is the sheet that lists all the orders, with column "B" being the rep, and column "O" being the date.

At this point, I'm not sure what I'm doing wrong.

View 9 Replies View Related

Assign Stock To Orders

Apr 10, 2008

I need a macro that looks at the earlier orders first and assigns inventory to them. Keep assigning inventory until either there are no more orders, or the inventory is depleted. I have tried to figure this out using formulas but it never seems to work out correctly. Here is a little sample I made to show what I am trying to do.


Item# Date Quantity Order Quantity Committed

Item# Quantity in Inventory 1 1/1/2008 18

1 21 2 1/5/2008 23

2 300 3 1/10/2008 10

View 13 Replies View Related

Display And Print Orders' First Rows

Feb 10, 2009

There will be many orders in this list and each orders will have several appendixes. I want to able to see and print the orders with their first appendix row but I want to do that when I need.

and do not want to loose any data.

View 4 Replies View Related

Count How Many Orders Have Part Numbers

Mar 16, 2009

I am trying to count how many orders have Part numbers A and B on the same order. If order 123 has part number A and B on it then return true or else false. I think Match and array might be a way to go but I am still not able to come up with the result.

Here's how the Data looks like:

OrderPart numbers
123A
123B
123C
123D
234A
234B
234E
346A
346C

Answer for above would be 2 orders that have A and B part numbers on the same order.

View 12 Replies View Related

Count Closed Work Orders

Sep 11, 2009

I need to count the amount of work orders that my employees have completed.

Review example.
How many work orders did chuck complete? (Column D)
How many work orders did brian complete?

View 2 Replies View Related

Match Production To Open Orders

Aug 13, 2012

I work for a manufacturing plant where we manufacture one product which is then sold under different names.

The product is made from the same material.

I am looking for a way to match up production to the orders and then subtract the produced quantity from the orders.

Tab 1 - Orders: Column 1 has the items (A1, A2 and A3 are all produced from A), Column 2 has the date when the order has to ship and Column 3 has the ordered volume.

Tab 2 - Production: Column 1 has the raw material, Column 2 has the production date and Column 3 has the amount manufactured.

Tab -1: Orders

Item
Ship Date
Ordered Qty, KG

A-1
8/22/2012
16

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

Tab -2: Production

Item
Production Date
Quantity

A
8/13/2012
140

[Code] ........

View 4 Replies View Related

INDEX, LOOKUP Or Find The Top 5 MAX Orders

Jan 20, 2004

Columns F looks at another table within the same worksheet for the Customer Code that has the MOST Orders in Column B.....then places the Tot Orders amount in F2..... Cust Codes in Column E and the Cum Values into Col G ( that's already been accumulated and housed in column C ).

Cell F3 then go looks up the next largest order in Column B and pulls over the adjacent Customer Code & Cum Value to the E,F,G table again.

Basically there's 3 functions:
1 in E2
1 in F2
1 in G2
All to copy downward within that table

******** ******************** ************************************************************************>Microsoft Excel - Book4___Running: xl2000 : OS = Windows Windows 2000 (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA1=
ABCDEFG1CustomerTot*OrdersCum*Value.CustomerTot*OrdersCum*Value2Cust*682$943.Cust*682$9433Cust*973$787.Cust*973$7874Cust*1055$525.Cust*1055$5255Cust*840$438.Cust*840$4386Cust*125$150.Cust*125$1507Cust*27$300....8Cust*55$180....9Cust*43$75....10Cust*31$25....11Cust*71$12....Sheet1*
[HtmlMaker 2.32] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

View 9 Replies View Related

Update Log Worksheet And Maintain A History Of All Orders?

Apr 20, 2013

I have a table that includes list of clients, products they order, and requested delivery date. When the client calls in to place an order, I pull up the excel table (orders worksheet) and fill in the items quantities and the required delivery date for the client who called. Once I fill the information for the client who called in, I need to update a "log" worksheet with the information that I just entered. The log worksheet will eventually contains history of all the orders which I received in the past.

View 1 Replies View Related

Identify Any Jobs That Are In Sheet1 But Not In The Current Orders Tab

Jun 30, 2009

look at the attached. I trying to identify any jobs that are in sheet1 but not in the current orders tab.

View 3 Replies View Related

Order Summary- 8 Sheets In My Worksheet With Orders From My Customers

Oct 28, 2009

I have 8 Sheets in my worksheet with orders from my customers. Column C is their PO# and Column M is the Status of the order. What im looking to do is set up a summary sheet with the List of 8 customers that tells me what PO#'s are in a particular status.
I need a formula to list all PO's that are in "Fabricating" or "Completed" Statuses.

I have gotten this far:
=if(Sheet1!M25="Fabricating",Sheet1!C25,if(Sheet1!M25="Completed",Sheet1!C25,"None"
which works perfectly for the individual rows, but i need it to do it for all rows (1-2500). If i do Sheet1!M2:M2500, i loose it.

View 14 Replies View Related

Graph Columns Of Data On Different Tabs In Different Orders On Same Plots

Feb 4, 2014

I get large data sets that are organized in columns and each has a title at the top of it. I will get several sets of this data in order to compare them all on graphs.

Now here is the kicker, the columns are not always in the same order. Not always named the same. And not always the same number of columns.

I want to make a tool to handle this to a point where I just import the data and everything is taken care of. I also want a printable report for each data set to which I can select from a drop down menu. Populate cells on a tab, and then can be printed.

View 2 Replies View Related

Tally All The Work Orders That Are Created And Either Completed Or Pending

Aug 16, 2008

Her situation is that she would like to be able to tally all the work orders that are created and either completed or pending. According to what she tells me she usually spends hours tallying the monthly worked on orders manually....

View 15 Replies View Related

Excel 2003 :: Sort To Include Only Work Orders With All Numbers?

Aug 27, 2013

Using Microsoft Access to pull from a database work orders. Some of those are what we call "dummy" work orders and have a letter in them, real work orders are signified by a 10 digit number. I would like to sort and eliminate the letters to find appropriate data. I am assuming I will need to copy into excel and do some sort of formatting but not sure where to start.

View 1 Replies View Related

Sort Matching Orders Into Groups And Add Product Names To Breaklines

May 21, 2014

How do I create a macro to sort rows into groups, add break rows in between & insert a product sourced from another excel workbook onto the break line?

I receive a spreadsheet each day with a series of requests, most of the information is the addresses & names etc with the important data in columns K,M & O. Data in each of these columns is a code that refers to a product and information sheet to be sent out to the person requesting it. They may want just one in which case data will only be in column K, if they want two there will also be data in M and if they require three there will be data in column O as well. The bit I do know is how to sort the important data into groups of the same by the country (column I) and the product sku's.

Whilst I can do the sort as a recorded macro I really need it to be part of a larger macro that does the following bit I can't get my head around. I need to insert a break row above each group then by cross referencing the data in the product sku columns to a separate workbook insert the appropriate item / letter combination onto the break line row, telling the volunteer which items to send out. This is a v look up?

I have attached an example of the files we work with, the first tab is with the data simply sorted and the second is what I need it to look like. I normally receive it as a CSV file, there are around 8000 possible combinations of product and instructions and the files are normally around 4000 records long. At present we insert the break lines and copy/paste the information manually, seriously slowing down the process.

Orders Example EUR RM.xlsx

View 12 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:

=COUNTIFS(Data!$I:$I,E7,Data!$I:$I,">=A8",Data!$I:$I,"

View 1 Replies View Related

Forecasting Purchasing: Setting Up A Spreadsheet That Will Allow Me To Look At Previous Orders And Forecast

Apr 11, 2007

how I would go about setting up a spreadsheet that will allow me to look at previous orders and forecast what I need to buy. He never got into trouble for ordering too much, but he did get caught on ordering too little. I am thinking something along the lines of the attached. However, if anyone is using something that looks or works better (or those who solve this little problem have done a better looking or working sheet) let me know.

There will be some Vlookups that need to bring in description and price (or some other function if there is a better way to do it). The min need and max need will be populated and brought in by vlookup. The order column should be where the forecasting happens based on previous orders. I am willing to have all the data in the same workbook. The second or third sheet can be used to store data in what ever format that is needed to be done.

View 8 Replies View Related

Finding Data That Has 2 Work Orders And Comparing With Completion Date

May 31, 2007

What I am looking for is a macro/formula that will look at a unit number, then the type of work done, then the completion date and decide if the same type of work was done on the same unit within a 7 day span of time.

Example

Unit is 11111, work is plumbing completion date is 10/4/07
Unit is 11111, work is plumbing completion date is 10/7/07

This means the work has been done 2 times (obviously showing that it did not get fixed the first time)

Is there any way to mark an X in the square with the formula, or any type of identifier what-so-ever

I have attached a spreadsheet and hope it helps

Again I know this is complex so it is OK if no one feels like messing with it but I wanted to check here first.

View 3 Replies View Related

Check Status Of Purchase Orders And Send Out Email To Different Vendors For Receipt

Dec 23, 2011

I check on the status of Purchase orders all day long and have to send out email to different vendors asking if they received it.

I would like to create a VBA code that will open up a new email and have a general question inserted in the email (question below). I can fill in the PO number and email address on my own.

Please confirm that you received the following PO and verify the Qty, price and delivery date.

View 5 Replies View Related

Countifs Formula That Only Counts Work Orders Made Before Specific Date

Apr 22, 2014

I am trying to count how many work orders we have created from 3 months (90 days) ago. In an effort to make the input work minimal. I wanted to use the =Today() formula and then subtract 3 months.

So I currently have =Today() in A1 and then (A1-90) in cell B1 and I get the date I want.

However, When I use a countifs formula and my criteria is

View 1 Replies View Related

Summarizing List Of Data Which Covers List Of Orders?

Mar 31, 2014

See attached spreadsheet. It's an imaginery list of orders. Raw data on the left, summary on the right.

F is a reduced list of A, G is how many times each appears in A. H is supposed to be the total values of each order, ie quantity in B * value in C.

How do I calculate H?

View 2 Replies View Related

Macro To Copy Current Sheet, Create, & Rename New Sheet From Current Open Sheet

Oct 27, 2008

EXAMPLE: Complete Sheet called "Day1". When day1 is complete you click on button and it then copies itself and creates and renames new sheet to "Day2", then when "Day2" is complete you click on button and it then copies itself and creates and renames new sheet to "Day3", and so on and so forth to "Day30".

View 9 Replies View Related

Macro To Copy Data From Sheet 1 To Multiple Pages On Sheet 2 In Correct Cells

Jan 15, 2009

I have attached a 97-2003 .xls file with data for multiple store locations on sheet 1, and the desired result on sheet 2. I am actually using excel 2007, but I dont think I need any special features that it provides.

I will try to explain the issue here without opening the attachment.

Here is an example of the Data on Sheet1

View 13 Replies View Related

Macro To Copy Sheet From Closed Work Book And Overwrite If Sheet Already Exists

Nov 22, 2009

I am currently using a macro to copy a sheet from a closed workbook in to my current workbook. However this copying is based on the sheet name. At present when I run the following code

View 11 Replies View Related

Excel 2010 :: Macro Runs On Protected Sheet But Changes Protect Sheet Options?

Feb 24, 2011

I am using Excel 2010 and I have a password protected workbook with password protected sheets that uses several macros. Most of them, in order to run, have to un-protect the sheet and then re-protect it again. This has been accomplished easily enough by adding ActiveSheet.Unprotect Password:= "mypassword" and ActiveSheet.Protect Password:= "mypassword" to the appropriate places in the script. All of my macros, which do various things like sorting and moving data, deleting blank rows, displaying dialog boxes containing warning messages etc. run fine.

My problem is this: when I password protect the sheets manually, I have checked the following options in the "Protect Sheet" dialog box. Under "Allow users of this worksheet to" I have checked 1)Select unlocked cells and 2)Format cells. After entering my password and closing the dialog box my sheet is protected, but I can edit cells in the manner my allowances permit. However, once I run any of the macros that un-protect and re-protect the sheet, I remain able to select and edit unlocked cells (practically, for my purposes, this means that I can input data which will appear in the default font size and color of the sheet) but I cannot format cells (which, practically, for my purposes would allow me to occasionally change the font color and size of the data). Naturally, after running a macro, the other cell-formatting options are unavailable to me as well. Is there any way to get my manual selections to remain in place after running a macro that functions as mine do? Or is there any way to make my manual selections the default settings for a protected sheet?

View 4 Replies View Related

Excel 2010 :: How To Assign Macro From One Sheet To Form Button On Different Sheet

Mar 6, 2014

I am running excel 2010 with windows 7. I created a macro in sheet 1 and I wish to activate the macro from sheet 2 using a form button. I have entered the code below. I know how to perform this function on a more simple macro like adding names to cells. This code is a bit more complex I just dont know where to start.

Code:
Sub LoanData()
'
' LoanData Macro

[Code].....

View 3 Replies View Related

Macro That Will Compare The P'folios In Sheet "Data To Sheet Workings

Feb 28, 2009

i need a macro that will compare the p'folios in sheet "Data to Sheet Workings, and then list the p;folios which is in sheet Data but not in workings in Sheet "New", so in the example below this would be ETSTSA ...

View 9 Replies View Related







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