Home |
Search |
Today's Posts |
#1
|
|||
|
|||
HELP: Last row of the column containing blank cells between non-blank cells
How can I get the Last row of the column containing blank cells between
non-blank cells. Example: the data in a column is 1 (blank cell) 2 3 4 5 How can I get last row of this column? Thanks in advance for your replies. |
#2
|
|||
|
|||
For data from A1:A10
------------------------- If you want the row number of the last data item: =SUMPRODUCT(MAX((A1:A10<"")*ROW(A1:A10))) If you want the value of the last data item (and your data starts at A1: =OFFSET(A4,SUMPRODUCT(MAX((A4:A10<"")*ROW(A4:A10) ))-1,0) For data from A4:A10 ------------------------- If you want the value of the last data item (and your data starts at a row other than A1: =OFFSET(A4,SUMPRODUCT(MAX((A4:A10<"")*ROW(A4:A10) ))-ROW(A4),0) Does that give you something to work with? -- Regards, Ron "Space Ape" wrote: How can I get the Last row of the column containing blank cells between non-blank cells. Example: the data in a column is 1 (blank cell) 2 3 4 5 How can I get last row of this column? Thanks in advance for your replies. |
#3
|
|||
|
|||
Space Ape wrote:
How can I get the Last row of the column containing blank cells between non-blank cells. Example: the data in a column is 1 (blank cell) 2 3 4 5 How can I get last row of this column? Thanks in advance for your replies. The native row number wtr the last numeric value: =MATCH(9.99999999999999E+307,A:A) if the column of interest is A. To fetch the last numeric value itself: =LOOKUP(9.99999999999999E+307,A:A) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy one cell to entire column | Excel Discussion (Misc queries) | |||
blank cell turns to 0 | New Users to Excel | |||
How do I reference every "n" cell in a column in Excel? | Excel Worksheet Functions | |||
Go to first blank cell | Excel Worksheet Functions | |||
In MS Excel, how do I fill in a column with the same cell from se. | Excel Worksheet Functions |