Return Last Positive Number In Column

Aug 21, 2007

I have a column with zeros, positive numbers, and negative numbers. I need to find the last (bottom) positive number in the column.

Ex:

Column A has -

$50
$0
-$10
$22
$0
-$14

I want a formula or function in B1 that would return $22. However if I add a new row under the -$14 which contains $37, the formula should then return $37.

I have been googling all night, and I can't make this work.

View 8 Replies


ADVERTISEMENT

Return Column Header Of Last Positive Value In Range

Oct 21, 2009

I've got numerical data in columns A through AF, starting in row 4. I need a formula, starting in AG4 that I can drag down. I need the formula to look back across the row until it gets to the last posistive number, then return the column header of that column (the column headers are in row 3)

so for example

Header row

Jan Feb Mar Apr May Jun Jul Aug

Data

0 3 0 0 8 0 0 0

the formula would return May in this example as 8 is the las positive value and the column header for that column is 8. There are no blank cells in the data.

View 9 Replies View Related

Carrying Over Negative Number To Next Column As Positive Number?

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

Make Column Show Result Of Formula As Positive Number Only?

Dec 14, 2013

I am trying to make a column show the result of a formula as positive number only. Right now the column subtracts two other cells and displays the result. I am trying to make it show all the results, positive or negative as positive.

View 3 Replies View Related

Average Column With Positive Or Negative Number - Ignoring Zero And Blanks

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

Return Column Header Based On Column Criteria And Number Value

Feb 7, 2014

I have the following sample data set and I'm trying to return the appropriate column header based on criteria (i.e. DDD) and a number value which will be somewhere within the range of the table. In example below, the value returned should be Header 2 because the value is greater than those in Header 1 column (range H9 to L26).

Here's data table:

CriteriaHeader 1Header 2Header 3Header 4
ZZZ5.0015.0050.00130.00
ZZ5.0015.0050.00130.00
Z5.0015.0050.00130.00
YYY5.0015.0050.00130.00
YY5.0015.0050.00130.00
Y5.0015.0050.00130.00
DDD5.0015.0050.00130.00
DD5.0015.0025.0075.00
D5.0015.0020.0065.00
RRR5.0015.0015.0045.00
RR2.5010.0010.0030.00
R1.503.0010.0025.00
UUU0.751.505.0020.00
UU0.751.505.0020.00
U0.751.505.0020.00
P0.751.505.0020.00
T0.100.105.0018.00

CriteriaNumberValue
DDD10.00Header 1>>>=INDEX($I$9:$L$9,MATCH(I29,INDEX($I$10:$L$26,MATCH(H29,$H$10:$H$26),)))

View 3 Replies View Related

Return The Column Number Of First Column In A User Inputted Range?

Feb 19, 2009

I'm creating a macro that creates a co-ocurrence matrix from variables that are adjacent to each other.

In order to proceed, I need to know how to return the column number of the first (leftmost) column in a range that the user selects.

View 2 Replies View Related

Search From Every Row Of Column In A Column And Return Row Number

Sep 3, 2008

how to find text from a row in column, where is a lot of text and return row number, of located text?

View 15 Replies View Related

Return Column Letters From Column Number

Jun 1, 2008

I know the column number (57) and want the formula to return the column name (BE) Auto Merged Post Until 24 Hrs Passes;not using vba that is! or if so , a custom function so macros dont have to be run.

View 3 Replies View Related

Excel 2010 :: Return Positive Or Negative Value Farthest From Zero Based On Criteria From Another Range

Mar 11, 2014

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?

PRB
Y
Z
A90B90
A90B-90

[Code].....

View 3 Replies View Related

Column() To Return A Letter Instead Of A Number

Feb 14, 2006

Can column() return a letter instead of a number? I am planning to use it with INDIRECT? Is that possible?

=INDIRECT(row() & column())?

View 14 Replies View Related

Return Column Number Not Letter

Sep 4, 2006

How to return column number (not letter)?

View 5 Replies View Related

Return Column Number Of Cell

Dec 18, 2007

I have a Range variable that points to a particular cell. If I wanted the address, I would do, cellName.Address. This returns, for example, "$F$3". If I wanted to have the column "F" as a number (column F would be the 6th column, so 6), how could I do that without storing some kind of array of letters and number equivilants. It would also have to work past the 26th column when the column addresses switch to, like, "AA", "AB" etc.

View 3 Replies View Related

Return Column Number Of Heading

Jun 9, 2008

I have range like (3E:3K) in this range are only 2 different expressions. "Result and " forecast". I wanna look from left to right for the first cell with the string "forecast".
And than I want to work with the column of this cell, only this column.

How do i do that?

Edited
I corrected the coordinates. I want to look in a specific column line (Nr.3) from there the first Cell with "Forecast" and from that String the row number.

They following 4 posts were based on wrong informations by me.

View 8 Replies View Related

Keeping A Number Positive.

Sep 22, 2008

In a basic formula, I need to take one number from another. But I need to keep the answer to zero, not a negative number.

