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


ADVERTISEMENT

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 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 Elapsed Time

Aug 22, 2014

I have a document in which I am trying to determine the length of time between a start date & time and a finish date & time. The format of the time/date cells is

mm/dd/yy hh:mm:ss

Basically, I am just subtracting the first cell from the second. This works fine as long as both dates are in the same day, such as

START FINISH ELAPSED
08/20/14 23:42:22 08/20/14 23:43:59 0:01:37

However, if I have a situation such as

START FINISH
08/18/14 23:00:15 08/19/14 0:03:22

the ELAPSED cell fills with ######## with a tooltip stating that "dates and times that are negative or too large display as ######." The actual result in this example should be 1:03:07.

How do I get consistency amongst my resulting formulas?

View 6 Replies View Related

Determining If Excel Values Equal Access Table Values

Jun 19, 2014

One aspect of my Excel-based project involves comparing the operator-entered part number (in Excel) to a predetermined list of part numbers in one column of an Access database table. Right now, my program is telling me that every part number entered in the spreadsheet (50+) does not match any part number in the database, which I've verified to be incorrect. I've checked that both the spreadsheet part number and the database part number are of the string datatype.

To the best of my knowledge, my looping logic seems valid and robust. To the best of my knowledge, there are no hidden characters in either the database cells or in the spreadsheet cells causing this apparent mismatch. I'm completely stumped at this point as to why my program doesn't detect any matches between the spreadsheet and the database table. Below is the Sub containing the code for checking that the part numbers match:

[Code] ....

This issue seems to be a hybrid issue between Excel and Access with (to me) more of the issue on the Access end.

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

Determining Variable On The Basis Of Given Values

Feb 18, 2010

I'm working on this sheet and I can't figure out how to do it.

I'm trying to determine the variable "selling price" on the basis of given values, buying price, Net profit and Expenses.

View 4 Replies View Related

Determining A Set Value From Multiple Ranges?

Dec 15, 2008

I am trying set up my spreadsheet so that when a number is put into one column. The next column is filled with a number that will correspond to the other number specified from a range of data.

Distance Sheet no.

55

68

93

135

186

So in the sheet No. column I want it to read the number in the Distance and put in the Corresponding sheet number.

So if:

Sheet 1 is : a distance of 1 though 20
Sheet 2 is : a distance of 20 though 40
Sheet 3 is : a distance of 40 though 60
Sheet 4 is : a distance of 60 though 80
Sheet 5 is : a distance of 80 though 100
Sheet 6 is : a distance of 100 though 120
Sheet 7 is : a distance of 120 though 140
Sheet 8 is : a distance of 140 though 160
Sheet 9 is : a distance of 160 though 180
Sheet 10 is : a distance of 180 though 200

How can this be automated without writing a ton of nested if statements.

This is an example but in reality I have 29 "sheets" with different ranges to separate.

View 2 Replies View Related

Determining A Sum Total When There Are Multiple Conditions

Feb 10, 2009

below the following lists (Name, Week, Amount) I am trying to calculate a sum of the Amounts column (Column D) for two conditions: a particular week # (Column C), for a particular color (Column A).

