Instances That Occur In A Sequence

Mar 14, 2008

I have a problem, I have a formula which counts the number of instances that occur and assigns the value as 1 for every instance, however I want the formual to also recognise that if a number of instances occur in succession a value of 1 should also be assigned.

E.g. if a person is absent for 1 day the formula assigns a value of 1
if a person is off for 3 days in succession the formula assigns a value of 1

View 13 Replies


ADVERTISEMENT

Count If 3 Instances Occur

Aug 19, 2012

In a cell i need this info when

column a = month
column o = staff member
column m = discount given

if no discount is given column m will show 100%

i need the total of all sales made with a discount i.e not 100% and not blank, in a certain month, by a certain member of staff

step 2: i need the average of all these for each member of staff shown in a different cell

i already have the total sales counted per staff member so this will show me who is doing deals and who is doing the biggest deals.

View 4 Replies View Related

Excel 2003 :: How To Count Cells With Instances Text Not Instances Of Text

Aug 17, 2012

I'm using WinXP with Excel 2003 - I have a column of highway sign description data (16k+ rows).

Example:

Curve Arrow Right
Curve Arrow Left
Turn Arrow
Reversing Curve Arrow Right
Winding Road Arrow(plus many more unique entries)

I'm using SUM and COUNTIF to total the number of times "Curve", "Reversing", "Turn" and "Winding" appear in the column.

My formula is:
Code: =SUM(COUNTIF($F11:$F16196,{"*CURVE*","*REVERSING*","*TURN*","*WINDING*"}))

Which works great EXCEPT what I really want is the number of cells with any of those key words, not the total count of those words. The example above should be 5, but since row four contains more that 1 of the key words I'm getting 6.

View 4 Replies View Related

Months That Occur Between Two Dates

Jan 13, 2010

I would like a formula (if it is possible) that will list which months occur between two dates;

i.e
Start Date (Cell ref A2) = 01/01/2010 (in the dd/mm/yyy format)
End Date (A3) = 02/05/2010

In cells D2:O2 I have the months Jan-Dec. In cells D3:O3 I would like a "Yes" to appear if the above month occurs between the dates in A2 & A3. In this example would like a "Yes" to appear in cells D3, E3, F3, G3 & H3 but not in the other 'Months' appropriate cells.

View 2 Replies View Related

Vlookup Where Duplicates Occur

Sep 19, 2007

i need to delete rows from sheet2 which contains source data for Vlookup on sheet1.

that is i need to run a vlookup for a value in sheet1 and after the value is obtained , delete the row which has that value in the source data......

i am sure a simple for loop will help but it needs to do the events in sequence:
vlookup for row1> fetch / place value (sheet1) > delete data in the source table (worksheet2) > go back to row2 and repeat till the the last.. or till the end of a predefined range..

View 9 Replies View Related

Count When Values Occur In Different Arrays

Feb 26, 2009

My difficulty is this. I have 2 columns, A and B. A contains only 0's and 1's. B contains any number from 1 to 100. I want to count all the instances of any given number in Col B that are matched with a 1 in the corresponding cell in Col A.

View 6 Replies View Related

How To Add Values Based On Date They Occur

Mar 15, 2014

I'm trying to create a master template for doing cash flow projections for a number of years. Ideally I would like have a cell for the number of years I want (10 for example) and have excel populate a group of cells based on that number. Each row of cells would be one year and each column would be one month. The dates would be calculated based on a starting date that I enter into a cell.

After that I would like to have a cell for starting cash flows ($1,000 for example) and then another cell that I can plug increases into. For example cash flows may increase to $1,250. I would also need a cell for the date cash flow increases go into effect (1/2019 for example).

View 1 Replies View Related

Determining When Multiple Values Occur At The Same Time?

Aug 4, 2014

