+ Reply to Thread
Results 1 to 3 of 3

address elements in a range in a formula

  1. #1
    Registered User
    Join Date
    01-12-2009
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    28

    address elements in a range in a formula

    Hi, me again! I have a named range, called 'event' relating to cells a2-a200, I have a named cell, 'eventcounter'. I was hoping that I would be able to use the named cell eventcounter in formulae on the cells in the event range rather than having to use the cell address. So instead of having a formula that was something like this, =if(a3= etc etc.... I could refer to the range event and eventcounter. Eventcouter gets its value simply by counting the number of non blank cells in the event range, so consequently - and here please feel free to smile - I can only figure out how to address the last entry in the event range in the manner that i wish. As always, all and any help is much appreciated. Many thanks.
    Last edited by smileyc; 03-01-2009 at 05:14 PM. Reason: to flag as solved

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: address elements in a range in a formula

    If there are no interspersed blanks, why not just make the named range dynamic?

    Insert > Name > Define event Refers to =A2:INDEX(A2:A200, eventcounter)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-12-2009
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: address elements in a range in a formula

    Blimey thats fantastic!

    Thank you once 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