#1
|
|||
|
|||
Lookup to find first non-blank cell
I have spreadsheet with a column (N14:N68) of numbers and blanks.
I want to use the last value in the column. =LOOKUP(2,1/(N14:N68<>""),N14:N68) This returns a blank answer. I have attached a spreadsheet example with this post. Thanks!! Mike |
#2
|
|||
|
|||
Try this...
=INDEX(N:N,MATCH(9.99999999999999E+307,N:N)) |
#3
|
|||
|
|||
Lookup to find first non-blank cell
Jeffery - OK that works - but why???
I did find that the column is really not blank cells - it has spaces. The formula for column N is =IF(B14=" "," ",D14+E14+H14) which is inserting a space. What is the 9.99999999999999E+307 doing? Why 307? Thanks for your help! Mike |
#5
|
|||
|
|||
Hi Mike,
If you are going to cross post, please leave a link to all the places where you have posted the same question. https://www.mrexcel.com/forum/excel-...lank-cell.html Please read: https://www.excelguru.ca/content.php?184 |
#6
|
|||
|
|||
Solved!
Thanks for the help link.
And also for the cross-posting tips. Mike |
#7
|
|||
|
|||
@mactoolsix
I know you have got a solution already but would just mention that you could also have made a small change to your own formula like this: =LOOKUP(2,1/ISNUMBER(N14:N68),N14:N68) |
#8
|
|||
|
|||
Thanks - much simplier
|
#9
|
||||
|
||||
Hi and welcome
Please,do not crosspost your question on multiple forums without including links here to the other threads on other forums. Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post. Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site). Do not post any further responses in this thread until a link has been provided to these cross posts.
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lookup and replace cell values | rgauss | Excel | 3 | 10-03-2016 04:01 PM |
LOOKUP - Complex lookup with 2 lookups in 1 cell | sglandon | Excel | 6 | 05-05-2016 09:44 AM |
Formulato say if cell is blank do this, if not blank do this. | mbesspiata | Excel | 1 | 01-17-2015 05:02 AM |
Place 0 in blank cell | mbesspiata | Excel | 5 | 06-20-2014 07:00 PM |
won't show blank cell | bhum | Excel | 2 | 01-28-2014 02:34 AM |