Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 3rd, 2005, 02:18 PM
Halliez Halliez is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 1 Halliez User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 25 sec
Reputation Power: 0
Percentage in Access Help

--------------------------------------------------------------------------------

I need help.

I have several Excel formulas that I need to use in Access. I am not sure just how to do it. What I need to do in Access is find the percentage for two or more fields in my data base.

Here are the Excel formuals

=IF(B10=0,"0",(B9+B10/B8)
=IF(B13=0,"0",B13/10)
=IF(B16=0,"0"B16/(B10+B9))

These are seperate formulas for 3 different field in data base.
I hope I am making sence.

Thanks ahead for your help. I am really in a crunch, need to finish this data base soon.

Reply With Quote
  #2  
Old July 5th, 2005, 03:12 PM
lwells lwells is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Sep 2004
Posts: 632 lwells User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 21 h 59 m 38 sec
Reputation Power: 4
The syntax in your query will be very similar Excel by using the immediate If statement

IIf(Condition,True Part, False Part)

So in your above examples you would use the actual field name not the cell location that is used in Excel

IIf([FieldName10] = 0 , 0, (FieldName9 + FieldName10)/FieldName8)

lwells

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > Percentage in Access Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway