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

## Excel 2003 :: Changing Colour Palette To Include Patterns?

Dec 19, 2011

I'm trying to change the colour palette to include patterns (for charts). Is this possible? We use Excel 2003.

## Excel 2003 :: Include Text Criteria In Date Range Formula

Dec 20, 2012

Having a hard time putting this one together..Trying to do: Create a formula that counts how many cells in Column L, that fall within a date range and also have a specific category of "text" (Column E). What I've tried:=COUNTIF(\$L\$4:\$L\$166,"

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

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

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

## Excel 2003 :: VLookup Doesn't Work But Cell Seem To Be The Same

Oct 16, 2013

I am having difficulty with a Vlookup in Excel 2003. Basically I have converted both fields to Text using the text function =TEXT(A2,"0") and have tried matching the values but just get an #N/A error and I have also converted both back to number format but still get the #N/A error....when I do a "=" operator function it returns a FALSE value but I cannot see why as both cell are just 4 or 5 digit number.

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

## Excel 2003 :: Translating Remove Duplicates Function To Work

Oct 16, 2013

I've been left with a macro built in 2010--but I need it to run in 2003.

I've identified a Remove Duplicates function as the cause of a bug, how to translate this to a 2003-friendly macro? This will be an action in a much longer macro. What I am trying to do is check for duplicates in a particular column (Column C), and remove any duplicate row (it doesn't matter which duplicate is removed).

VB:

'Remove duplicates
Sheets("Input sheet").Select
xlYes

## Excel 2003 :: VBA Left To Work With Upper Or Lower Case?

Apr 8, 2013

I have the macro below, how do I make it NOT be case sensitive, I want it to work for test. Test, TEST

Excel 2003

Code:
Sub test()
If Left(ActiveCell, 4) = ("test") Then
MsgBox "Activecell starts with test"
End If
End Sub

## Excel 2003 :: Upgraded To 2007 And Worksheet Change Function Does Not Work

Oct 10, 2011

I recently upgraded from Excel 2003 to 2007, and the worksheet change procedure that i have embedded in my worksheet no longer fires when the criteria are met. If and if I fix it to work in 2007, will it still work in 2003?

Here is my procedure:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim rngCell As Excel.Range
If Not Intersect(Target, Range("C19:R19")) Is Nothing Then
For Each rngCell In Intersect(Target, Range("C19:R19"))
If rngCell.Value = "BLACK" Then
End If
Next rngCell
End If
End Sub

## Excel 2003 :: Button To Sort Rows?

Feb 20, 2013

Running excel 2003 and have a number of sheets where i want buttons along the headings to sort a selection of rows.

For Eaxample one sheet i have data in range A6:AD135. i would like to assign a macro to various buttons on row 5 to sort by that column ie button in column b sorts all data in the range by column B.

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

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

## Formula- To Develop A Code To Include Into A Spreadsheet For Work

Jan 20, 2009

I am having trouble trying to develop a code to include into a spreadsheet for work. It will be a live spreadsheet accessed by a few people who will have control over there own columns in the spreadsheet (2 columns are designated for one project) Each Project director is to edit the info about their project.

So my goal is to put a code in cell C3 that shows the date that cells C4-32 and D4-32 were last updated.

## Excel 2010 :: Formula That Will Work With Text And Numbers?

Dec 10, 2013

I am working in Excel 2010 (Windows 8) and am having real problems trying to find a function/formula that will work with both numbers and text. I am trying to identify if the contents of Col A cells and Col C cells on each row are duplicated within a worksheet, and if they are, to add a 'J'.

(Column A is a list of numerical company codes and Column C is a list of adviser codes using the letter A-G. If a company ID code has more than one of the same adviser codes referenced to it, it is termed 'Joint', hence the 'J').

The formula I've used is: =IF(A2:C2, FREQUENCY>1, "J")

But it tells me 'numbers only'.

## Excel 2003 :: Why Numbers Change When Save In CSV

Jan 31, 2012

I enter 13 digit number in a cell, when I save my Worksheet in CSV format the number is changed.

Example:
I enter 9328627000014 (this is a barcode) After saving this file the number is displayed in the Formula Bar as 9328630000000 and in the Cell it show up as 9.33E+12 When I go to Format Cells, this cell is selected as Scientific. When I change it to Number, after saving it again it returns back to scientific with the old display. Also when I enter 2 digit number in another cell in another column and I choose to be displayed as number with 2 decimal places, after saving the file it returns back as General format. When I am saving this file as CSV a window pops up with a warning that my file may contain features that are not compatible with CSV. I can not choose text format in the cell because it is a datafeed and it has to be read correctly as number.

I use Microsoft Office 2003.

## Rank & Sort Table: Unique Numbers Sort Ascending, But The Non-unique Numbers Sort Descending

Oct 5, 2007

I have a list in rows where I have a ranking formula =COUNT(\$G\$5:\$G\$81)-(RANK(G5,\$G\$5:\$G\$81)+ COUNTIF(\$G\$5:G5,G5)-1)+1 When I sort the rank, ascending. All of the unique numbers sort ascending, but the non-unique numbers sort descending

ex) 1.751
2.52
3.753
418
417
416

## Excel 2003 :: Concatenate Formula With Numbers With Decimals

Jul 12, 2012

I'm using excel 2003 and have a problem regarding some code.

Dit(a, b) = "=" & Hit(a, (d - 12 - e) + f) & "/" & (Pro & ".NrE.sol")

Where "Hit(a, (d - 12 - e) + f)" can be numbers with decimals.

