+ Reply to Thread
Results 1 to 2 of 2

UDF to return firm value instead of formula result

  1. #1
    Registered User
    Join Date
    11-19-2008
    Location
    Czech Republic
    MS-Off Ver
    365 at work / 2016 at home
    Posts
    24

    UDF to return firm value instead of formula result

    Hello all,

    let say i wish to do this:
    Please Login or Register  to view this content.
    so the result should be the value wont anymore be "=firmValue()" but instead should be "someValue"

    how do i do this? Code above obviously doesnt work...

    Thank you

  2. #2
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: UDF to return firm value instead of formula result

    Excel doesn't permit udfs called from cell formulas (or defined names, or conditional formatting formulas, or data validation formulas, etc) to alter anything in Excel.

    Only subroutines can alter anything in Excel, and they can't be called directly from formulas, but you could use event handlers to do what you want.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula to include firm name to make calculation unique for each firm
    By bjnockle in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-14-2020, 08:53 PM
  2. [SOLVED] Formula to Return Each Instance of a Result
    By hmltnangel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2018, 11:31 AM
  3. Avoiding a return of #N/A from a formula result
    By jbpianoman0202 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-18-2015, 04:28 PM
  4. New on this topic !!! Source utilization formula / Consulting Firm
    By Calejobe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-16-2014, 03:24 AM
  5. Return latest reported figure by firm in panel data
    By abhilashgm in forum Excel General
    Replies: 3
    Last Post: 04-17-2013, 06:28 PM
  6. Advanced formula - Return result & Show Cell Reference of result
    By Irv in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-05-2006, 10:40 PM
  7. Formula should return a result but doesn't
    By Smock in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-27-2005, 02:05 PM

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