Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Calculate discount amt with conditions

Bill date qty Bill amt Pay.date Amt Bal. Days Disc@ Dis.Amt
18-Jul 18 800 19-Jul 900 -100 1 4 72
20-Jul 18 900 19-Jul 200 700 -1 0 0
20-Jul 0 0 24-Jul 700 0 4 3 54
30-Jul 18 900 28-Jul 400 500 -2 0 0
30-Jul 0 0 4-Aug 600 100 5 2 36
As given in the above tabel I wish to calculate the Disc Amt if the Days are
below 7 days with various disc.rates for various days if bal.is <=0. Disc Amt
is qty multiply by Disc.rate. Please help with excel worksheet function.
Thanks in advance

--
cprao
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Calculate discount amt with conditions

small correction done
--
cprao


"cprao" wrote:

Bill date qty Bill amt Pay.date Amt Bal. Days Disc@ Dis.Amt
18-Jul 18 800 19-Jul 900 -100 1 4 72
20-Jul 18 900 19-Jul 200 700 -1 0 0
20-Jul 0 0 24-Jul 700 0 4 3 54
30-Jul 18 900 28-Jul 400 500 -2 0 0
30-Jul 0 0 4-Aug 600 -100 5 2 36
As given in the above tabel I wish to calculate the Disc Amt if the Days are
below 7 days with various disc.rates for various days if bal.is <=0. Disc Amt
is qty multiply by Disc.rate. Please help with excel worksheet function.
Thanks in advance

--
cprao

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default Calculate discount amt with conditions

Perhaps you need to share a little more information. Your data structure
looks inconsistent.

For example, you show a -100 balance on line 1, but on line 2, you show bill
of 900, payment of 200, and balance of 700, then line 3 you show no bill, but
payment of 700, you show balance of 0 now, so it is obvious you are combining
the balance of line 2 with pay amount of line 3, but what about the -100
balance from line 1? Also, the Discount rates of 4, 3, 2, how exactly are 4,
3, and 2 determined? It appears you are trying to give a discount if an order
is 'prepaid' or paid for at time of pickup/delivery, by your comment of
days<=0, but then how does the final payment of 700 noted by line 3 get
discounted when the payment is received after the line 2 order was
pickedup/delivered?
Do you have formulas?
--
John C


"cprao" wrote:

small correction done
--
cprao


"cprao" wrote:

Bill date qty Bill amt Pay.date Amt Bal. Days Disc@ Dis.Amt
18-Jul 18 800 19-Jul 900 -100 1 4 72
20-Jul 18 900 19-Jul 200 700 -1 0 0
20-Jul 0 0 24-Jul 700 0 4 3 54
30-Jul 18 900 28-Jul 400 500 -2 0 0
30-Jul 0 0 4-Aug 600 -100 5 2 36
As given in the above tabel I wish to calculate the Disc Amt if the Days are
below 7 days with various disc.rates for various days if bal.is <=0. Disc Amt
is qty multiply by Disc.rate. Please help with excel worksheet function.
Thanks in advance

--
cprao

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Calculate discount amt with conditions

Sorry I gave it in a hurry. Thanks for the interest. The balance is a running
balance which will be adjusted against payment or bills amount pending. As
for the discount there is a formula which gives discount if the payment is
within 2 days it's 4/- and within 5 days it's 3/- and for within 6 days it's
2/-. If the payment is beyond 6 days then no discount for the said material
which has unique invocie/bill no. Hence here first come first payment will be
adjusted to bills accordingly and any payments satisfiies the above no. of
days criteria then it the said qty qualifies for discount. Hope I am able to
clarify you point. Please reply. Thanks in advance.
--
cprao


"John C" wrote:

Perhaps you need to share a little more information. Your data structure
looks inconsistent.

For example, you show a -100 balance on line 1, but on line 2, you show bill
of 900, payment of 200, and balance of 700, then line 3 you show no bill, but
payment of 700, you show balance of 0 now, so it is obvious you are combining
the balance of line 2 with pay amount of line 3, but what about the -100
balance from line 1? Also, the Discount rates of 4, 3, 2, how exactly are 4,
3, and 2 determined? It appears you are trying to give a discount if an order
is 'prepaid' or paid for at time of pickup/delivery, by your comment of
days<=0, but then how does the final payment of 700 noted by line 3 get
discounted when the payment is received after the line 2 order was
pickedup/delivered?
Do you have formulas?
--
John C


"cprao" wrote:

small correction done
--
cprao


"cprao" wrote:

Bill date qty Bill amt Pay.date Amt Bal. Days Disc@ Dis.Amt
18-Jul 18 800 19-Jul 900 -100 1 4 72
20-Jul 18 900 19-Jul 200 700 -1 0 0
20-Jul 0 0 24-Jul 700 0 4 3 54
30-Jul 18 900 28-Jul 400 500 -2 0 0
30-Jul 0 0 4-Aug 600 -100 5 2 36
As given in the above tabel I wish to calculate the Disc Amt if the Days are
below 7 days with various disc.rates for various days if bal.is <=0. Disc Amt
is qty multiply by Disc.rate. Please help with excel worksheet function.
Thanks in advance

--
cprao

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
shade cells based on conditions - i have more than 3 conditions Mo2 Excel Worksheet Functions 3 March 30th 07 07:19 AM
Calculate sum of numbers with conditions Curtis Excel Worksheet Functions 12 July 16th 05 07:36 AM
How to calculate values in multiple values with multi conditions Curtis Excel Worksheet Functions 2 July 15th 05 02:36 AM
calculate the value of a mortgage purchased at a discount Jim@cch Excel Worksheet Functions 1 June 2nd 05 03:24 AM
How do I calculate sum based on 3 conditions? MNSNOWGAL Excel Worksheet Functions 4 January 19th 05 11:35 PM


All times are GMT +1. The time now is 03:06 PM.

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"