I have an array formula which is working as expected returning the value of column K (offset by -1) if a number of criteria are matched.
[Code].....
The issue I'm having is there are occasionally duplicate values in column W and it's using the first value in its return, which isn't always correct.
Unfortunately due to the limited matches available the only way I can think to identify the correct value is by adding an additional criteria, which is that the correct value would always have a negative in Column X one cell above and to the right of where the value is being retrieved from. If there was no negative it would ignore this result.
Is there any way to add an additional criteria to the formula to stipulate that it must match a negative in column X but one cell above?
All i am trying to do is create a function that will provide me with the minimum invoice value between cells H17:H150 which excludes negative values i.e. refunds ...
I have created the If statement below, in a nutshell its comparing current month performance to last month, stating if it has increased or decreased by last month and how much percentage by
example output would be 'This has decreased by x%"
my problem is when it states the performance has increased , the x% is coming as a negative number (-x%)
If the first 2 columns do not equal 9, the third column needs to display the difference. I tried a normal 'IF' statement, but I'm a little to novice it seems.
I am attempting to add conditional formatting (yellow fill) to cells that are greater than 15% or less than -15%. I've tried the following formula but, it highlights all cells.
In the attached file I have three merged ranges, A3:C3, D3:F3 and G3:I3.
I would now like to create a formula in each cell in row 1 that will return the date in the corresponding cell in row 3. E.g. A1:C1 will each have the date in merged range A3:C3, etc. The merged ranges in row 3 may not all be three columns wide so any way to extract the dates to row 1.
I have 2 ranges named MASTER and SUBSET and 1 range named ANSWER. I want to compare ranges MASTER and SUBSET and copy the difference to ANSWER. The ranges have the same number of columns but different number of rows. Sample data is below.
Ideally, I would like a VBA solution executed from a userform button.
I am trying to write a formula that will return a statement if a certain month is contained in the text within another cell. Formula is =IF(ISERROR(SEARCH("Dec",Assumptions!B2)),"Ensure Journal is Non Reversing","")
Cell B2 contains a date in the format of Dec 08, so if this date contains Dec, then return "Ensure Journal is Non Reversing", if it doesn't then leave the cell blank.
At the moment it is putting in the first test for every month I select and not changing to blank.
I have data starting in E7. I want it to go down the column and find the negative numbers. If it finds one then I want it to change the number in the row to the left of it to a negative. So if E67 is a negative number, make D67 a negative and so forth down the line Sounds "simple" but how do I do it?
i have a sheet which adds up stock = SUM(F6-D6) (told u it was basic) what i want to do is if a negative number is the answer i want the sheet to change it to zero.
I have to work out the time difference between 2 times over a 24 hour period. There is a fixed booked departure time and an actual time of departure, the actual time of departure can be either before or after the booked time. I need the time difference between the times shown as either +/- minutes at present it returns the time in [HH:MM]. I have a simple IF formula to work out - time but when it calculate + time it returns the reverse difference.
I have two columns of values and I want to compare them and return differing values. So I named the ranges "A" and "B" so if your in B but not in A I want that value in C.
I started with a vlookup but that doesn't seem appropriate to the way I was using it.
how can i compare a range, which may contain multiple cells of the same information ie 1s and 0s with a separate cell, if they match, return a message box?
I'm trying to figure out a formula to use that will exclude negative numbers. I have two dates. I'm trying to find the difference between the two dates assuming there is a date in the first column. At times there will be a situation where the date in A1 is before the date in A2 and it returns a negative number. I'd like to return a blank if there is a blank cell in column A and also return a blank if the return number is a negative.
Example:
A1 = 1/15/2013 B1= 1/10/2013 C1(formula) =IF(A1="","",(A1-B1) C1 will then reflect 5 A2 = (cell is blank) B2= 1/18/2013 C2 (formula) =IF(A2="","",(A2-B2) C2 will then reflect a blank cell A3 = 1/5/2013 B3 = 1/15/2013 C3 (formula) =IF(A3="","",(A3-B3) C3 will then reflect -10
I'm trying to figure out a formula that would also allow C3 to reflect a blank cell since the formula returns a negative.
clearcontents is clearing some cells outside of the specified range. Some of the cells in row 10, which is above the beginning row of specified range, are also getting cleared. I've tried several variations to no avail.
I'm trying to use the 'speaking cells' utility. Unfortunately, it seems to require a manual carriage return - I have tried offsetting and I have tried this (below), but to no avail:
Sub speak() Range("A1") = "YES" ActiveCell = vbCr End Sub
I am creating a template in Excel 2010 and am having some issues due to a combination of positive and negative values. Specifically, I have a named range of values that can have either a positive or negative deviation from zero. I need to return the value that has the greatest deviation from zero (either + or -) based on criteria in another named range I have used the following array formula with success for the "Y" range: {=IF(PRB=M1,INDEX(Y,MATCH(MAX(ABS(Y)),ABS(Y),0)),MAX(Y))}
However, if there are not any negative values, as in the "Z" range, it only returns MAX(Z) for the entire range, when I would like ti to return "0.00134" (the largest deviation from zero based on the PRB range criterai. Would this be better accomplished using VBA?
I have created a spreadsheet which creates an average of feedback for trainers in a training company. The form adds up the feedback score into column L of the summary sheet and I have created a summary sheet which I want you use to calculate the average for each trainer.
I have cobbled together an array formula which creates the overallaverage for each trainer based on the named ranges entered via the form.
Each row represents a call. If a call in column A equals "CW" and it has the highest duration (H:MM:SS) value in column B, then provide me the date (MM/DD/YYYY) for that call that is stated in column C.
i.e. Column A --- Column B ---- Column C AB ------------ 0:02:22 ----- 04/14/2007 CW ----------- 0:03:13 ----- 04/16/2007 CW ----------- 0:01:42 ----- 04/13/2007
Thus, the value that should be returned is "04/16/2007".