Formula to Caculate Int

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,595
Office Version
  1. 2021
Platform
  1. Windows
I have various items in stock and was to calculate the interest for 30.42 days

Where the item has been in stock for less than 30.42 days then the interest must be calculated by taking the value of the item in Col R x int rate in Col AF/365 x No. of days in Stock in Col X, otherwise the interest must be calculated by taking the value of the item in Col R x int rate in Col AF/365 x 30.42



I get #value as a result

See my formula below

Code:
 =IF(X2>30.42,Q2*($AP$1/365)*30.42),Q2*($AP$1/365*X2)


Please check & advise



Book1
RSTUVWXYZAAABACADAEAF
1Value of ItemDays in StockMonthly Intint Rate6.50%
245925115[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=value]#value[/URL] !
36520525[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=value]#value[/URL] !
4
5
6
Sheet1
Cell Formulas
RangeFormula
AB2=IF(X2>30.42,Q2*($AF$1/365)*30.42),Q2*($AF$1/365*X2)
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Book1
RSTUVWXYZAAABACADAEAF
1Value of ItemDays in StockMonthly Intint Rate6.50%
245925115248.7877
36520525290.2962
Sheet1
Cell Formulas
RangeFormula
AB2=IF($X2>30.42,$R2*($AF$1/365)*30.42,$R2*($AF$1/365)*$X2)


WBD
 
Upvote 0
Thanks for the help. My apologies Q2 should have been R2


Your formula works perfectly
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,315
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top