When I run the code the result is nothing, unless the number is a number without decimals.

If I use just "Dit(a, b) = Hit(a, (d - 12 - e) + f)" it shows the right number.

## Excel 2003 :: Formula To Combine Delimited Numbers

Dec 11, 2012

I am using Excel 2003 and trying to create a formula that will combine comma delimited numbers from two or three cells in the same row and output them to another cell in the same row as comma delimited numbers, sorted with duplicates removed.

So the data is something like this ...

Cell A1 ... 1,5,8,19

Cell B1 ... 4,26,1,8,8501

Cell C1 ... 1,6,1301,12

I would like to consolidate these into cell D1, sorted and distinct ...

Cell D1 ... 1,4,5,6,8,12,19,26,1301,8501

## Delete Numbers Which Include Specified Numbers

Jun 24, 2007

How is it possible to delete the phone numbers which include 39 like (323940, 393312, 124039, and so) suppose all the phone numbers are in cell B

## Expand Table To Include Missing Times From Data And Sort Based On Multiple Criteria

May 6, 2014

I have a set of data (assume 2 columns, one with a long name and the second with a time). The names contain variables that must be used as criteria (a single entry may contain "Blue" and "On"/"Off") and times vary, based on when the Name turns "On" or "Off" [in minutes: 25 (On), 47 (Off), 89 (On), 100 (Off) and 137 (On)]. I need to create another table that automatically inserts values for all times, to include the missing times (0 min thru 24 and 26 thru 46, etc.). EX: If the first entry is "Blue-On" at "25 minutes", the cells from 0 minutes to 24 minutes are each "0" and become a "1" at 25 minutes - the following cells are "1" until 47 minutes (where it is turned off). (1 and 0 represent "On" and "Off", respectively)

How can I created a formula to insert the correct numbers into the correct places? I'm willing to have multiple cells with formulas and simply hide the columns that are doing the calculations.

## Formula To Include A Match To Any 8 Numbers

Aug 5, 2009

I have a formula to pick up certain bits of information depending on the contents of a cell.

=IF(\$F3="138-1",MID(\$E3,11,4),IF(\$F3="151-26",MID(\$E3,11,4),IF(MID(\$F3,1,2)="00",\$E3,IF(MID(\$F3,1,2)="40",\$E3,IF(MID(\$F3,1,1)="-",\$E3,IF(MID(\$F3,1,1)="8",\$E3,\$F3))))))
The data in column F has a mixture of 8 digit numbers including numbers starting with multiple zero's, the numbers 138-1 and 151-26, then some text.

Orginally the 8 digit numbers only started 00 so it was easy to pull out the relevent information, then they started 40 and then 8. I'm just worried that I'm going to end up with too many nested 'if' statements (and reach the max limit), so I was wondering if I could do 'any 8 numeric digits' instead of this current 'dead end' solution.

I'm not sure if I could use a wildcard of some sort with the MID formula

## 2003 To 2007, VBA Codes Doesn't Work

Apr 18, 2009

I always used Office 2003 .. I just installed Office 2007 to try it out. But everything doesn't work in Excel 2007, which does work in Excel 2003.

I added an example of the list, but here are the codes:
Sheet1

## Worksheets Sort Does Not Work

Apr 17, 2014

I need to sort out 4 columns D,B,A,L in ascending order for 5 different worksheets from range A7 to BW.

The sorting start at row 7. I have created a VBA code but got error.

## Editing Macro To Include Multiple Rows And Include Text Formatting For Leading Zeros

Apr 2, 2014

I need the values that are copied from the template to copy over in text form from the "Data" Tab. Secondly, the master sheet has multiple lines for each vendor. For the area highlighted in red I'd like for it to copy all cells in column C for the vendor and search the vendor by name. Then, move to the next sheet.

## Excel 2013 :: Can Sort List A-Z Then Numbers At Bottom Of List

Jun 5, 2014

Does excel 2013 have a fence way to sort a list of alpha numeric numbers and alphabetize in this order A - Z and then 0 - 9.

Ex) Apple, Greg, Rob, Sand, 123, 126, 1000, 2001

## Sort Error '1004' In 97 Not 2003

Jun 16, 2007

This code works fine in excel 2003 in excel 97 it gives error. Run-time error '1004'
Application-defined or object defined error.

Sub Extract_review()
With Sheets("Review")
. Range("C2") = InputBox("Scan ID Card")
.Range("A2") = ">=" & Date - 1
.Range("B2") = "<=" & Date

End With
CriteriaRange:=Sheets("Review").Range("A1:H2"), CopyToRange:=Sheets("Review").Range("A5:H5"), Unique:=False..................

## Getting Sort Function To Work On Defined Dynamic Range

Dec 13, 2012

Essentially i get a Runtime 5 error on the bold bit of code....

I am trying to define a range .... by using thexlUp function find the last row ( which works ) i then pass this variable into the sort code and get the error its probably very simple to fix, all it does i sort columnA but finds the last cell .... instead of the whole column,,,,

Sub Macro7()
'
' Macro7 Macro
'
' Keyboard Shortcut: Ctrl+e
NumberOfRow = Sheets("Sheet1").Range("A3000").End(xlUp).Row
ActiveWorkbook.Worksheets("Sheet1").Sort.SortFields.Clear
SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal

[Code] .......

## Sort On Column, But Not Include Any Rows With An X In Other Column

Jan 10, 2010

I believe that the best way to evaluate this request is to look at the example. I have 2 buttons to demonstrate what I need, along with written instructions.

eMailSampleTest.xls