+ Reply to Thread
Results 1 to 3 of 3

Variable Last Entry

  1. #1
    Registered User
    Join Date
    05-15-2008
    Posts
    1

    Variable Last Entry

    i am trying to creat a macro for a template but i have various functions in the template which need to have the last entry co-ordinate entered into them. for example the information for this template can range from 200-600 users and in some instances i need to have a =sum function that adds up the total of all the users details regardless whether there are 200 or 600 users. so an example is =sum(c2:c234) but i need the formula to be intelligent enough to detect whether there are 234 entries or 456 entries or any amount of entries.

    Any Help would be great. if i havent made myself clear please ask me to specify certain things and i will do my best to try to clarify

    Cheers

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    Aydinz,

    Welcome to the forum. I'm going to move this thread to the Programming sub-forum, where VBA and macros are the emphasis.

    Have you looked into using Dynamic Named Ranges, which expand to include new data?

    Could you attach a sample workbook, since it seems that the heart of your problem relates to how to refer to your data lay-out?
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481
    Maybe this would work for you...
    Please Login or Register  to view this content.

+ 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