+ Reply to Thread
Results 1 to 3 of 3

User created formulas - can you determine how the formula wa derived?

  1. #1
    Registered User
    Join Date
    11-04-2011
    Location
    Vancouver
    MS-Off Ver
    Excel 2003
    Posts
    5

    User created formulas - can you determine how the formula wa derived?

    I have a spreadsheet which I inherited from the last person who held my job. I believe he used vb to create his own formula which took all the matching item numbers from a given range, added them and placed the sum in a corresponding linked page. My problem is I need to determine exactly how this formula was derived so I can repeat it and/or improve it on a new sheet. I know this is out there but if someone could help it would be greatly appreciated.

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: User created formulas - can you determine how the formula wa derived?

    Open the book in which the formula appears. Press Alt + F11. Look for Function or Public Function and then a name which matches the function you see entered into the spreadsheet.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: User created formulas - can you determine how the formula wa derived?

    Look in the cell where the results are.

    If it looks something like this "=myUDF(A8,A9,A10....)" then what Thomas suggested should work.

    It it's just a number, then a macro probably put it there, but there's no telling what macro did it. You would have to search all the macros in the workbook looking for that cell. Hopefully (s)he named the cell(s) and you can do a search for the name. If not, you will just have to look at all the macros looking for which one put a value into that cell.
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

+ 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