Calculate Access Conditional formula

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

Hi,

Can someone help me change this excel formula to Access formula for
progressive tax withheld.

=IF(B2<=80,0, IF(B2<=250, (B2-80)*0.04, IF(B2<=450, (B2-250)*0.08+6.8,
(B2-450)*0.1+22.8)))

Thanks a lot,
Ken
 
hi Ken,
Can someone help me change this excel formula to Access formula for
progressive tax withheld.
Where do you want to use it? As a control source?
=IF(B2<=80,0, IF(B2<=250, (B2-80)*0.04, IF(B2<=450, (B2-250)*0.08+6.8,
(B2-450)*0.1+22.8)))
Replace IF with IIf and B2 with the name of your control or field.

"=IIf([field]<=80,..."


mfG
--> stefan <--
 
=Switch(B2<=80, 0, B2<=250, (B2-80)*0.04, B2<=450, (B2-250)*0.08+6.8,
B2>450, (B2-450)*0.1+22.8)
 
Ken said:
Hi,

Can someone help me change this excel formula to Access formula for
progressive tax withheld.

=IF(B2<=80,0, IF(B2<=250, (B2-80)*0.04, IF(B2<=450, (B2-250)*0.08+6.8,
(B2-450)*0.1+22.8)))

Thanks a lot,
Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top