FORMULATEXT function issue

DPChristman

Board Regular
Joined
Sep 4, 2012
Messages
177
Office Version
  1. 365
Platform
  1. Windows
I am trying to verify that my separate spreadsheets are all using a consistent formula. However, there are thosands of formulas, an just copying them to each sheet is not giving me the necessary results.
I am trying to use the FORUMLATEXT function.
Specifically, =formulatext(H18)
However, it keeps returning the value of #NAME?
What am i Missing?
 
does it? I haven't used it in a while so I wasn't sure

well, now that I tested it I guess its not going to work for the OP
 
Last edited:
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
@Weazel

Good thinking, but it does indeed require saving as a macro enabled workook.

I'm afraid there's no way to do it wihtout some form of macro.

Maybe the UDF from the link shared earlier could be saved as an Addin, and then install that addin on your book.
Techincally that's still a macro, but you can use it in a non macro enabled workbook.

Unfortunately, you are now well above my skill level
 
Upvote 0
It's really not that difficult to create an addin.
The problem would be that this addin would have to be distributed to and installed by all who you share your workbook with.

The UDF I mentioned was form the link shared in one of the first responses.
Code:
Function FT(mycell As Range)
FT = mycell.Formula
End Function

To make that an addin, create a brand new Excel Book
Open the VBA editor and click Insert - New Module
Paste that code there.

Save the XL file as an addin, File - SaveAs - Excel Add-in (*.xlam)
Close the file.

Now open any other Excel file, and go to File - Options - Addins
At the bottom, click Go next to Manage Addins
Click Browse and find the file you saved.

Done.

Now you can use that function like this

=FT(A1)
 
Last edited:
Upvote 0
if you make a code module for this simple function and export for users to download and import, then just require all users to import to their personal workbook. You avoid creating a macro enabled workbook or an addin... everyone should have a personal file and be able to import functions

functions on the personal workbook simply need reference to the file name...=Personal.xlsb!TheFunction()
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top