#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Write a Formula

How do I write a formula for penalty on past due accounts with great than or
equal to 1000 but less than 5000, apply a penalty of $100.
For accounts with a past due balance of 5000 or more, apply a penalty of 200.
For accounts with a ttl past due balance of less than 1000, no penalty?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Write a Formula

Let A1 hold the past due amount
=IF(A15000,200, IF(A1=1000,100,0))

OR
=(A1=1000)*100 + (A15000)*100

best wishes
--
Bernard Liengme
Microsoft Excel MVP
people.stfx.ca/bliengme
email address: remove uppercase characters


"Esperanza" wrote in message
...
How do I write a formula for penalty on past due accounts with great than
or
equal to 1000 but less than 5000, apply a penalty of $100.
For accounts with a past due balance of 5000 or more, apply a penalty of
200.
For accounts with a ttl past due balance of less than 1000, no penalty?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 905
Default Write a Formula

"Esperanza" wrote:
How do I write a formula for penalty on past due
accounts with great than or equal to 1000 but less
than 5000, apply a penalty of $100. For accounts
with a past due balance of 5000 or more, apply a
penalty of 200. For accounts with a ttl past due
balance of less than 1000, no penalty?


If the account balance is in A1:

=lookup(A1, {0,1000,5000},{0,100,200})

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need to Write a Formula Mert6 Excel Worksheet Functions 1 January 24th 08 07:05 PM
I want to write a formula with IF & AND & OR, (I think) Dr. Darrell Excel Discussion (Misc queries) 1 September 28th 07 02:01 PM
how do I write this formula? djarcadian Excel Discussion (Misc queries) 4 September 13th 05 05:58 PM
how to write a formula wolfmasterr New Users to Excel 3 May 22nd 05 06:44 PM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM


All times are GMT +1. The time now is 10:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"