Is there a simple formula to SUM numbers when it is based upon two conditions (color and week #)? For example, there are two separate RED amounts that should be received in Week 4 - how do I write a formula for the cell that correlates RED and WEEK 4 that states "sum the amounts for the Name: Red and Week: Week 4"?

NameWeekAmount
GreenWeek 1 5,000
RedWeek 4 13,000
BlueWeek 1 1,500
GreenWeek 3 3,500
GreenWeek 2 4,200
PurpleWeek 5 1,200
YellowWeek 4 500
GreenWeek 3 25,000
RedWeek 4 13,000
RedWeek 3 12,500
RedWeek 1 10,000
BlueWeek 5 9,000
BlueWeek 3 14,500
YellowWeek 5 3,300
GreenWeek 2 1,000
YellowWeek 4 30,000

Week 1Week 2Week 3Week 4Week 5
Red
Yellow
Green
Blue
Purple
TOTAL

View 9 Replies View Related

Determining If Duplicate Values Exist Across A Row (then Do That Over 2000 Rows)

Jun 19, 2014

I am trying to determine if the value in cell Y2 also exists anywhere in cells AE2:QE2.

My initial stab at it is

[Code] .....

This results in a #VALUE! error (I am pretty sure that's because excel doesn't like the AE2:QE2 part).

I would do a formula-driven conditional format for this, but I have 2000+ rows that need to be acted on, so that's not feasible.

Is there any way to have excel check if the Y2 value exists in AE2...QE2, cell by cell?

View 6 Replies View Related

Excel 2007 :: Determining / Counting Number Of Values Used In SUMIF / SUMPRODUCT Function

Aug 2, 2014

I am using Office/Excel 2007 and Windows 8

I want to determine the number of values SUMIF/SUMPRODUCT functions used/checked to arrive at the answer, i.e. 95 for row 2 and 116 for row 3. A function that can give a 3 and 2 respectively.

Example:

Results for Row #2 gives: 95 with 3 values picked up under "Rate"

Results for Row #3 gives: 116 with 2 values though three places were checked up under "Rate"

How can I count the number of these values referencing at the "Rate" like in the functions used.

I managed to use SUMIF/SUMPRODUCT functions to calculate totals based on "Rate" in row one.

I tried COUNTIF function, but allows only field/heading.

A
B
C
D
E
F
G

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

results for each formula used

95 formula: =SUMIF(B$1:G$1,B$1,B2:G2)

95 formula: =SUMPRODUCT((B$1:G$1=B$1)*(B2:G2))

3 formula: =COUNTIF(B1:G2,B1)

View 9 Replies View Related

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

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

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

How To Compare Multiple Values Including TIME And Compare Rate

Feb 21, 2014

Basically I have two sets of data. One will be new each week. I'd like to use the non-changing data as a base to compare new data to. The formula would need to match multiple values, including a 'time between', and then return whether a minimum rate has been met.

SampleRateExamine.xlsx‎

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

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

Average Values If Associated Time Of Occurrence Falls Within Certain Time Range?

May 2, 2014

Refer to the attachment. I am trying to average the data in the Y column, if the times fall into the range between column R and S. I am having trouble with the averageif function. Is there a better way to parse through column W, check if the values fall between the ranges of S and R, and if they do, average the associated values in column Y?

Attached image: Capture.JPG‎

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

Excel 2013 :: Separate Time From Date To Sort Time Frames Over Multiple Days?

Jun 17, 2014

I have a time column (A) that when looked in the cell only shows AM & PM times, but the cell itself (not showing) contains dates too, keeping me from be able to do a sheet wide sort of time or time frame occurrences.

Can I do some thing to sort these cells with their corresponding rows based on time only disregarding dates?

I am trying sort out all rows that in column (A) is time equal to or greater than 4:00 PM OR even maybe sort all rows that column (A) shows a time between 4:00 PM & 7:00 PM. The date in the cell is the problem, I think. Excel 2013

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

Match Multiple Values With Multiple Values From Another Table - Return Single Value

May 12, 2014

I am trying to look & match key values from 2 areas of one table with two areas of another table; in turn, it'd return one value based on the lookup table...

Attached worksheet : Test booklet.xlsx‎

View 4 Replies View Related

Converting Time Values From One Time Zone To Another?

Sep 3, 2013

* Need a normal date calculation according to selected time zone. * Formula required in [D7], facing problem in Negative TimeValue.

View 7 Replies View Related

Macro For Multiple Lookup Values And Return Multiple Values

May 9, 2013

I have attached sample sheet.

I need to populate the Rep Names looking up 3 Criteria (Client Id,Curr Cov Id,Dom Buy Grp Id) from the Table 1, either one matches the Rep Names has to populate.

The data has to be pasted on WIP_Sheet in different columns.

View 3 Replies View Related

Determining Given Value In Particular Range

May 13, 2014

I've got a formula which makes a word "Order" (column B) meet the closest value of 35.00 (column A)

How to modify the formula so that ''Order" meets the closest value of 35.00 in the range (>=35;<39) throughout the column?

There are about 20 approximate and precise values of 35.00 in the column A which have to be met by "Order".

I've been trying to change the value comparisons and precisity (pecentage) to set up the range from 35.00 till 39.00.

but encountered a problem that "Order'' often meets two closest values of 35 till 39, often one of them is going under 35.00 e.g. 36.50; 34.00.

Consequently how to change/substitute the formula, parameters, value comparisons etc. to meet the requirements!

See the workbook attached. 13_05_det_closest_value.xlsx‎

View 2 Replies View Related







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