Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8770155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:30:28+00:00 2026-06-13T17:30:28+00:00

This seems like such an obvious thing that excel must have this feature, I

  • 0

This seems like such an obvious thing that excel must have this feature, I just can’t find it.

How can I create a custom function without using VBA? (VBA is too big of a hammer and causes security warnings, etc).

For example, I have a spreadsheet with several very complex formulas. Each of these formulas are replicated in several columns. Each column has hundreds of entries, so each one is replicated hundreds of times. If I tweak something then I have to manually fill-down or copy my change from one column to another.

A simple one looks like this:
=(Payment1 – F$12)*12 + ($D21-H21)
But what I’d like to do is:
=MyFunction(f$12,$D21,H21)
And have the actual formula for “MyFunction” written just once someplace.

I’ve found a few things that come close to giving me what I want. For example, in tables Excel will automatically replicate changes in a formula down the rest of the column saving you the step of manually selecting the range and doing a “Fill Down”.

It will also allow relative references off of named cells, which seems equivalent of a user-defined parameter-less functions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:30:29+00:00Added an answer on June 13, 2026 at 5:30 pm

    if you can use text to create the formula, then you can define a name to evaluate the function.

    In cell A2, create a name EvalAbove, and in Refers To, enter =evaluate(A1)

    New Name dialog box

    This way, you can construct a formula
    e.g. B1 contains SUM, B2 contains =("="&B1&"(A2:A5)")
    and in B3, you can then put =EvalAbove

    This means that if you change the formula name in B1, then B2 will change to show the changed formula, and B3 will change to show the result.

    • Note that this still counts as a macro enabled workbook, but there’s no VBA code, just named ranges
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry, this seems like such an obvious question, but I just can't find an
It seems like such a simple thing, but I can't find any obvious solutions...
This seems like such a simple issue but I cannot find an elegant solution.
This seems like such a simple question. I have several Edit boxes on my
Why does Java not have a file copy method? This seems like such an
This is driving me absolutely bonkers, and it seems like such a simple thing
This seems like the simplest Git question, but I can't find ANYTHING on it.
This seems like something that could be quite useful and yet and I can't
This seems like a must have form input for a mobile ui framework, but
This seems like such a simple requirement, that I feel like I am missing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.