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


ADVERTISEMENT

Compare The Time Values

Dec 7, 2009

Excel seems to be miscalculating some formulas and I was hoping someone might have seen this before:

I'm attempting to do math on two cells and return the result in a third cell

Jx = time typed manually
AAx = time that is the result of a lookup function from data in a different worksheet
ABx = the result

Here is the formula that I am putting in ABx: =IF(ISERROR(AA39-J39),"",IF(AA39>=J39,(HOUR(AA39-J39)*60+MINUTE(AA39-J39)),-(HOUR(J39-AA39)*60+MINUTE(J39-AA39))))

J39 contains the time 18:31
and AA39 contains the time 18:30.

When the formula evaluates, the error #NUM is returned. Here are the calculation steps:

IF(FALSE,#N/A,IF(TRUE,HOUR(-.00069444444431)*60........)))

What is happening is excel is evaluating the If(AA39>=J39) as true, even when J39 contains 18:31 and AA39 contains 18:30.

View 6 Replies View Related

Compare Two Worksheets (including Formulas) And Highlight Different Cells

Oct 17, 2012

I want to design a macro that will compare the student's completed worksheet to the model answer worksheet. This will allow the class to work at different paces depending on ability.

For each exercise, the two sheets should look identical; and so, I would like the macro to highlight any different cells in the student sheet in a colour. I would also like cells with identical values, but different formulas to be highlighted - this is why I could not use the solution posted in : "Compare two worksheets and highlight the one sheet's difference from the other one".

View 1 Replies View Related

Compare 2 Sheets By Row With Multiple Values

Jun 8, 2008

I have attached an example to better explain. I have 2 sheets that I need to compare. The main comparison is the Account #. So You take the account number on the inputted info sheet and look for it on the invoice sheet. This is what it needs to do:

If account is on user inputted but not invoice the information gets put on the results sheet. If the account is in both compare the code values columns F:Q. The main issue I'm having here is that the value aren't always in the same spot. for example you could have "5C" for code 2 and "5J" for code 3 on the user inputted sheet but on the invoice sheet "5J" could be code 2 and "5C" could be code 3, with the quantities in their respective places. When placing information on the results sheet the job info should come off the user inputted sheet.

View 2 Replies View Related

Compare Values Based On Multiple Reference Values?

Sep 25, 2013

In sheet1, I have the borrowers and outstanding per employee. In the Area Avg sheet, I have the average borrowers and outstanding in each area as this is the standard for comparison (I got this through the subtotal function).

Now what I have to do is in sheet1, format(change the color) each cell under borrowers which is greater than the average of the relevant area. Since, (in my actual data) the name of the area may be duplicate in different regions, the reference value (average borrowers of the area) from "Area Avg" sheet has to be traced through multiple criteria which are: Division, Region and Area. The same also has to be done for outstanding but the solution can be provided for borrowers only.

View 1 Replies View Related

Lookup Multiple Values And Then Compare To Get Specific Result?

Mar 29, 2014

I have below table and want to get new order quantity if the closing stock of a particular product is less than or equal to the ROL after viewing that a previous order of the same product has not been placed within the lead time of that particular product even the closing stock is less than ROL.

Product
Date
New Order

[Code]....

- 1st it match the product with the relevant one
- Then compare closing stock parameter
- Then finally look up the previous order and compare it with relevant lead time

View 9 Replies View Related

Compare Values In Multiple Columns And Return A Result

Mar 17, 2009

I have a spreadsheet with three years worth of data for a property I manage. Each column has cost data for the year and the specific department/cost for that year as the row value.

I have a column between the years that calculates the percent of gross revenue for the specific department/cost.

I would like to find (or create) a formula that will compare the percentage (or specific cost) for the three years within the specific row and if the increase year over year over year exceeds a trigger value it returns something (check me out/true/false) whatever.

The cost items for the property are in the hundreds so I'm trying to come up with a way to quickly see what specific cost items are going up (or down) more rapidly then what would be considered normal.

View 7 Replies View Related

IF Function To Compare Specific Time To Time In Cell

Nov 19, 2008

I am looking for a formula to change a condition based on the time of day. Essentially, before 1pm I would like the formula to be:

=((I12/100)*25)/D12

After 1pm I would like the formula to be

=((I12/100)*25)/B12

I tried various ways with "=if(now()> ..." formulas to no avail because of the way Excel handles Now().

View 6 Replies View Related

Continually Compare Time In Cell With Current Time

Jul 24, 2007

I need a way to compare the time of the computer with the one in the cell and bring up a message box if the time matches.
Yet i don't want it to be a one time makro. What i want is to be able to work with the worksheet and that at the same time i want a paralel function to check whether the time in the cell matches. Something like agenda in Outlook.

View 4 Replies View Related

How To Compare Time Using VBA

Aug 12, 2014

The following code gives me error message. There is problem in Format function. How can I write using VBA that "Scantime is less than 08:00"

[Code].......

View 3 Replies View Related

Compare Now() To A Time

Mar 30, 2007

I want to compare Now() to a time, such as 10:00 AM, and use the formula in conditional formatting... and am having some trouble determining how to do it.

My latest attempt is

=IF(NOW() > TIMEVALUE("10:00 AM"),"t","f")

which returns "t" no matter what time I insert.

View 5 Replies View Related

Compare Time Series

Aug 21, 2007

I've got two time series (growth rates: what was the forecast for any particular year and what was actual growth rate for that year). I need to compare them to flag those most different. Actually I want to check the accuracy of the forecast. What would be the best function to do it?

View 5 Replies View Related

Compare, Truncate, Compare Again, Write (VBA)

Mar 10, 2009

I have two ranges of numbers stored as text on two different sheets.
The first one is from product code and the second is from product category.
The problem is both ranges are of different lengths and I have to find out if a product from the right is part of a particular product category. Even if the length is different the first digits are indicative of the belonging of a code. For example 1234 and 12345 are “family”-their first 4 digits match.
Just to give you an example of what is desired:

Category____ Code
2200 ________22002
2323________ 232347

So, the loop should do the following:Compare the first string from the “Category” column to each and every entry on the right, if a match exists (we have no match here for 2200) write “ok” next to it.
Next trim one digit from the right from every string in the “Code” column.
Compare same first string from the “Category” column to each trimmed string from “Code” column (here we should have a match 2200=2200)
Write “ok” next to it
Now the loop goes to the second string from “Category” column and for this one we will have to trim 2 digits from the right of each string in “Code” column to achieve the result (2323=2323) and so on.

View 9 Replies View Related

Compare Date And Time In Two Cells?

Mar 12, 2014

I get a downloaded report from one of my application. Two columns have date and time data. I need to compare these two columns (subtract) and come up with a value in another column next to it to do some analysis on an ongoing basis.

So I know how to compare date and time in two cells but the problem I have is second set of date / time have other text mixed with it and there is some character that Find/Replace can not find (it looks like the "pipe" | character) and I can't replace or delete that character. Additionally when I click on that cell (B1 in attachment) I don't see this pipe character in the top formula section (fx) but I do see this character in the cell itself.

how I can either get rid of this character or extract just the date / time information from cell B1 to be able to compare cell A1 easily?

View 8 Replies View Related

Compare Range Of Times Against Set Time

Jan 7, 2008

I am trying to get rid of some duff data by running a comparison to a fixed value on a defined range. However, the macro tries to compare the cell value (00:05:00) as a decimal value.

I think I need to use the format function to get round this.

For Each timecheckcell In range("g3:g60")
timecheckcell.Value = Format(MyTime, "h:m:s")
If timecheckcell.Value <> "00:05:00" Then timecheckcell.Offset(0, 1) = ""
Next

View 9 Replies View Related

Compare Within Time Ranges And Return Output?

Jul 18, 2013

for example i have two work books where i need to compare the times, such as i need to see where does 10:26 am lies and after comparing it on workbook2 we need to return the data in a,b,c blocks infornt of 10:26am, i have tried IF(AND()) but i was not able to rationalise it for huge and random data.

Workbook1:
7/13/2013 10:26
7/13/2013 10:58
7/13/2013 12:06
7/13/2013 12:17
7/13/2013 12:29
7/13/2013 12:29
7/13/2013 12:37
7/13/2013 13:21
7/13/2013 14:24

Workbook2:
9:58:27abcassigned
11:45:09abcreleased
11:49:00ghiassigned
15:14:40ghireleased
15:25:57mnoassigned

Outout should be:
7/13/2013 10:26 a bc
7/13/2013 10:58 a bc
7/13/2013 12:06g hi
7/13/2013 12:17g hi
7/13/2013 12:29g hi
7/13/2013 12:29g h i
7/13/2013 12:37ghi
7/13/2013 13:21ghi
7/13/2013 14:24ghi

View 2 Replies View Related

Time Range Formula - Compare Data From Cell A To B

Jun 27, 2014

I have two Date range in different cell and I want them two return "TRUE" value even if the start time or end time of another is earlier or later by 1-2 hours:

Example: I want to Compare Data from Cell A to B. Values should return True as it is within 1-2 hour range.

A1
B1
C1

10:00-20:00
08:00-17:00
12:15-21:15
13:45-22:45

View 4 Replies View Related

Compare The Current Time I Enter To Alter Another Cell

Oct 5, 2008

in my spread sheet i am trying to use the if function to compare the current time ( vb code used) to a time i enter to alter another cell.

for example

if A1(current updating time) = A2 ( time i choose) then
B1( some value ) = B2( another value)

the point of this equation is to have B2 update its value from B1 every day so today B2= 3 and B1 =4 then tomorrow B2 would = 4 etc , i just dont know how to do it.

View 9 Replies View Related

Compare List Of Values In Order To Find The Common Values

Feb 11, 2013

compare some list of values in order to fiind the common values.

View 1 Replies View Related

Compare Cell Value With Range Of Values And Match Row Values With Header

Jun 5, 2012

I have .csv file from which the data is importing to master schedule. i have a column in .csv file which is spitted into multiple columns. and my need is i have to compare this each individual cell value with the range of header values in master schedule and if match found i have to place that cell in the row.

I am adding 2 attachments one is .csv and other is master schedule.

I couldn't able to find where i have to attach my files.

View 2 Replies View Related

Web Query: Compare Columns & Date Time Stamp Differences

Oct 10, 2007

I have two identical web query's on the same sheet. One from column A to column I and the other one from column K to column S, and both have 404 rows. The one on the left (from column A to I) autorefreshes every 60 minutes and the one on the right (from column K to S) autorefreshes every 4 minutes. I want to subtract the numbers in column Q from column G and the ones in column R from column H, and in both cases if the result is bigger than 0 to place a timestamp in column Y(for Q-G), and in column Z (for R-H). I tried with NOW formula, but the timestamp changed every time the web query from the right autorefreshed, no matter of the result. I guess that I have to use VBA codes...but I'm not good at that .

View 9 Replies View Related

How To Compare Values With Dictionary

Nov 9, 2012

I have data in three columns A, B and C. In column A I have values like:

A
1. AOL
2. BA
3. HDP

and now if cell A1 has value AOL then in cell B1 only possible values are:
DD or DP or MP or MR or RE or TP or TT

if cell B1 has value DP then in cell C1 only possible values are:
KO or MA or RS or SA or SE or UM

if cell B1 has value MR then in cell C1 only possible values are:
KO or MA or RS or SA

View 6 Replies View Related

Using VLOOKUP To Compare Two Values

Jun 23, 2013

I'm trying to compare two quantities on two different sheets. I've used VLOOKUP in the past on other sheets. This time round I cannot understand how to us it on this query when the data is contained and mixed in one cell.

Here goes explaining..
Sheet1, shows we have stock of Mini Speakers in blue, the 'Main SKU', 'Size' and 'Current Stock'
'Current Stock' is the cell we are trying to compare

Sheet1.PNG

Sheet2 shows the 'SKU', 'Name' and 'Option1'. Option1 contains the values I'm trying to compare... sku":"X-MiniB-S","value":"S","quantity":"1"

Sheet2.jpg

Basically, I need to check that 'Current Stock' matches the value in 'Options1' and return a value if they do not match.

View 9 Replies View Related

Compare Values And Copy?

Mar 19, 2014

I have 2 tables on different sheets:

Table 1:

A1 B1
Product id | Contract

12 | aaa
13 | bbb
14 | ccc
15 | ddd
21 | eee
22 | fff
... |

Table 2:

A1 | B1
Product id | Contract
|
21 |
15 |
22 |
13 |
... |

I want to put the contract value on the product id correspondent on the table 2. How can i do this?

View 13 Replies View Related

Compare Values In A Range?

Aug 3, 2009

Using VBA, I want to import data from a text file into a worksheet, but only import a row of text if the three-letter code matches one I have in a named range. The data looks similar to this:

ALF,D,06/01/2009,0.96,0.97,0.96,0.97,1007,0
ALK,D,06/01/2009,0.34,0.36,0.34,0.345,4375,0
ALL,D,06/01/2009,3.7,3.8,3.68,3.75,12381,0
ALR,D,06/01/2009,1.155,1.18,1.155,1.17,388,0
ALS,D,06/01/2009,3.39,3.39,3.23,3.31,2642,0
ALT,D,06/01/2009,0.031,0.031,0.031,0.031,3460,0
ALY,D,06/01/2009,0.1,0.105,0.1,0.105,460,0
etc...

and the named range similar to this:

AAC
AAF
AAM
AAR
AAX
ABB
ABC
ABP
ABQ
etc....

I know how to open and import the data, it's just making the comparisons that I'm having trouble with at the moment .

View 4 Replies View Related

Compare Matching Values

Nov 21, 2008

A formula that would compare any value in column 1 to any value in column 2 to see if they are a match for each other. If a match is detected it would be indicated in column 3:

A1B1C1
1221445343
3342111454
4534312214
1145433421
1144511456

View 7 Replies View Related

VBA Compare 2 Cell Values

Mar 14, 2013

I have a spreadsheet and everyday it would change in length.

But I would like a macro that compares the value of each cell in column B against the value in corresponding cell in column D then moves to the next roll - so eg B2 against D2,B3 against D3......B50 against D50 until all rows are compared.

And when it finds a different makes the background colours go red !

I have a bit of a code but I think I need to loop to compare all populated cells !

View 4 Replies View Related

Compare Values Between Two Columns?

Jun 16, 2014

If our work for the intersection of two columns A, B supposed to be output 1, 2 and 3 Required to find the remainder of the A and show it automatically in column C The remainder of the B reveled in column D

Note: columns A,B repeat accepting of figures

To explain the result of the remaining column A is 1, 1, 5

LIST1
LIST2
RESULT

1
1
1

1
2
1

[code]....

View 9 Replies View Related

Compare Values From Two Different Sheets

Sep 28, 2007

If the record exists in both sheets then compare the value in col. H for both records, if the value is different then copy the entire record to a third sheet.

There are 16,000 rows of data to do comparisons.
I have been thinking about a Vlookup method as one choice, my thought is this going to be slow.
I have read about vba having some comparison choices, vbbinary, vbtext, but I do not have any knowledge of this, so cannot intelligently choose what options to begin w/.

View 9 Replies View Related

Compare A Value To The Values In A Range ()

Dec 5, 2007

i have a range of values and want to compare the value of a single cell to all those in the range, returning TRUE if a the value matches any value in the range.

View 5 Replies View Related







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