Selecting First Negative Number In Row And Returning Associated Column Value?
Feb 10, 2014
I have row of dates and underneath those dates I have a row of numbers. The numbers count down. For example:
[Code] .....
At the end of the row I want a cell to return the date that the row first started going negative at. In this example, it should display 10/31/2014 (for when it went to -60).
View 5 Replies
ADVERTISEMENT
Aug 21, 2014
I go negative in one column I want it to show up in the next column as a positive number because when I add my income and subtract my bills and the negative from last month to get the what cash I'll have left it screws up because negative subtract a negative is a positive. So how do i get the sum of say B9 to from -$5.00 to +$5.00 into C4 so when i subtract C4 From my income it wont add to it.
View 1 Replies
View Related
Dec 5, 2011
I have a column of numbers that are derived with a formula. I need to Average only the ones that either have a Positive or Negative number, ignoring blanks or zero.
I have tried Search but couldn't find anything that address both blank and zero.
Sheet2
K610.00%624.76%632.53%6418.75%65666.38%6768-4.00%6970-5.84%710.86%
Excel tables to the web : [URL] .......
With this small sample, the answer should be 3.35% according to Excel when I choose just those neg and pos cells.
View 9 Replies
View Related
Jul 23, 2008
Is there a way to select only negative #'s on a spreadsheet? I wasn't able to do it with "go to" ctrl-g.
View 9 Replies
View Related
Aug 9, 2009
the Times work fine 22:00pm to 5:30am or 6:00am to 5:30am
Formulas
J4
=IF(ISNUMBER(D4),(D4>E4)*MEDIAN(0,E4-N$4,O$4-N$4)+MAX(0,MIN(O$4,E4+(D4>E4))-MAX(N$4,D4))-F4-L4,0)
K4
=IF(ISNUMBER(D4),MAX(0,MOD(E4-D4,1)-J4-L4-M4-I4-F4),0)
L4
=IF(ISNUMBER(D4),IF(MOD(E4-D4,1)-F4>P$4,(MOD(D4+P$4,1)>E4)*MEDIAN(0,E4-N$4,O$4-N$4)+MAX(0,MIN(O$4,E4+(MOD(D4+P$4,1)>E4))-MAX(N$4,MOD(D4+P$4,1))),0),0)
M4
=IF(ISNUMBER(D4),MAX(MOD(E4-D4,1)-F4-I4-L4-P$4,0),0)
but if I try 22:00pm to 6:00am or later
The following is displayed
Negative Time in J4 and the wrong result in K4
this is not what I need
It should be showing the following
J4 2:00 K4 5:00 L4 00:00 M4 00:00
View 9 Replies
View Related
Jul 16, 2014
I am looking to write a formula that will return the row or column number of the cell that contains a particular text within the string. I know it can be done with script, but need it as a formula. Also, to add another level of difficulty, I'd like it to be a traditional formula, no special keystroke to activate. It will be used within a much larger formula.Ex. If G5 has the string "CURRENT DATE" in it, and I look for "DATE", the formula would return 7 for the column or 5 for the row.
View 4 Replies
View Related
Nov 8, 2011
I am trying to setup a macro to automate goal seek to calculate the required payment to meet a 12% IRR Lookback at the end of a 10 year period. The problem I am running into is that in multiple scenarios the required return is reached without any excess payment at the 10 year mark so it is returning a negative payment in the goal seek cell. In other words it's adjusting what might be a 13% IRR to a 12% IRR (the minimum return) by showing an expense at the end of the term. I need a way to set it to goalseek with a minimum of 0.
View 3 Replies
View Related
Apr 8, 2014
I have two Columns C and E that have dollar amounts in them. I want to compare each row in those columns and then total the number in column C that are higher that column E.
So basically C6>E6, C7<E7, C8=E8,C9>E9 should return the result of 2. There are two instances where the price in C is higher than the price in E.
View 3 Replies
View Related
Nov 22, 2011
I have the following table of data...
ABCDLetter--100.0%-100.0%-----100.0%----100.0%-100.0%---100.0%---100.0%---100.0%---100.0%--0.7%99.1%0.2%-
I would like to populate the Letter column with A B C or D depending on which contains the highest value.
View 8 Replies
View Related
Mar 10, 2014
Using VBA, I need to Select A1:C14.
The problem is that A1:C14 contains blank cells, and there is also an adjacent column D that I do not want to copy.
So, UsedRegion and CurrentRegion aren't doing it for me. (It selects Column D too.)
Obviously, this is an example...the real data set is an export and varies in size.
View 1 Replies
View Related
Mar 9, 2013
I would like to add to this formula.... if the result of "$L$6-Q15", from below, is 0 or a negative number, then the desired result would be 0 for this formula.
Possibly wrapping IF AND somewhere in this...
=IF((O15+(K16*$L$5))>=$L$6,$L$6-Q15,K16*$L$5)
View 2 Replies
View Related
Aug 15, 2007
This may sound simple, but is not (it might be easy for you hopefully)...... I have a string of numbers and the first few numbers can be either postive, negative or zero....Later on, the numbers all become negative......
I need to find the the cell which contains the first negative number in the consequtive negative numbers.....The difficult part is the numbers before the consequtive negative numbers can be anything......
View 9 Replies
View Related
Jan 2, 2008
is there a way to format a cell that will make the number a negative number regardless of what number I type; whether I type a positive or negative.
What i'm trying to accomplish is enter a number and the number will be negative. I don't want to have to type a negative in front of the number.
View 9 Replies
View Related
Oct 27, 2009
Is there a way to a formula that would show the following? A plus B = C but if A is below 0, stop the value at 0 then add column B:
Columns:
A B C
-2 5 5
1 5 6
0 5 5
View 2 Replies
View Related
Jan 28, 2010
How can I make excel to recongnize this: 123456- as a negative number?
View 7 Replies
View Related
Jun 11, 2014
How would I write an IF statement that would tell me if a number in one cell is more negative than another?
For Example,
Cell L23 has a number of -10mm
Cell M23 has -20mm
How would i write an if statement in another cell saying that if cell 23 goes beyond -20mm "warning".
I keep getting an error saying #NAME?
View 9 Replies
View Related
Jul 6, 2007
How do I create a formula that tells me if a negative number appears in a column.
for example, the following numbers are in cell A1:A5
10
15
-1
12
8
I need a formula in B2 that tells me if A1:A5 contains a negative number.
View 3 Replies
View Related
Mar 13, 2014
Formula for this? If a cell in column T is empty, use column U (but make it negative)??
View 2 Replies
View Related
Nov 12, 2012
I keep getting the correct answer, but it returns it as negative and I need a positive answer.
View 1 Replies
View Related
Apr 3, 2014
Here it is i needed to get the total of all negative and positive value.
View 2 Replies
View Related
Dec 11, 2008
I want to subtract column B from column A and put the result in column C. If the result is a negative I want a formula to turn it to 0.
View 4 Replies
View Related
Apr 7, 2009
I have numbers in range B1 to B100. How do I search for the first negative number (not the smallest negative number) within the range? Then, retrieve the Date indicated along A1 to A100?
View 8 Replies
View Related
Jan 3, 2012
I need formula for if cell value = negative number e.g.(-2202) change cell value to 0
View 5 Replies
View Related
Jun 12, 2007
I have this report that comes as a text file.
It makes negative numbers look like 1245.35-putting the - sign at the end. I need some way to make these negative numbers look like -1245.35. Only these negative numbes need to be re-formatted.
View 9 Replies
View Related
Oct 25, 2007
In one column, I have a formula that will produce a positive or negative number. If the number is negative, I want it to be automatically transfered to the adjacent cell/column. I don't want a positive number transfered though.
View 9 Replies
View Related
Jun 2, 2008
My bank sends me my statement data as: Description, Date, Amount
...where the amount is text as a number followed by either a plus or minus.
Does anybody know how quickly convert the column of data into proper numbers?
I've been playing around with LEN, RIGHT and SEARCH, but not getting very far because I don't know how to extract the text to the left given the numbers vary in the number of digits...
View 9 Replies
View Related
Jun 8, 2009
I currently have the following in a cell:
=BDH(AHD!A3,"px_last","-5cm","-5cm")
This currently displays as -32 pulling this number out of bloomberg.
I now want to write a formulae in this cell that will display this as 32c if it is negative... and 32b if it is positive.
So if the number pulled out is negative I want it to have a c after it (and please have it delete the minus sign) and if positive, then have a b after it.
View 9 Replies
View Related
Aug 2, 2007
I came across this expression going through an Excel VBA code. Can someone plz explain what the argument (-1,1) points to ?
View 9 Replies
View Related
Mar 26, 2009
I am trying to write code that will locate either a 0 or the smallest negative number in a range, eg,
example 1,
8, 6, 2, 0, -0.5, -2
the result would be 0
example 2,
8, 6, 2, -0.5, -2
the result would be -0.5
View 6 Replies
View Related
Jan 18, 2013
I'm trying to come up with a formula to seach through an array backwards, and tell me where the first negative number is located.
Example
A1
1
B1
1
C1
-1
D1
1
[Code] ..........
If you fill out the cells A1:J1 like so, and enter
=MATCH(TRUE,A2:T2
View 1 Replies
View Related