I am a behavior specialist and I have created a spreadsheet to determine what possible antecedents trigger certain behaviors. In other words, I want to know what occurs, like being around an unfamiliar person, right before a person engages in an "acting out behavior" like becoming verbally or physically aggressive. In my spreadsheet I have a number of possible antecedents with a number of possible behaviors. It is tracked by the date that the behavior occurred.

View 6 Replies View Related

Use HYPERLINK Function When Two Different Types Of Links Can Occur.

Jul 24, 2009

Basically my sheet links may appear as a cell in another tab or it might be to an http address... Here is my formula I have setup up right now.. Only problem is, no matter what I put into the logical test to get a "true" result for the http addresses it still says false..

View 2 Replies View Related

Counting How Many Times 2 Variables Occur In 2 Different Columns

Nov 20, 2013

I have a spreadsheet with over 15 columns showing drivers (names numbers etc) and their duties with more inf.

What I need is to be able to find when a certain type of driver in column A (drivers belong to different rutes) say from route A is at rest (this is shown as RD) which is shown in column B and then be able to count how many times those two exact events occur.

View 1 Replies View Related

Determining If Certain Number Of Blanks Occur In Succession At Any Point In A Row

Jan 14, 2013

I am trying to determine whether or not 26 blanks occur in succession in a row. Two example rows of data are listed below, where "_" refers to a blank cell:

2 _ _ 3 _ _ _ _ _ _ _ 4 5 6 3 4 _ _ _ _ _ 4
_ _ _ _ _ _ 7 8 13 2 3 _ _ _ _4 5 6 11 10 2

Hopefully you can picture the data from above. Anyway, there are multiple locations where a string of blanks occur. I'm looking for a formula that can test as to whether or not a certain number of blanks occur in succession during any part of the row.

View 10 Replies View Related

Count The Number Of Times Two Events Occur Simultaneously

Oct 27, 2008

I am sure that most of you will probable know what i am doing wrong here straight away so rather than me waste another 1/2 hr stuffing around. I am trying to find count the number of times two events occur simultaneously.

=SUMPRODUCT(--('5. Financial'!AX4:AX134=A5)*('5. Financial'!BQ4:BQ134>0<0.1))

The first part is fine I think but in the second part I am trying times only when cell is between zero & 10%.

View 3 Replies View Related

Display Unique Items That Occur More Than X Times In Column?

Jan 25, 2012

I have a long column of 9-digit numbers which represent the swipe-card-ID's of patrons accessing a parking facility. Most of them occur more than once, some of them many times. There is an operational rule that bars them from using the facility more than x times. (I can't implement this limitation in the parking software/hardware, or I would happily do so.)

So my question is, is there a way to process through that column, identifying each unique ID, and reporting any that occur more than x times?

View 1 Replies View Related

Comparing Two Columns On Different Worksheets And Adding Rows Where Matches Occur

Jan 18, 2014

Essentially what I want to automate is a check through one list on the Sheets("Notes") in column A, with another column B on Sheets(template). If there is a match I want to insert a part of the row that the match occurred on Sheet("Notes"), and insert it above the row where the match occurred on Sheets(template).

Here is my code so far, currently I keep getting a "Application-defined or object defined error" on the line

VB:
Sheets("Notes").Range(Cells(i, 2), Cells(i, 11)).Copy
VB:
Sub add_notes(template As String)
Dim Rng As Range
Dim i As Integer

[Code].....

View 5 Replies View Related

Mark Duplicate Referrals Which Occur With 30 / 60 / 90 Days For Same Medical Condition

Feb 26, 2014

Attached is an example of an excel spreadsheet I have which details all the referrals created within my organisation over 2013. I want to be able to create two excel formulas which basically looks at a duplicate tag and then determines if the duplicate referral was created within 30 days of other referrals created for the same patient and then another formula to check to see if the duplicate referral is for the same medical condition. Also if possible I would love a third formula which would say check duplicate, 30 days and same condition and enter a "Yes" in a forth column.Referrals.xls

