+ Reply to Thread
Results 1 to 3 of 3

Identify Formula vs Number

  1. #1
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    Identify Formula vs Number

    Is there a function that will allow determinng if a cell contains a formula or an actual number?
    Thanks!
    Dennis

    I am using Windows 7 and Office 2007, all of my posts are based on this.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Yes you can...

    see this link....

    http://www.sulprobil.com/html/get_cell.html

    and this link will show how to highlight cells with formulas: http://www.j-walk.com/ss/excel/usertips/tip045.htm
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    My Approach was

    Thank you for pointing me in the right direction.

    After reading the two links, I looked for a VBA property and found I could use
    Please Login or Register  to view this content.
    Now we can use the function directly in the worksheet formulas.

    Occassionally a Month-to-Date or YTD adjustment is entered over the running weighted averages for out percent solids (or whatever) and if this happens to be the case our next calculation will "know" this by referenceing through the above UDF and will calculate based on the adjusted MTD or YTD number rather than on the original daily units.

    I have also set up a conditional format using this function to flag when one of the adjustments is made to the spreadsheet by manually entering a value.

    Conditional Formatting formula is
    Please Login or Register  to view this content.
    where A2 happens to be the cell to highlight in this case. By selecting that cell and then highlighting the remaining spreadsheet, going through the Conditional formatting process again all cells are now set as long as the relative cell address is used and not the absolute...
    Last edited by DCSwearingen; 09-12-2007 at 04:55 PM.

+ 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