Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Formula to display last entry in a column populated with #N/As

I am looking for a formula that will return the last number entered into a
column. That column is part of a spreadsheet into which I enter daily
nutrition values. This particular column has my weight, which I enter
every 5 or 6 days. This weight column is initially filled in with =NA() so
that the information can be displayed on a graph without showing a value of
0 on days that I do not have an entry.

Short of duplicating another colunm,I need a formula which lets me leave
the =NA() entries while returning the last entered numerical value. My
column looks like this:


#N/A
#N/A
#N/A
198
#N/A
#N/A
#N/A
196
#N/A
#N/A
#N/A


The formula I seek would return a value of 196.

Anything I've tried comes up with #N/A, which is obviously looking at the
last #N/A. I have to find a way to have the #N/As ingnored.


TIA
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Formula to display last entry in a column populated with #N/As

"T. Duprex" <tduprexATlandmark.net wrote in
:

I forgot to show you the latest formula I am working with is:


=OFFSET(B8,MAX(IF(NOT(ISBLANK(B8:B190)),ROW(B8:B19 0),0))-ROW(B8),0)





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Formula to display last entry in a column populated with #N/As

=LOOKUP(10^10,B:B)

10^10 is just a number that is certainly greater than the possible max value
in column B.

Regards,
Stefi

€˛T. Duprex€¯ ezt Ć*rta:

"T. Duprex" <tduprexATlandmark.net wrote in
:

I forgot to show you the latest formula I am working with is:


=OFFSET(B8,MAX(IF(NOT(ISBLANK(B8:B190)),ROW(B8:B19 0),0))-ROW(B8),0)






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Formula to display last entry in a column populated with #N/As

?B?U3RlZmk=?= wrote in
:

=LOOKUP(10^10,B:B)


Thank you Stefi;

Simple, elegant and does the trick.
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Formula to display last entry in a column populated with #N/As

You are welcome! Thanks for the feedback!
Stefi

€˛T. Duprex€¯ ezt Ć*rta:

?B?U3RlZmk=?= wrote in
:

=LOOKUP(10^10,B:B)


Thank you Stefi;

Simple, elegant and does the trick.

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
Last populated cell in a column RedFive Excel Discussion (Misc queries) 1 October 3rd 08 09:01 PM
Last populated cell in a column RedFive Excel Discussion (Misc queries) 7 October 3rd 08 08:58 PM
LookUp to Display Last Value Populated a in Range sony654 Excel Worksheet Functions 13 May 11th 08 05:46 AM
Referencing last populated cell in a column flint Excel Worksheet Functions 2 April 28th 07 09:21 AM
A SIMPLER FORMULA TO GET A REFERENCE OF WHICH COLUMN IS POPULATED Ravi Excel Worksheet Functions 7 July 15th 05 10:34 AM


All times are GMT +1. The time now is 06:03 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"