Excel 2003 :: How To Detect Pattern In Sheet

Aug 25, 2013

We have a huge excel-sheet, containing disputes with customers. Everytime there is a dispute, the customers data will be transferred into the sheet. The sheet is organized like this:

DATE / NAME / ID / COMMENT / FREQUENCY (how often one customer appears in the list) /ID2 (ID combination of the date + ID) /Weekday

And here comes the task:

Find all customers who appear 10 work-days(Mo-Fr) in a row. So if a customer appears Mo-Fr and keeps on being in the list the next Monday etc. it still counts as "in a row". Same with official holidays. If a customer appears at a certain date he is "booked" and it doesnt matter if a appears a second time on that specific date.

Attached to this post you find an example in which you can see the structure of my excel sheet!

example.xls

Note: I had to use a german version of excel when I made this little example - thats why the formula in the collum "Frequency" says "Zahlenwenn" its the german version of COUNTIF

Excel 2003

View 7 Replies


ADVERTISEMENT

Excel 2003 :: Automatically Detect 30-Day Readmission?

Dec 24, 2013

I'm designing a workbook to track psychiatric patient data. The workbook has identical worksheets for each month of the year (Jan, Feb, Mar, etc.), plus an Admin sheet for overhead. I need to devise a formula that will automatically detect 30-day readmissions (i.e., patients being admitted to the hospital within 30 days of a prior admission) and return a "Y" for a readmit and an "N" for a discharge or first-time admission. I have tried several variations on SUMPRODUCT with multiple conditions spanning multiple sheets (using INDIRECT and a monthly worksheet index -- A1:A12 -- on the Admin worksheet), but the results always turn out...wonky. (Sometimes a correct value is returned, and sometimes not. I can't figure out what is causing this inconsistency.) The relevant ranges from the monthly worksheets are:

B3:B52 : Date of evaluation
H3:H52 : Unique patient ID number
Y3:Y52 : Patient disposition (i.e., admitted or discharged)
AC3:AC52 : Readmission status (i.e., yes or no)

The formula should only return a "Y" value if a) the patient was previously admitted within 30 days of the evaluation date, and b) the patient was also admitted on the evaluation date.

I am using Excel 2003, so SUMIFS is not available.

View 9 Replies View Related

Excel 2003 :: Conditional Format - Highlight Cell In Sheet 2 If Duplicated From Sheet 1

Mar 25, 2014

I have two Sheets, first is Service Data, the second is Log Sheet. In the Service Data sheet I have a column of serial numbers in column A. I also have a column of serial numbers in the Log Sheet, column A.

I'm looking for a conditional format whereas I enter numbers into column A on the Log sheet it will auto highlight the cell if I duplicate a serial number from row A in the Service Data sheet. I would like it to highlight the Duplicated number on the Log sheet. I know new versions of excel make it easier to do this but unfortunately I have Excel 2003.

View 3 Replies View Related

Excel 2003 :: Selecting Only Certain Items From One Sheet To Another?

Mar 26, 2012

Using Excel 2003

We have a spreadsheet set up showing a list of sales invoices, each invoice has the customer name and a customer reference assigned to it i.e B1, B2 etc

We want to set up another sheet that takes the sales invoice information but only picks up that which relates to a specific customer, i.e want a list of the invoices relating to B1

This will be done with a view to creating statements for each individual customer reference number which will just take info from these sheets B1,B2 etc

View 1 Replies View Related

Excel 2003 :: Log Sheet - Creating Invoices

Apr 20, 2014

I am using Win XP Pro, Excel 2003. In the workbook, I have a invoice spread sheet (lets call it sheet1) to create invoices. Once the invoice is completed, I save it with this macro which saves it to the contents of E3 and E7 for the file name:'