View 2 Replies View Related

Returning Positive Number Regardless

Jun 12, 2009

i have a list of numbers in column A and B and in column C is = B - A. But what i want is for Column C to always = positive number regardless even if say A = 10 and B = 8 the true answer is -2 but i would like the reading of 2. Is there a way to say B - A and if = - make it -( ) ? (otherwords +)

View 2 Replies View Related

Only Positive Number Value Allowed.

Jul 23, 2009

i want should be done as a function or VBa. I would like to have A Column so that only postive numbers can be entered. Disallowing 0 and below from being entered into cells.

View 2 Replies View Related

Sum The First 12 Columns After The First Positive Number

Jun 1, 2009

I need a formula that will look at a row (say row 1) starting in column F. When the first positive value appears in the row, the formula will then sum that value and the next 11 columns in the same row. So for example, starting in row 1 column F - here is an example list of values

0 0 0 0 3 4 3 2 0 4 8 7 9 0 9 0 6 4 2 2 0 8 7
The total would be 49 (start summing at the first 3 (which would be column J)and finish with the 0 (which would be column U))

Lets assume the formula is in column AZ, row 1 and I then need to drag it down

View 9 Replies View Related

Display Positive Number With A +

Feb 19, 2007

I want to know how to display a "+" (plus sign) in front of postive numbers in my workbook.

View 3 Replies View Related

Find The Largest Number And Then Return The Name From A Different Column

Jan 15, 2007

I'm using the LOOKUP function to find the largest number and then return the name from a different column, it looks like this:

=LOOKUP(LARGE(round1!$F$2:$F$65,1),round1!$A$2:$A$65)

but all I get is hashN/A?

View 14 Replies View Related

Return Number Of Item In A Column (Counts)

Jun 10, 2013

I am trying to see if there is a way using count or another option, of using one formula to look in a column and then spit out how many of each item are there:

i.e: lets say it says a, b, c, d etc...

Can a formula go through and say you have 3 of a, 5 of b and so on

I understand the basic of count sum iserror etc, just not sure if excel can do what I am wanting or if i should use access.

View 2 Replies View Related

Return Column Number That Maxes Two Criteria

Sep 6, 2008

I have the following two rows that I'm looking to return a single column number that maxes two criteria. In the example, 70, 30 would return column 7. I'm not looking to create a dummy row the combines the two. Reason for using MATCH or HLOOKUP is that the two values may not be the values in the given table.

View 9 Replies View Related

Return Column Number Of Maximum Value From A Table

Jan 2, 2010

I have a got a table ( 10x30) with random numerical values.

How can I return a column number with maximum value?

Values will be changed periodically so the maximum number could be in different column each time

Example:
A-B-C-D-E-F-G
1-2-3-4-5-6-7
2-6-8-18-1-1-8
2-5-6-9-12-1-7

The results will be 4.

View 9 Replies View Related

Convert Negative Number To Positive?

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

Total All Negative And All Positive Number

Apr 3, 2014

Here it is i needed to get the total of all negative and positive value.

View 2 Replies View Related

Using Multiple IF Functions (value To Be A Positive Number)

May 9, 2009

I am trying to somehow use multiple IF functions. I was able to use one IF function to disply '--' in a cell if a particular formula = 0. However I ran into a problem when negative values were displayed. I wanted the value to be a positive number. I thought I could use another IF function to multiply the formulas contents by -1 if it were <0, but I keep getting a #VALUE error in my cells. Is there a way I can have multiple conditions?

View 2 Replies View Related

Transferring A Number (positive To Negative)

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

Find Average When Only One Positive Number Is Available

Jun 29, 2006

I am trying to find a formula that works out the average of the figures in column K.....my problem is that so far in column K there is only one positive number (11)- the rest of the cells are DIV/0 so the average is showing as DIV/0. This is incorrect as the average is really 11 - how can I sort this out with a formula?

View 9 Replies View Related

Number Of Consecutive Positive Numbers

Jan 13, 2007

to create with the default excel functions the following calculator. I need to calculate the maximum number of positive numbers which happen in a row and the maximum number of consecutive negative numbers. For example in the following list of numbers there are a maximum of 7 consecutive positive and a maximum of 6 consecutive negative numbers:

6 000
6 360
6 742
7 146
7 196
7 628
8 086
-4 071
7 898
-4 186
8 121
8 608
-4 562

to make a formula which will calculate the maximum length of positive and negative numbers in a row? I attached this table to the post.

View 9 Replies View Related

Look Up In Column A Of "AS" Once It Find That Number I Need It To Return The Number Thats In Column E Of That Row To Sheet "IS"column D

Nov 20, 2008

i have 2 sheets one called "IS" and the other called "AS" in cell a2 of "IS" is a number that i need to have excel look up in column a of "AS" once it find that number i need it to return the number thats in column e of that row to sheet "IS"column d. summary: a2 of "IS" looked up on sheet "AS" and returns the number in column e to cell d2 of "IS"

View 3 Replies View Related







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