View 8 Replies View Related

Conditional Divide (probs Occur When I Manually Enters The Exchange Rate)

Sep 25, 2007

The file is a simple sheet which upon entering the actual/Invoice cost (C5), calculates the estimated landing/final cost (C8).

In between the process involves changing the currency from US$ to PKR, make some calculations, and changing back the currency again to US$.

The default rate of currency exchange is set to ave 60 (C12). However if the user knows the current rate he can put it manually in C6 and sheet will make all the calcs on this instead of using the default rate.

Problem:
Everything is working just too perfect. But probs occur when i manually enters the exchange rate.

It does successfully changes the US$ to PKR and calculates everything perfectly but doesnt reverts the final cost back to US$ successfully instead it keeps using the default value instead of user's value

View 7 Replies View Related

Count Number Of Times Specific Intervals Occur Between Relevant Values

May 5, 2008

I will say exactly what i want.

I want to keep statistics of roulette.

More specifically, i want to count how many times a dozen lates to come.

The range from 1-12 is 1st dozen, from 13-24 is the 2nd and 25-36 is the 3rd.

I want to count among these numbers, how many times one of three dozens appear every 1 time, how many times appears every 2 times, .... until 20 times.

For example: I have put in a column 500 numbers from 0 to 36.

The output must be like this:

1st Dozen: Every 1 time: x
Every 2 times: n
Every 20 times: m

The same for 2nd and 3rd dozen.

View 9 Replies View Related

Lookup First Three Instances

Jan 26, 2009

With the following formula, I can lookup all instances of D2 and get the average of all its corresponding values in column A (see attached). But how do I lookup a specified number of instances (say the first three) and get the average for those values in column A? For now, we’ll just have to assume that there are more than three instances of D2 on the worksheet I attached.

=AVERAGE(IF($B$2:$B$26=$D$2, $A$2:$A$26))

Would the numbers need to be in an order by date to lookup just the first three instances?

View 6 Replies View Related

Multiple Instances Of A Name?

Jan 13, 2013

I have a large dataset with a company name in Column A and a Town in Column B, e.g.

ABC Company London
ABC Company London
XYX Company Swindon
STJ Company Bristol
STJ Company Bristol
STJ Company Bristol
DEF Company London
DEF Company London
DEF Company London

and I need to identify every instance where the same town appears for each instance of each individual company and add in Column C incrememnt the town name, so the above should end up looking like this:

ABC Company London London
ABC Company London London-1
XYX Company Swindon Swindon
STJ Company Bristol Bristol
STJ Company Bristol Bristol-1
STJ Company Bristol Bristol-2
DEF Company London London
DEF Company London London-1
DEF Company London London-2

I'm thinking I need to use some sort of lookup, but because of the volume of the instances of each company I have no idea how many instance appear in the data set. How could I go about achieving this and incrementing the town names in Column C automatically for each instance?

View 6 Replies View Related

Return 2nd And 3rd Instances

Feb 24, 2010

I have text strings containing 3 commas at all times (see below for example). All instances of the commas are names at either end of the comma (Last, First). My request is how would I be able to retrieve *only* the 2nd and 3rd names (in separate cells) and omitting the rest of the text?

Example:
A1 - Source
2/1/2010 Random - Text - Containing 1LastName, 1FirstName 2LastName, 2FirstName 3LastName, 3FirstName Some Other Text 555555556 1234567890 1 0 0

B1 - Requested
2LastName, 2FirstName

C1 - Requested
3LastName, 3FirstName

View 9 Replies View Related

Get The Right Most After A Character Having Multiple Instances

May 28, 2014

What I want to do today is, I want to get the extension (Type) of a file from the string. I have managed to get formula for that.

PHP Code: 

=IFERROR(RIGHT(C12,LEN(C12)-FIND(".",C12)+1),"") 

But the problem is, if the name of the file also have any dots, it is not giving correct result.