Sub SaveMeExtraQUOTE()
Application.DisplayAlerts = False
' Dialog's Title
strTitle = ""My Tite""
If MsgBox("WARNING !! STOP! Enter ALL your quotes information to be saved BEFORE saving the file!!!

[Code] .......

This is working just fine BUT it keeps saving it to a template file where the master template is kept. Why will it NOT save it to the QUOTES folder when I am using this:

Filename:="C:EXCELATX Concrete DesignQUOTES"

I am also trying to have a space between the contents of cell E3 and E7 when the file name is saved. Now it just puts them together.

View 2 Replies View Related

Excel 2003 :: Formula To Pull Data From One Sheet To Another?

Jan 16, 2014

I have Excel 2003

My spreadsheet has multiple lines of data for multiple items (have a specific item #) and I need to be able to enter an item # on a different sheet so that the requested information can be pulled from the data source. The items have information on multiple rows. I need to have all of the rows pulled into my output file when I specify the specific item. #.

I have attached a spreadsheet showing the type of data is contained and what my desired output would look like.

View 1 Replies View Related

Excel 2003 :: Identify All Sheets Related To One Sheet

Oct 13, 2011

I have been given an excel model to review;the workbook has 53 sheets. I would like to know if there is a way to create a flowchart/matrix with the relation of all the sheets. I would like at least to get a list of all the sheets related to each sheet. All what I was able to do is to get all the sheet names in one sheet. (I am using Excel 2003).

View 2 Replies View Related

Excel 2003 :: Finding First Empty Cell In The Sheet?

Nov 8, 2011

I have two work sheets where I have data.

Sheet1 contain daily input table which as follows:
Name salaryBonusXX10002XY9001YY11002ZY15003ZZ12502AA10502AZ9501

Sheet2 have table where all the information is saved. So we can say this is database of sheet1. Which store every day information of sheet 1.

SALARY DATABASEMonth Name Salary Bonus

Problem:

I want that when I finished writing on the sheet 1(which i do manually) then with macro it go the sheet 2 and find first empty cell in the name column and past the all the data of sheet1 table. Months I will put manually. I am working on MS2003.

View 9 Replies View Related

Excel 2003 :: Error When Pasting To Protected Sheet?

Feb 7, 2013

Excel 2003
Windows Vista

I keep getting this error: (at the line highlighted in green)

Runtime error '1004'
PasteSpecial method of range class failed
**** Open workbooks to transfer temporary data

[Code]....

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

Fill Handle Pattern (not Finding My Pattern)

Jan 31, 2007

Pre-requisite: I would consider myself to be very poor with excel, based on what I've read on this forum and found on my web-searches. I have a worksheet that has a list of data on the left going vertically, then a summary of this data going horizontally across the top. It is not arranged in such a way that transposing the data will do what I want. I am pulling the 5th word out of the title of each block of the vertical data and need to show this word on the horizontal section.

When I use this formula to pull the 5th word: =MID(MID(MID(SUBSTITUTE(A2," ","^",4),1,256), FIND("^",SUBSTITUTE(A2," ","^",4)),256),2,FIND(" ",MID(MID(SUBSTITUTE(A2," ","^",4),1,256),FIND("^",SUBSTITUTE(A2," ","^",4)),256))-2)

I need to increase A2 to A30, then A58 (up by 28 every time) in every instance in that formula. The fill handle increases the values by 1, instead of 28 (even if I do 3 or 4 instances manually) How do I do this? I've run into this problem in other scenarios, and there HAS to be a way to get around it.

View 5 Replies View Related

Excel 2003 :: Information From 6 Different Worksheets Populating One Master Sheet?

Oct 23, 2013

(EXCEL 2003)I have 6 worksheets for 6 separate ad reps that will be populated with customer info. To make my life simple I just want column A from each of the 6 worksheets to show up on a master sheet in column A. But what also needs to happen is if we add and delete customers that also needs to happen on the master. I understand the "=" and then pointing to a cell in another sheet and hitting enter. I got that to work but I just have soooo many cells to work with that would just be way too time consuming.

View 2 Replies View Related

Excel 2003 :: Extracting Sub Sheet Of Data From Larger Schedule

Dec 31, 2013

I have sheet containing a schedule of data. It is a record of changes on a project, each change is sequentially numbered and contains a row of data (date of change, whether approved, cost of change etc). Each change is given a cost centre reference (1 of 10 cost centres are being used) depending on the type of change being made.

I need to keep that record of the overall schedule of changes but I also want to extract each of the cost centre categories into a sub table on the sheet to give a schedule of changes against each category.

I have almost achieved what I want but one method leaves blanks in the sub table which I want to avoid and the other method I used to remove the blank lines but needs the first method sheet calculated before it then goes to work and seems rather cumbersome and I suspect there is a much easier method. (I also want it to be compatible with excel 2003 so it can be used across several platforms.)

View 7 Replies View Related

Excel 2003 :: Unprotected Cell Won't Allow Input On Protected Sheet

May 19, 2010

Using excel 2003, Workbook has several sheets, all sheets are protected workbook is not. I have my cells containing formulas locked, I have unlocked the other cells that require input of various data. When the user goes to type in a "unlocked" cell, (to over write the now obsolete data) it will not allow the user to delete the data, the curser remains a cross and the formula bar or the cell itself will now allow any changes.

I have double checked that the cells are unlocked. I can enter data after the last entry in the unlocked row and or column, but I want to be able to "cut or delete the data that is no longer need and begin entering data from the beginning cell of choice. I want to copy this "old" data to an archive sheet, but it will now allow me to select it.

Example: I have 6 columns starting, (a to f) the formulas are in columns e and f and start at row 4 These columns are locked and hidden. Columns a,b,c and d are unlocked for user input. All data is started from A5 which I want it to start from each time the old data is deleted and new data entered. If I place my curser on any of the cells in the e and f rows, the cursor remains a cross which is what I expect it to do, but columns a to d are doing the same thing, they are acting as if they are locked OR atleast those cells in the a to d areas which have existing data, as I can enter below.

View 7 Replies View Related

Excel 2003 :: Deselect Grid Lines To Get Clear Sheet

Jul 15, 2012

How do i deselect grid-lines in Excel 2003 so as the sheet is clear.

View 6 Replies View Related

Excel 2003 :: Renaming Textboxes Based On Their Position In Sheet?

Jun 14, 2013

I have an excel file (2003 version) with one sheet called sheet1.

On sheet1 I have multiple text boxes, however each text box has the same text box number "Text Box 1244" (this number appears in the top left-hand side in excel when I click the textbox).

I was wondering if it's possible to rename the text boxes based on their location on the sheet.

Eg. If i had a sheet with 5 rows of text boxes and 3 columns of text boxes (15 text boxes in total).

The top left-hand box gets renamed to "Text Box 1", then the text box below that gets renamed to "Text Box 2" and so on to the bottom of the sheet to "Text Box 5". Then the vba script would move to the text box that was to the right of the first text box (1st row again but 2nd column), and rename all the text boxes in that column ("Text Box 6" onward).

The outcome would look something like:
TB1 TB6 TB11
TB2 TB7 TB12
TB3 TB8 TB13
TB4 TB9 TB14
TB5 TB10 TB15

I'm stuck on this problem a while now and cannot find any scripts to solve it. My VBA is non-existent, I usually get by on bits of code I find on the web.

I hope each textbox has a hidden co-ordinate associated with it, then it might be possible to loop through all the textboxes based on their positions and rename them.

View 3 Replies View Related

Excel 2003 :: Find Last Value In Column And Copy Paste Cells To Another Sheet?

Dec 19, 2011

I need to find the last instance of "IO" in column E and copy cells in columns B to E for the row below to another tab called "OP" cell O9.

I need the VBA code for Excel 2003.

View 1 Replies View Related

Excel 2003 :: Extract Information From Spreadsheet Database Into Another Sheet With One Trigger?

Nov 27, 2012

I used to use Excel many many years ago for all my basic business databases and pivot table reports (so was at a basic competency level) and want to use it again but it has been quite a while and I can't remember how to do the following.....

I want to build a database of sales and purchase info in say 'sheet 1' - let's say 30 different headed columns and then many lines of different information under each column.

In 'sheet 2' I want to create an invoice template of my own design (I can do easily) for printing.

This template will need to extract say 10 bits of information from a particular row and then put them in a certain place on this sheet.

How can I type in one piece of information in a cell on sheet 2 (say the invoice or line number of the database) and that will then trigger all the other needed information from that particular line in sheet one onto this template?

I know it can be done but for life of me can not remember the formulas to use for these other cells in sheet 2 based on the info put in that one 'trigger' cell

View 4 Replies View Related

How To SUM From Different Sheet Based On Text Pattern

Jul 14, 2014

I have a formula such as below..

=SUMIF('MBX TO DBS'!$G$1:$G$818,"*livedb01*")

This will sum the values in G1-G818 that contain livedb01 on the "MBX TO DBS" sheet, however this is not exactly what I want.. I want the SUM function to look for the livedb01 string in G1-G818 and SUM the values in D1-D818.

So instead it would look for livedb01 text in G column and take the value from D and SUM those once the text qualifier was found in G column..

Is this possible with Excel?

View 2 Replies View Related

Repeating Pattern In Excel?

Jul 15, 2014

I'm trying to repeat a pattern which outputs 4 equal numbers and then increments that number by 1 for another four row as follows

1
1
1
1
2
2
2
2
and so on

how to do this?

View 9 Replies View Related

Excel 2003 :: Time Card / Sheet For Semi-monthly Pay Period With Overtime Calculation

Nov 19, 2012

I'm working on a dynamic payroll spreadsheet that will automatically calculate the overtime worked in a week. Right now, I'm running into a snag. My issue is with the formula in Column R. Right now, as shown below, it is doing the calculation based on regular hours minus 40 to determine the OT time. The snag is very messy and it lay in this: while the row by row calculations for total overtime worked for the week is correct, the sum at the bottom is very much off. I need an accurate method to sum the hours of overtime for the given column.

Here are the guidelines for the pay periods and overtime:

1. The pay periods for the month go from the 1st to the 15th and the 16th to EOM (End of Month). This means that the pay period could end on any given day of the week. More on this in a moment.

2. A work week is defined as Sunday to Saturday.

3. Overtime is calculated based on the rule of anything over 40 hours in a given work week.

4. Holiday hours worked do not count towards the 40 hour mark in granting overtime since Holiday pay is automatically overtime.

If it were just a matter of a bi-weekly (every 2 weeks) pay period, I would simply state =IF(weekday(DATE)=7,Hours_Worked - 40,0), and tag a SUM(range) at the bottom. Unfortunately, with it being a semi-monthly (twice a month), the end of the pay period could be a Wednesday, so a reference to day of the week won't work unless the formula can dynamically determine which set of data to evaluate.

I'm completely willing to toss out the current method of determining overtime. This is the calculations sheet that references a cleanly formatted and designed time card on a tab called "Time Card", so this isn't the full workbook. In fact, once the whole thing is done, this calculation sheet will be hidden.

Columns M and N (which are formula referenced in Column P) are basic End - Start calculations and were hidden to simplify the display as well as the number of formulas displayed.

Column L (formula referenced) is a Yes/No display for if the date in question is holiday pay.

Excel 2003
H
I
O
P
Q
R
S

1
Start Work
Time Out
Day Count

[code].....

View 3 Replies View Related

Select The Names In Column 3 Of Rp1 And Printout In The Same Or A New Sheet Every Row Containing This Name From The Pattern Spreadsheet

Jun 11, 2006

I have two sheets,one called pattern of about 25000 rows and one called rp1,
which is a fresh sheet downloaded each night from the web. What I want to do is select the names in column 3 of rp1 and printout in the same or a new sheet every row containing this name from the pattern spreadsheet.So for every horse named in col c,I want its complete record,could be 1 row or maybe up to 20 rows output,from the pattern worksheet(for each). They will all be underneath each other. I simply want excel to extract all the data belong to these names in rp 1 from the pattern large sheet. The names are in col r of the pattern sheet.

View 3 Replies View Related

Excel 2007 :: Repeat Same Code Pattern For Each Section

Jan 27, 2014

I have a macro that does exactly what I need it to do, but it takes a long time.

There are 4 horizontal sections. The top section (code not included) is the total of 3 sections which are segregated by location.

For the 3 sections:

rows 101 to 172 (section 1), 198 to 269 (section 2), & 295 to 366 (section 3) have the same formula for every other column starting with column F ending with column AT (sums hrs)

rows 173 to 194 (section 1), 270 to 269 (section 2), 367 to 388 (section 3) have the same formula for every other column starting with column G ending with column AU (sums dollar amount)

the columns are corresponding dates

Below is the code snippet that produces the results for section 1. I repeat the same code pattern for each section.

Dim r As Long
For r = 101 To 172
With LaborDetail.Cells(r, "F")
.FormulaR1C1 = "=SUMIFS('Data '!C17,'Data '!C38,RC1,'Data '!C37,R1C)"
.Value = .Value

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

View 6 Replies View Related

Excel VBA - Returning String Found In Regex Pattern

Jun 18, 2014

I have a string and a pattern. If a substring of the string is found in the pattern, the string is no longer valid. I would like to return a message stating which substring was found in the pattern.

String: K22+L09+P88+Q12+J56
Pattern: (N75|X02|A21|U67|L09|...)
Output Should Be: "J56 is an invalid code. Blah-Blah"

Code to test string against pattern:

Code:
Function Test_OPC(sCode, sPattern) As Boolean
Dim RegX As Object
Dim RegMC

[Code]....

View 2 Replies View Related

Disabling Auto Format Detect Option Of Excel?

Mar 8, 2013

When i enter a value in an excel sheet cell ,Excel auto detect the data type and format that cell to that data type.

For example if i enter 4/4001, excel read it as date and convert the cell format from general to date and displays 4-Aprl.

However if i precede with " ' " this problem is solved but my question ios that can i permanently disable this auto detect option?

View 4 Replies View Related

Excel 2007 :: How To Detect Macro Security Level

Jul 24, 2014

is it possible through vba code to determine the macro security level of Excel 2007 and inform the user. I tried the code below , it is executed when the workbook is opened, but it doesn't work.The code below is executed only when the macro security level is "Low". My goal is at least to inform , with a msgbox function, to change manually the security level.

Code:

Dim secAutomation As MsoAutomationSecurity
Dim zLevel
As String
secAutomation = Application.AutomationSecurity
Select Case secAutomation

[Code]....

View 1 Replies View Related

Excel 2003 :: Copy Hyperlink From Excel To Outlook?

Apr 19, 2010

I have an Excel 2003 file that contains hyperlinks to OneNote notebooks on a Sharepoint site. An Excel macro looks for these links and determines the full hyperlink address which is then assigned to a variable. An Outlook message is generated which includes the hyperlinks.

The hyperlinks work in the Excel file. I can also copy them from OneNote and manually paste them into an Outlook message and they work. However, when I obtain their full address and transfer that to the email through code, the links do not work. The hyperlink address from OneNote starts with "onenote:http" which is not recognized as a link.

If I can do this manually, there must be a way to do this with vba. Are there characters I need to include in the OneNote hyperlink address to make this work? Is there another way to transfer the working link from Excel to Outlook?

View 3 Replies View Related

Adjust Macro From Excel 2003 To Excel 2010?

Apr 1, 2014

I am trying to adjust the below macro so that it will work in Excel 2010.

Sub OpenAndProcess()
Dim fs As FileSearch
Dim I As Integer

[Code]....

View 3 Replies View Related

How To Create New Sheet Using VBA In 2003

Aug 22, 2008

how i create a new worksheet using VBA in Excel 2003

View 9 Replies View Related

Take My Sheet (using Office 2003) And Paste It In Outlook

Aug 3, 2007

a macro that will take my excel sheet (using office 2003) and then pasted it in outlook.

Also I need cell A1 and cell B1 pasted in the subject line.

View 9 Replies View Related







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