Solved

Formula used in Excel

Posted on 2011-02-17
6
263 Views
Last Modified: 2012-05-11
Experts,

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?  
0
Comment
Question by:pdvsa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 28

Expert Comment

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

Accepted Solution

by:
GRayL earned 500 total points
ID: 34920751
Try:

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

Expert Comment

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


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


or

="1/" & formatNumber([tblLetterOfCredit].[Amount]/[tblfees.Amount]/100,1) & " of 1%"
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:pdvsa
ID: 34921071
they both worked...  thank you
0
 

Author Comment

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

Expert Comment

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

0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

617 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