+ Reply to Thread
Results 1 to 2 of 2

Reference of the result cell

  1. #1
    Registered User
    Join Date
    01-11-2005
    Posts
    64

    Question Reference of the result cell

    Is it just me or excel doesn't have a function to determine the reference of the result it returns?????

    It's a bit difficult to explain so I'll give you an example:

    I have a column with a list of numbers. Let's say I use the function MAX to return the maximum value from that list, which it does, but what it doesn't do is tell me what the reference of the cell that contains that value is. So you would expect Excel to have a function that could like this:

    =THEFUNCTION( MAX(A1:A1000) )

    This would return the reference (A1 or R1C1 style) of the cell that MAX function is using to generate its result. You might suggest a solution to my problem specific to this example, but I'm looking for a generic solution. This function I'm looking for would work with not just MAX, but also VLOOKUP, LARGE and many more functions.

    If Excel doesn't have such a function, then I can't understand why Microsoft haven't thought of this, because this is so obvious!

    Many thanks,

  2. #2
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193

    Could be a better way...

    Well, there could be a better way, but here's a quick fix...

    Simply copy and paste and run this macro and it should work if the column of numbers stops when there is a blank cell.

    Also, just change the col and row variables if the starting col/row isn't "A1".

    Please Login or Register  to view this content.
    starryknight64

+ 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