Excel 2003 :: Copying First Instance To New Worksheet Then Adding Total Units?

Jun 5, 2014

Basically the first worksheet (equipment list) is set out for parts used for each individual unit which can be printed out for each unit.

The second worksheet is an equipment list, where each part number and quantity required is displayed which can be sent to suppliers for ordering.

At the moment I

-> copy the equipment list to a new worksheet
-> do an advanced filter for "Unique records only"
-> =SUMIF('Equipment List'!B:B,'Parts List'!A16,'Equipment List'!D:D)

which is much faster than the way we used to do it.

The problem is, when I add a part to the equipment list that is new, I need to go through the process again.

Is there a way to automate so any parts I add to the equipment list, if it is the first time the part number has been entered, it will copy to the parts list worksheet and update the qty column or if it is an existing part number it just updates the qty column?

The equipment list may potentially have up to 100 different drives, but using mainly the same equipment.

I created this sample on an old desktop using excel 2003 but I use 2010 on my laptop.

View 3 Replies


ADVERTISEMENT

Excel 2003 :: VBA - Only Copying Rows With Data In And Moving To New Worksheet

Oct 3, 2012

I am using Excel 2003.

I have 2 worksheets.

Worksheet 1 is called "Master List Data". Every cell within this worksheet contains a formula so that it matches the cell value contained in a worksheet held within another workbook.

The formula for reference is as follows:

=IF('[CCL Breakdown.xls]MASTER LIST - Active Customers '!A1="","",'[WFX CCL Breakdown.xls]MASTER LIST - Active Customers '!A1) .

e.g.

If Cell A1 on Master List-Active Customer contains no data, Cell A1 in Master List Data would be blank.

If Cell A1 on Master List-Active Customer equals John Smith, Cell A1 in Master List Data would display John Smith.

There are currently non-blank values contained in cells A4:A750. But next week there may be non-blank values is cells A4:A790 (i.e. it will grow each week)

Worksheet 2 is called "Master List Flat. At the moment, I am manually copying and pasting the rows which have non-blank values in cells from Column A from Worksheet 1 into this report (e.g. A4:IV4).

I would like to automate this process and I have created a Macro, but I do not know how to word it so that it will only copy cells with actual data in.

The Macro I have written is below:

Sub IMPORTANDFLATTENDATA()
'
' IMPORTANDFLATTENDATA Macro
' Macro recorded 01/10/2012 by walesb
'
'
Application.ScreenUpdating = False
Sheets("Master List Flat").Select
Rows("4:759").Select

[Code]....

View 1 Replies View Related

Excel 2003 :: Return Last Instance?

Jan 3, 2012

I have tried Index/Match but nothing so far. Basically, I have this table:

Sheet2KLMN3Employee1Client Assistance/Request31/3/2012 14:57:344Employee1Client Assistance/Request31/3/2012 14:58:075Employee2Client Assistance/Request11/3/2012 14:59:456Employee3Client Assistance/Request11/3/2012 17:08:297Employee1Client Assistance/Request61/3/2012 17:10:16Excel 2003

So now, I want E19 of the table below to bring back column N of sheet 1, but only the last instance in which those Employee 1 and Client Assistance/Request met. In this example N7 of Sheet 2.

Sheet1BCDE18Client Assistance/RequestDate19Employee 10020Employee200Excel 2003

View 5 Replies View Related

Total Units For Each Customer

Feb 3, 2009

I have been tasked with tracking the expected income for our Advertising Department. (I work for a newspaper.) The rate I charge an ad depends upon the total number of advertising units a customer purchases during an entire billing period. Essentially: I need to have a total of column G for when column B matches the current row. I need this in column K. The value of K should be the same when the value of B is the same.

My programing flow chart I sketched out checked to see if any row in column B that is above the current row matched the current row's data. If it did then it would use that row's value for the total number of units. If it did not it would add up the units from G when B matched the current column. I attached a document

View 2 Replies View Related

Formula Return The Total Value Of Units

Feb 19, 2009

i need a formula that will return the total value of units which is greater than 20000 in col b between 5 and 30 days

