Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How to reference last non-blank cell value from a column cells?

I have a column that contains consequtive cells of real numbers followed by
blank cells. The number of cells with real numbers can change but there are
never blank cells mixed in - only blank cells after them. I want to
reference the last real number (last non-blank cell) in a predetermined cell.
For example: Cells AR19:AR31 will contain the real and blank cells. I
want to copy the last non-blank cell from range AR19:AR31 into cell AR 35.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default How to reference last non-blank cell value from a column cells?

=LOOKUP(2,1/(AR19:AR310),AR19:AR31)

--
Gary''s Student - gsnu200851


"Hal J" wrote:

I have a column that contains consequtive cells of real numbers followed by
blank cells. The number of cells with real numbers can change but there are
never blank cells mixed in - only blank cells after them. I want to
reference the last real number (last non-blank cell) in a predetermined cell.
For example: Cells AR19:AR31 will contain the real and blank cells. I
want to copy the last non-blank cell from range AR19:AR31 into cell AR 35.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to reference last non-blank cell value from a column cells?

I have a column that contains consequtive
cells of real numbers
there are never blank cells mixed in


One way:

=INDEX(AR19:AR31,COUNT(AR19:AR31))

Another way:

=LOOKUP(1E100,AR19:AR31)

--
Biff
Microsoft Excel MVP


"Hal J" <Hal wrote in message
...
I have a column that contains consequtive cells of real numbers followed by
blank cells. The number of cells with real numbers can change but there
are
never blank cells mixed in - only blank cells after them. I want to
reference the last real number (last non-blank cell) in a predetermined
cell.
For example: Cells AR19:AR31 will contain the real and blank cells. I
want to copy the last non-blank cell from range AR19:AR31 into cell AR 35.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to return a blank formula cell if the reference is blank? waybomb Excel Worksheet Functions 2 January 22nd 09 05:53 PM
returning blank when reference cell is blank mslylan2u Excel Worksheet Functions 4 June 6th 08 09:09 PM
Reference blank cells in formula cycles Excel Discussion (Misc queries) 7 June 28th 07 07:25 PM
how to get excel to display blank if reference cell blank silent1(not) Excel Worksheet Functions 1 December 2nd 05 02:49 PM
COUNT NON-BLANK CELLS WITH REFERENCE TO ANOTHER COLUMN carricka Excel Worksheet Functions 1 May 6th 05 04:50 PM


All times are GMT +1. The time now is 05:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"