For Eg, if the string is ABCD_V1.0.mpp, I am getting 0.0.mpp not .mpp

NB: The file name may or may not have dots. So cannot tell that, it is always the second instance. Need to find the last dot and trip the things before that

View 11 Replies View Related

How To Count Instances Of A Row Of Several Cells

Dec 13, 2013

Basically, I have a table with rows as person, and variables as features. If a person meets a feature, the that cell writes 'X', now, I hope to create a master variable that capture all the features, basically counting how many features a person has met. For example, Joe has three features; "have balls," "cool guy", "good with ladies". In the cell in question would be "X" "" "X". And if I count, then it should be 2.

View 1 Replies View Related

Match And Report All Instances?

May 9, 2014

I have four columns with data. I need to Correlate columns 1 and 4. eg. Column 1 = All instances of Column 4. I must do this by matching the values of Column 2 to Column 3. There will/can be multiple instances of the same values in all columns.

View 1 Replies View Related

Find Multiple Instances Of A Value

Apr 28, 2009

I have four different sheets with email addresses in an excel file. There are some email addresses which are present in more than one sheet. I wanted to find these email addresses and remove its multiple instances.

I can't use the simplified version of vlookup, as I can't enter each email address to see if there is another instance.

Is there a way where the excel sheet can search within itself for duplicate values and if not delete/at least point them out, so that I can delete them manually?

View 3 Replies View Related

Cannot Paste Between Two Different Instances Of Excel

Jul 2, 2013

I am having trouble pasting between two spreadsheets in different instances of Excel.

I am copying a range of cells and then attempting to paste using ctrl + v/ right-click + paste in a workbook in the other instance of excel. It just selects the area where the cells would be pasted but nothing appears.

The only way I can get it to work is by using the clipboard task pane and clicking paste from there however this isn't a long term option as I need to code this into a macro. I also don't understand why there is a difference between pasting from the clipboard panel and pressing 'ctrl v'.

There are not macros running at the time and pasting into another program e.g. notepad works fine.

View 2 Replies View Related

Search For All Instances Of A String

Jul 11, 2009

I'm using the following code which is working well. It finds an instance of the string "A83". Once it finds it, it moves down x number of cells and populates it with a new string. It then moves down another x number of cells and populates it with another new string, etc.

The problem is, it is only looking for "A83" one time and performing the appropriate actions at that point. What I need to do is look for *every* instance of the string "A83" and perform the appropriate actions.

View 10 Replies View Related

Close Workbooks In Other Instances

Feb 5, 2010

I have one main workbook that, when opened, opens three other workbooks each in its own instance of Excel. I'd like to know how to close all three of these upon closing this main workbook.

View 2 Replies View Related

Vlookup For Same Name, Multiple Instances...

Jan 7, 2005

I want to return the 2nd field for Jim in a single list:

Jim Dell
Jeff HP
Carl Compaq
Jim Toshiba
Carl Sony
Jim Lenovo
Jeff IBM

I want to pull Jim's accounts to another worksheet:

HP
Toshiba
Lenovo

When I use vlookup, it just returns HP and stops. How do I tell it to
return the next instance of Jim?

View 14 Replies View Related

Trying To Count #N/A Error Instances

Apr 14, 2009

I need to count instances in a column where the error #N/A is returned. I thought that the following formula would work, but I'm getting #NAME?:

View 2 Replies View Related

Copy Between Different Instances Of Excel

Feb 10, 2012

I am trying to copy a range from one workbook to another. The complex part is that the the two workbooks are different instances of excel and one of them is hidden.

In the below code inSheet is a worksheet on a work book that is hidden.

Code:
batchSheet.Select
Range("K" & lr).Resize(1, 10).Copy
inSheet.Select
inSheet.Range("O7").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True

A formula like this is working fine. The above gives me an error.

Code:
inSheet.Range("C16") = batchSheet.Range("D" & lr)

View 9 Replies View Related







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