+ Reply to Thread
Results 1 to 3 of 3

Check if a Field is used in an other field for a Formula?

  1. #1
    Registered User
    Join Date
    11-17-2014
    Location
    Zürich
    MS-Off Ver
    2013
    Posts
    1

    Arrow Check if a Field is used in an other field for a Formula?

    Hello

    (Sry for my englisch!)

    Does anybody know how to find out if one field (expl. A1) is used in an other field (expl. F13) for a Formula???

    Example: A1 is used in F13 (Sheet 1) (Formula in F13: (=Sheet3!A13 - Sheet5!A1)) But in an other sheet or Excel file

    - so now we can see the Formula in F13,

    BUT HOW CAN YOU CHECK IF A1 IS NEEDED For Formula (F13) WITHOUT CHECKING F13??? Also in other sheets or Excel files???

    Is this possible???

    Thanks Forward enjoy your day!!
    Last edited by Fabsi 91; 11-17-2014 at 09:58 AM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Check if a Field is used in an other field for a Formula?

    Excel 2013 has a new function called FORMULATEXT( ) that returns the formula from a reference as a text string.

    A1 contains the formula: =Sheet2!X1

    =FORMULATEXT(A1)

    Returns the text string: =Sheet2!X1

    Then, if you want know if that formula contains a cell reference to cell X1:

    =ISNUMBER(FIND("X1",FORMULATEXT(A1)))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Check if a Field is used in an other field for a Formula?

    Another possibility...

    =RIGHT(FORMULATEXT(A1),2)="X1"

+ 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. Replies: 1
    Last Post: 09-25-2014, 04:12 PM
  2. Replies: 0
    Last Post: 06-26-2012, 09:06 PM
  3. Replies: 3
    Last Post: 03-03-2012, 12:16 PM
  4. Formula to find average of field for all rows that contain another field
    By John in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-25-2006, 07:00 PM
  5. [SOLVED] Formula to find average of field for all rows that contain another field
    By John in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 03-25-2006, 07:00 PM

Tags for this Thread

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