Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KemS
 
Posts: n/a
Default Value of last non-blank cell in a column

Frank,

I found your solution when I had the same problem of needing the formula to
only select the last non-blank entry. I am curious however in the "OFFSET"
solution which did not work for me (probably because I entered it
incorrectly, since the VLOOKUP did, thanks). The COUNTA(A:A) reference is
likely for the range in question, but what does the $A$1 refer to?

Thanks,
Kem

"Frank Kabel" wrote:

Hi
if you have no blank lines in between use:
=OFFSET($A$1,COUNTA(A:A)-1,0)

If you could have blank rows in between try:
=LOOKUP(2,1/(A1:A1000<""),A1:A1000)

-----Original Message-----
Hi,
I have a spreadsheet that has 52 rows in a particular

column, one row
for each week of the year. As the year progresses the

column fills up
with data but in the 53rd row of that column I want see

the value of
the last cell in that column that is not blank. Can

anyone assist
please?
Many thanks
ArtySin
.


  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

A1 is the first cell offset will start from, so what it basically says is
start at A1, count how many cells are not emty in column A, offset with
that number - 1, so if A1:A8 has contents, offset will retrun what's in cell
A9 -1 which is A8

Unfortunately Frank Kabel is not with us anymore, he passed away in an
accident in early January this year

--

Regards,

Peo Sjoblom

"KemS" wrote in message
...
Frank,

I found your solution when I had the same problem of needing the formula

to
only select the last non-blank entry. I am curious however in the

"OFFSET"
solution which did not work for me (probably because I entered it
incorrectly, since the VLOOKUP did, thanks). The COUNTA(A:A) reference is
likely for the range in question, but what does the $A$1 refer to?

Thanks,
Kem

"Frank Kabel" wrote:

Hi
if you have no blank lines in between use:
=OFFSET($A$1,COUNTA(A:A)-1,0)

If you could have blank rows in between try:
=LOOKUP(2,1/(A1:A1000<""),A1:A1000)

-----Original Message-----
Hi,
I have a spreadsheet that has 52 rows in a particular

column, one row
for each week of the year. As the year progresses the

column fills up
with data but in the 53rd row of that column I want see

the value of
the last cell in that column that is not blank. Can

anyone assist
please?
Many thanks
ArtySin
.




  #3   Report Post  
KemS
 
Posts: n/a
Default

Peo,
I am very sorry to hear about Frank. Thank you for letting me know.
Could I impose upon you further regarding this thread? Normally I can parse
out a formula I find in the groups and figure them out. But the formula
=LOOKUP(2,1/(A1:A1000<""),A1:A1000)
has me puzzled. The syntax from MS didn't even help.
But the mystery is the 1/(A1:A1000)<"". I sought a formula that would
always return the last non-blank cell in a series of OLAP date entries (week
1,2.... This formula works and returns the last entry (after modifying the
vector to match the table). So now I am just seeking to understand why it
works? Also, why 2 as a value since the value being looked up isn't in fact
two, but any value in the last cell? Sorry about the long question. My
curiousity is getting the best of me.

Best regards,
Kem


"Peo Sjoblom" wrote:

A1 is the first cell offset will start from, so what it basically says is
start at A1, count how many cells are not emty in column A, offset with
that number - 1, so if A1:A8 has contents, offset will retrun what's in cell
A9 -1 which is A8

Unfortunately Frank Kabel is not with us anymore, he passed away in an
accident in early January this year

--

Regards,

Peo Sjoblom

"KemS" wrote in message
...
Frank,

I found your solution when I had the same problem of needing the formula

to
only select the last non-blank entry. I am curious however in the

"OFFSET"
solution which did not work for me (probably because I entered it
incorrectly, since the VLOOKUP did, thanks). The COUNTA(A:A) reference is
likely for the range in question, but what does the $A$1 refer to?

Thanks,
Kem

"Frank Kabel" wrote:

Hi
if you have no blank lines in between use:
=OFFSET($A$1,COUNTA(A:A)-1,0)

If you could have blank rows in between try:
=LOOKUP(2,1/(A1:A1000<""),A1:A1000)

-----Original Message-----
Hi,
I have a spreadsheet that has 52 rows in a particular
column, one row
for each week of the year. As the year progresses the
column fills up
with data but in the 53rd row of that column I want see
the value of
the last cell in that column that is not blank. Can
anyone assist
please?
Many thanks
ArtySin
.





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
Format cell in column B based on value in the next cell (column c) Nicole Excel Discussion (Misc queries) 7 May 18th 05 11:19 PM
how can i fill blank cells in column with abc while the right col. khurram saddique Excel Discussion (Misc queries) 2 February 12th 05 04:25 PM
COPY A CONCATENATE CELL TO BLANK CELL PUTTING IN THE NEXT BLANK C. QUEST41067 Excel Discussion (Misc queries) 1 January 15th 05 10:29 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 08:16 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 10:57 PM


All times are GMT +1. The time now is 05:43 AM.

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"