AgeUnits272,472,215.29134,354.83112,714,300.007-112,566.006-239,853.006-105,938.006-36,792.006-608,695.001827,632.007-21.00

View 9 Replies View Related

Excel 2003 :: Copying A Formula And Skipping Every 5th Row?

Aug 31, 2013

I need to copy a column of data from Sheet1 to Sheet2, but skipping every 5th row in the original data on Sheet1, but without leaving any gaps in the resultant column in sheet2.

At the moment I've been manually changing the formula but there must be an easier way.

eg. Copying data from Sheet1, A1 to A11, I would have in Sheet2, starting at A1 :
=Sheet1!A1
=Sheet1!A2
=Sheet1!A3
=Sheet1!A4
=Sheet1!A6
=Sheet1!A7
=Sheet1!A8
=Sheet1!A9
=Sheet1!A11

Any formula I can enter that would be dragable and still skip every 5th row ?

Windows XP, Excel 2003

View 5 Replies View Related

Excel 2003 :: Copying Range Of Cells From One XLS File To Another

Nov 5, 2012

I'm using Excel 2003. I've got two different .XLS files, each with multiple sheets.

I'm trying to create a macro which will copy a range of cells from one sheet on one .XLS file (which is closed) to a specific place on a specific sheet on the current .XLS file (which is open).

So for the sake of argument:

I've got two Excel files: C:ApplesOldFile.xls and C:OrangesNewFile.xls

OldFile.xls is closed -- NewFile.xls is open and in front of me.

I'm trying to copy the data in ranges B6:C41 and F6:F41 from Sheet2 in OldFile.xls to the same ranges on Sheet6 in NewFile.xls. There are no formulas in these cells -- just data (numbers).

I keep getting error messages, failures to copy to clipboard, etc.

View 3 Replies View Related

Excel 2003 :: Copying Row To Different Sheet Based On Condition

Feb 16, 2013

I wanted to know if it was possible for me to be able to copy a whole row into a different sheet based on a column value. For example, if B6 = CLOSE, the whole row would be coppied to the sheet name CLOSE. If B6 = OCCUPIED it would be copied to sheet name OCCUPIED. I also need if W7 = to a date thats passed today it would be added to the sheet name EXP PRD. An off topic question, i have this code for column "W":

=COUNTIF(W6:AD155,">"&TODAY()+15)

It works just fine, but I also have "N/A" / "INDEF" in the blocks as well so it's not giving me the correct results. I'm using Excel 2003.

View 8 Replies View Related

Excel 2003 :: Searching For Value In Cell And Then Copying Entire Row

Aug 22, 2013

So I have the code that allows me to search for the a certain value in a cell and then copies a certain cell to the other spread sheets. Here is the code that does that

Code:

Sub SearchMacro()
Dim LR As Long, i As Long
With Sheets("Sheet1")

[Code].....

The code will just need to search for the string "HSFL" and I won't have to hard code all the different variations of HSFL as I mentioned above.

View 9 Replies View Related

Excel 2003 :: Need Cell Pre-filled Before Adding Results To It

Feb 25, 2013

I keep record of my blood sugar in excel 2003 that I send to my doctor weekly.

What I would like to do is, instead of typing the readings and mmol/L at the end in every cell, is to just type in the reading (example 5.5) then tab of the cell and have excel populate the cell with mmol/L automatically after the reading.

Can it be done?

View 2 Replies View Related

Excel 2003 :: Adding Values If Column Next To It Is In Certain Range

Sep 9, 2013

I have this code working fine in excel 2007 but I need to get it working in excel 2003.

=0.02*(_xlfn.SUMIFS($D$2:$D$98,$C$2:$C$98,">="&I5,$C$2:$C$98,"<="&I4))

I have attached a test document to show what I'd like to do. It is basically adding values if the column next to it is in a certain range.

counting columns in Excel 2003.xls

View 3 Replies View Related

Excel 2003 :: Adding ISBLANK Function To IF Formula

Jun 7, 2014

I am using Excel 2003

I have used =IF(I6=J6,1,0) but I want a 0 value if the two cells are blank. How do add this to the formula?

