+ Reply to Thread
Results 1 to 9 of 9

Find last cell used in column and show data in that cell

  1. #1
    Registered User
    Join Date
    04-15-2012
    Location
    Louisville, KY
    MS-Off Ver
    Excel 2007
    Posts
    15

    Find last cell used in column and show data in that cell

    Hello!
    I am new to this and need some help. I imagine that this would be an easy fix but just cant figure it out. I have been looking thourgh threads for hours now. Okay so I am creating a workbook for my boss that shows each customers account. I need to find the last cell in column F which I have done in N2 with this formula:

    =ADDRESS(MATCH(1E+30,F:F),COLUMN(F1),)

    However, the result gives me the cell reference : $F$6

    What I need to do is get the data in that cell (F6) so that I can copy & paste special it into a word doc. (invoice to be mailed to cust). But I need the word doc. to show the data in the last cell in coulmn F. Not just whats in there now. I have attached my spreadsheat so that you can see what Im talking about.

    I appreciate any and all help with this matter greatly!

    Thank you! LaurenL
    Attached Files Attached Files

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Find last cell used in column and show data in that cell

    You can use

    =INDEX(F4:F5000,COUNT(F4:F5000))

    if there are no blank cells between occupied cells. Change the 5000 to something larger if you anticipate the range being more than that.

    You could even use

    =INDEX(F:F,COUNT(F:F)+3)
    Last edited by Cutter; 04-15-2012 at 07:04 PM.

  3. #3
    Registered User
    Join Date
    04-15-2012
    Location
    Louisville, KY
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Find last cell used in column and show data in that cell

    Thank you very much for your reply! However, Im not able to get this formula to work if the last cell used in Column F changes. I will add something to this column each month and I would like for the cell copy/pasted to reflect the last used cell.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Find last cell used in column and show data in that cell

    The formula does exactly that.
    Paste the formula you are using in your next reply and describe how it is not working as expected.

  5. #5
    Registered User
    Join Date
    04-15-2012
    Location
    Louisville, KY
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Find last cell used in column and show data in that cell

    Sorry abotu the last post. This did work for me! I will need help on another part of this book but I just haven't gotten there yet! I will marked this solved as soon as I fugre this out. Anything that I an do for you since you solved this for me?

    Thank you very much!

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Find last cell used in column and show data in that cell

    You're very welcome. Glad you got it working.

  7. #7
    Registered User
    Join Date
    04-15-2012
    Location
    Louisville, KY
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Find last cell used in column and show data in that cell

    When applied to an entire column the last cell with 0 in it is te one that shows. Is there any way to show only the last cell with info in it? I need to extract the last cell with data in it to paste special onto the invoice. As of now it shows that cust owes 0 when i apply it to the enitre row. And as my customers would love to get an invoice that says 0 I would not.

    Thanks again!

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Find last cell used in column and show data in that cell

    Perhaps you could do the COUNT() on the B column (dates). So use:

    =INDEX(F:F,COUNT(B:B)+3)

  9. #9
    Registered User
    Join Date
    04-15-2012
    Location
    Louisville, KY
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Find last cell used in column and show data in that cell

    Works great. Thanks again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1