+ Reply to Thread
Results 1 to 4 of 4

Creating a Named Field with a formula in that cell

Hybrid View

  1. #1
    Registered User
    Join Date
    12-08-2013
    Location
    United States
    MS-Off Ver
    Microsoft 365
    Posts
    69

    Creating a Named Field with a formula in that cell

    Hi,
    I want to create a Named Field called “Formula-1”, which will have =SUM(C8,E7,E8,E9,H7,H8,J7,J8,J9,H9) in that cell.

    My goal is to use this Named Field on multiple sheets where it would utilize that formula in that Named Field to return a value.

    My question to the group, is it possible to have a formula in a Named Field that includes the equal sign as part of the formula?

    Thanks for your reply.

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: Creating a Named Field with a formula in that cell

    Yes; create a name - e.g. _Formula1 and then apply with ! to denote variable worksheet, e.g.:

    Name: =_Formula1
    RefersTo: =SUM(!$C$8,!$E$7:$E$9,!$H$7:$H$9,!$J$7:$J$9)

    then, on each sheet, you can use

    =_Formula1

    and you will get respective worksheet totals.
    Last edited by XLent; 05-16-2019 at 06:56 AM. Reason: typo in narrative

  3. #3
    Registered User
    Join Date
    12-08-2013
    Location
    United States
    MS-Off Ver
    Microsoft 365
    Posts
    69

    Re: Creating a Named Field with a formula in that cell

    Hi Xlent,
    I want to thank you for replying to my post, it is very much appreciated.

    I created the Named Field and I apply ! to the formula as noted in your post. When I added the Named Field to the respective sheet and hit the enter key, it returned the correct result in a quick flash, then it displayed the actual formula in the field instead of the result.

    Is there something that I am doing wrong to stop it from displaying the results permanently? Thanks!

  4. #4
    Registered User
    Join Date
    12-08-2013
    Location
    United States
    MS-Off Ver
    Microsoft 365
    Posts
    69

    Re: Creating a Named Field with a formula in that cell

    Hi XLent,
    I found out what I was doing wrong. It worked as you posted. Thanks again for all of your help and expertise.

+ 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. [SOLVED] Check Field data type (cell format) based on named range
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-26-2019, 05:41 AM
  2. Assistance required with creating a formula for a named range of figures
    By magabicool in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-18-2016, 11:47 AM
  3. [SOLVED] Need help with creating a formula to auto pop 3 fields based on selection in one field.
    By chiefgb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-02-2014, 05:25 PM
  4. Formula IF exist in Pivot Table field and in a Named Range
    By QcSylvanio in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 04-18-2013, 02:46 PM
  5. Replies: 1
    Last Post: 08-28-2012, 12:32 AM
  6. show text-date as a result of named field formula
    By brum17 in forum Excel General
    Replies: 1
    Last Post: 03-10-2011, 11:51 PM
  7. creating sequentially named files with one cell changed
    By Psyborg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-02-2011, 07:04 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