View 7 Replies View Related

Excel 2003 :: Copying Cells Based On Alternate Cell Value?

Sep 26, 2011

I am wondering if it possible to automate the copying of data from particular cells, based on a value in a different cell, into a different format.

So to go from this simplified table:

AB1NameLevel2Arthur2a3Briony3c4Catherine3b5David3a6Edward2a7Felicity3c8George3c
to something like this:

FGHI12a3c3b3a2ArthurBrionyCatherineDavid3EdwardFelicity

4
George

At the moment I do it all manually, and it takes forever. I am sure there must be a simple way of doing it. I am using Excel 2003, but could work in a newer version if required.

View 9 Replies View Related

Excel 2003 :: Adding Blank Line Between Company Names

Feb 6, 2013

I have a 97-2003 spreadsheet with approximately 22,000 lines of seperate companies. I need to know how to insert a blank line between the company names. I have been using the "Right Click - Insert" method but soon realized there must be 2000 different companies. The Company Name column is A.

View 7 Replies View Related

Excel 2003 :: Getting 1004 Error While Copying Data From Sheets To Master Tab In The Workbook

Mar 12, 2014

I have attached a workbook (excel 2003), I have few userforms in it.

I tried to copy data from all the tabs in the workbook to "Master" tab but getting an error.

You have to login to file details are as below:

View 3 Replies View Related

Excel 2003 :: VBA - Adding Named Template Worksheets Based On Single Cell Value

Apr 24, 2012

I'm trying to make a macro in Excel 2003 to create x amount of named worksheets that are a copy of a different worksheet.

1. I have a main worksheet that will have a number manually entered into a cell (lets say A1);
2. I have a 'template' worksheet;
3. I'll assign the macro to a button on the main worksheet

If I enter '10' into cell A1 of the main worksheet, I'd like to click the button and have Excel create 10 copies of the template worksheet. These new worksheets should all share the same name with a number after them (ex: banana 1, banana 2..... banana 10).

View 2 Replies View Related

Formula To Calc Total Hours For Each Instance

Jan 28, 2007

I want to find out how many hours, in total, relate to "consolidation 1, 2, 3; Lease Renewal 1,2 3 etc. What formula can I use. I am working on a "sumif" but it's not working out for me.
Hours
1 Consolidation 4.75
3 External Sublea
3 Consolidation 2
3 Special Project
2 External Sublea
1 Lease Renewal w
1 New Lease w/o T 4
1 New Lease w/o T 1
1 External Sublea
3 Lease Renewal w 1
2 Lease Renewal w .5

View 9 Replies View Related

Calculate From Last Instance Ignore Blanks To Maintain Running Total

Aug 6, 2013

I have a spreadsheet that is tracking a MTD receivables (running total). When it comes to weekends or day's when their were no receivables the running total needs to reference the last working day or the last receivable entry to perform its calculations for that day.

