View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default How do I choose the last nonblank cell in a ROW?

Something like this array* formula will work.

=OFFSET(A2,0,MIN(IF(ISBLANK(2:2),COLUMN(2:2)))-2)

*Confirm formula using Ctrl+Shift+Enter, not just Enter.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"DaChris" wrote:

I have a row of sales data by month. I need to create a link in a seperate
worksheet to access the last data in the row. The link must differenate
between 0 as data and a blank cell as no data.