Formula used in Excel

Posted on 2011-02-17
Medium Priority
Last Modified: 2012-05-11

I have a formula in Excel that works:

="1/"&TEXT(B2/B3/100,0)&" of 1%"
and I converted it to a unbound text box as follows but I dont belive the TEXT function is applicable in Access? I get a #name:
="1/" & Text([[tblLetterOfCredit].[Amount]/[tblfees.Amount]/100,0) & " of 1%"

Any suggestions?  
Question by:pdvsa
LVL 28

Expert Comment

ID: 34920571
CStr to convert to string in Access.
OM Gang
LVL 44

Accepted Solution

GRayL earned 2000 total points
ID: 34920751

="1/" & Round([[tblLetterOfCredit].[Amount]/[tblfees.Amount]/100,0) & " of 1%"
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34920838
try this

="1/" & formatNumber([tblLetterOfCredit].[Amount]/[tblfees.Amount]/100,2) & " of 1%"


="1/" & formatNumber([tblLetterOfCredit].[Amount]/[tblfees.Amount]/100,1) & " of 1%"
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.


Author Comment

ID: 34921071
they both worked...  thank you

Author Comment

ID: 34921087
but the reason I had the #Name was due to the my incorrect bracketing...
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34921110
looks like you picked one, that also have incorrect bracketing.


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question