So in the table below (couldn't post attachment) the first row(1) = days of week , second row (2) = running MTD totals and the 3rd row (reference cells). So for Wednesday I our totals were 9995 which I entered in Row 3 (column A) and called it to Row 2 (column A). For Thursday I called Row 3 (column b which was known and manually entered) and subtracted Row 3 (column A) and populated Row 2 (column b). So my equation to in Row 2 column b is simple as =sum(b2-b1)

This is ok but when the weekend (or days not worked) come in to play you can see it produces a negative for Saturday / Sunday. Saturday took 15,707 and subtracted it from nothing (row 3 column d) since there were no receivables on Saturday.

So I need a formula that will calculate from the last instance while ignoring blank cells.

Wednesday
Thursday
Friday
Saturday
Sunday
Monday

9,955.00
3,325.00
2,427.00
(15,707.00)
(0.00)
20,903.00

9,955.00
13,280.00
15,707.00

20,903.00

View 1 Replies View Related

Excel 2003 :: Copying Information From Textbox To A Cell (or Another Textbox)

Dec 28, 2013

Is there a way without using code to have the text in a text box (excel 2003), copied to another cell or another text box on a different worksheet?

I have information in a text box on 1 worksheet. I would like this information to automatically be copied to another worksheet. On the master sheet, if any of the information gets changed or updated, the copied information should get updated as well.

View 1 Replies View Related

Excel 2003 :: Alphabetizing Names Listed In Worksheet

Sep 10, 2013

I use Excel 2003 & I am trying to design a worksheet to keep track of signs I make & their order numbers. I want the names listed alphabetically. When I add a new name & I arrange the column alphabetically, the columns with the order numbers do not relocate along with the names column.

View 5 Replies View Related

Excel 2003 :: How To Protect Worksheet (Unlocking Certain Cells)

Feb 24, 2014

I have a sheet witch has a number of tick boxes and depending on the response a number of hidden rows may open to allow further info to be recorded, how do I protect the sheet in excel 2003 as unlocking certain cells & protecting the sheet will not work.

View 1 Replies View Related

Excel 2003 :: Copy Worksheet To Word Document

Mar 30, 2014

I'm trying to copy parts of a worksheet from excel 2003 to word 2003. I've found code that does this alright but I need to be able to re-size the the pasted data to fit the word document. Is there a way to set the properties of the word document like change it to landscape and move the margins etc? Even a simple "reduce the table size to fit the word document". I've included the code i've got already. This code will open up a word document and copy your cells into it but without any useful options. So its ok for a small group of cells.

View 1 Replies View Related

Excel 2003 :: VBA - Worksheet Object Temporarily Disappeared

Oct 25, 2011

I have a simple macro that cycles through the sheets in a workbook, and if the sheet's codename matches one of a defined list, some of its data is added to a summary sheet.

The macro works exactly as intended, but a strange thing happened yesterday: some data was missing from the summary sheet because one of the sheets was being ignored. This sheet is named 'MCP' on its tab, and has codename Sheet8.

Here's the strange part: on stepping through the code, cycling the sheets, I noticed that the sheet icon, name and codename had disappeared from the Microsoft Excel Objects folder in the Project Explorer. When the loop got to the sheet in question

Code:
For Each ws In ThisWorkbook.Worksheets
Debug.Print ws.Name
Debug.Print ws.Codename

The above code displayed its name (correctly) as 'MCP', but its codename was blank; the sheet was therefore skipped by the code because the codename had to match against a defined list.

While I was pondering this, and doing some web searches, the sheet then re-appeared in the Project Explorer and everything worked again.

My question is this: is it likely to be due to the workbook being shared? I know that workbook sharing in Excel is often discouraged, but this is a simple workbook only used by a maximum of three users (two of these had the workbook open at the time the issue was reported)

I've changed the code so that the sheet name is inspected in the event that the codename is blank, which should guard against the issue provided sheets are not deleted/renamed.

Windows XP, Excel 2003

View 4 Replies View Related

Excel 2003 :: Change Value In A1 By One Each Time Worksheet Created

May 3, 2012

I am creating an invoice form in Excel 2003. I like to know if it is possible to increase the value of cel A1 by one everytime a new sheet is created.

For example i created my first worksheet and gave an invoice number 001. Now I create a new worksheet by right clicking on the tab and choose copy/move. I like the second work sheet change the invoice number to 002.

View 8 Replies View Related

Excel 2003 :: How To Auto-Populate Data From 1 Worksheet To Another

Jul 2, 2014

I have inherited a number of databases in work (running Office 2003). It has quickly become apparant that a vast amount of work is duplicated and so i am trying to cut down the data input and therefore the possible errors.......

I have narrowed most of the work down and now have a major worksheet (is that what you call a complete Excel file) named "master database" and several over minor files....

Currently what i am trying to do is to get the minor files (68 seperate files) to auto populate an area of the master database. I will try to explain it below...

1. Minor database has 2 columns with data i require to auto populate the master database. (1 column (B) is called 'off', the 2nd column (C) is called 'on').

2. A number will be inputed manually into either 'B' only or 'B and C' columns, depending on the criteria of the job..

3. The criteria of the job is dictated by column (Z) where the text 'A' or 'ATL' is inputed

4. The master database i would like to add up the numbers inputed as a total from columns 'off' and 'on' and place them into seperate columns 'E' and 'G' of the master database.

5. IF column (Z) shows 'A' then only column (B) 'off' is to be calculated and put into the master database at column (E)

6. IF column (Z) shows 'ATL' then BOTH columns (B and C) 'on' AND 'off' are to be added together and column (G) populated on the master database.....

To make matters more complex. An expiry date is shown on the master database at columns (D) and (F).
IF column (E) does not exceed 12 by the expiry date, i would like the cell (D) to turn red
IF column (G) does not exceed 10 by the expiry date, I would like the cell (F) to turn red

View 7 Replies View Related

Excel 2003 :: Shared Workbook - Add Button To Worksheet

Aug 1, 2014

I've added some code the adds a button to a worksheet

Public Sub AddSheetPrintButton()
Dim btn As Button
Dim t As Range
Set t = ActiveSheet.Range(Cells(1, 6), Cells(1, 7)) ' button position
Set btn = ActiveSheet.Buttons.Add(t.Left, t.Top, t.Width, t.Height)
With btn
.OnAction = "sheetPrint"
.Caption = "Print Sheet"
.Name = "Print"
.Font.ColorIndex = 10
End With
End Sub

This works fine until the workbook is shared!

View 1 Replies View Related

Excel 2007 :: Show Total From Different Worksheet

Oct 13, 2013

I'm fairly new to Excel (2007).

I have used a simple COUNTIF formula (=COUNTIF(C7:C207,"Name")) on sheet 1 to give me the total I want.

What I now want to do, is display this total on a different sheet in the same workbook (Sheet 3) without having to take all the data from Sheet 1 over to Sheet 3.

View 7 Replies View Related

Excel 2003 :: Macro To Copy Part Of Worksheet Into Word?

Nov 29, 2011

Creating a macro that updates and copies part of a worksheet in Excel 2003 and pastes it in MS Word. The sheet I have is a sheet that updates some prices etc and after it updates I usually select a square (part of the sheet), press CTRL+C to copy it and paste it as a picture (paste special ) in word. Is there a way to automate the process?

I am thinking a macro that updates the sheet, copies and pastes iit on word??

View 4 Replies View Related

Excel 2003 :: Compare Characters Between Two Columns And Output Results In Same Worksheet?

Feb 6, 2013

I have a worksheet with five columns (A, B, C, D and E)

The cells in Column B contain letters and/or numbers (without spaces) in no particular order.
The cells in Column C contain letters and/or numbers (without spaces) in no particular order.

I want to compare all characters in 1st Cell of Column B with all characters in 1st Cell of Column C, and display the matching characters in 1st Cell of Column D, and the character count of 1st Cell in Column D must be displayed in 1st Cell of Column E. note that multiple instances of the same character must not be treated as duplicates. When execution on 1st Row is finished then repeat procedure for Row 2, etc... Stop execution when first empty cell in Column B is located.

Example:

B1 = LJLM12
C1 = KY2MLK
B2 = ZCG4GM
C2 = X4GGGC
B3 = KTCBNG
C3 = GNBTBB

The script/code/formula must output the following:

D1 = LM2
E1 = 3
D2 = CG4G
E2 = 4
D3 = TBNG
E3 = 4

I am using Excel 2003. Y

View 2 Replies View Related

Excel 2003 :: Grant Access To Selective Columns On Shared Worksheet

Nov 15, 2012

I'd like to grant access to selective columns on a shared worksheet.

For example:
Columns A to D should be edited by only me
Columns E to G can be edited by anyone
Column H should only be edited by someone else

The worksheet has to be shared and has been shared by me. I know how to protect & hide locked cells etc but the problem I'm running into is this...

After locking & password protecting say columns A to D and then sharing the worksheet, I am unable to edit my own columns (columns A to D) without first entering the password.

However in order to enter the password I need to unprotect the sheet. And in order to unprotect the sheet, I need to unshare it!

Is there any way around this or perhaps a completely different way of approaching it?

View 3 Replies View Related







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