Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2015, 05:48 AM
msnarayanan msnarayanan is offline formula for arriving at a result on condition Windows 8 formula for arriving at a result on condition Office 2013
Advanced Beginner
formula for arriving at a result on condition
 
Join Date: Jul 2015
Posts: 37
msnarayanan is on a distinguished road
Default formula for arriving at a result on condition

dear sirs

i have a sheet with the following headers:
B C D
1 Name Amount tax
2 XYZ 100

i would like to have a formula to get the tax amount (say 3%)
on the amount shown in c2. the tax element varies from
person to person. will the following formula work:

=iif((b2="XYZ"),round(c2*3%,2)),"

please correct me if i am wrong.

thanks

m s narayanan"
Reply With Quote
  #2  
Old 07-27-2015, 01:41 PM
gebobs gebobs is offline formula for arriving at a result on condition Windows 7 64bit formula for arriving at a result on condition Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Nope. IIF is an Access function. IF is the Excel Function. Other than that:

* the parentheses around b2="XYZ" are superfluous
* there is no ELSE option in the formula
* the ," at the end will cause an error
* the whole thing looks like a kludge

No idea what you are trying to accomplish.
Reply With Quote
  #3  
Old 07-28-2015, 06:07 AM
msnarayanan msnarayanan is offline formula for arriving at a result on condition Windows 8 formula for arriving at a result on condition Office 2013
Advanced Beginner
formula for arriving at a result on condition
 
Join Date: Jul 2015
Posts: 37
msnarayanan is on a distinguished road
Default

dear mr gebobs

thanks for your reply.

i got the clue from your mail i.e. iif function relates to access
and not to excel.

from the clue, i could solve my problem.

m s narayanan
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
formula for arriving at a result on condition formula, 2 criteria, one result cjdstephenson Excel 4 06-02-2015 09:17 PM
formula for arriving at a result on condition Show result of formula as a value in another cell Steve_D Excel 4 10-12-2014 07:38 PM
Convert Formula Result to Static Text MYGS Excel 16 01-21-2013 08:18 AM
IF formula returns wrong result mashley Excel 3 09-07-2012 07:03 AM
formula for arriving at a result on condition Formula in a Cell with condition? Learner7 Excel 1 07-19-2010 10:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft