24 month account

ExcelSwede

New Member
Joined
Mar 9, 2021
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Hi
Three years later I'm back with a new tricky question.
FSC standard says that FSC certified wood cannot be stored for more than 24 month if you want to sell the wood with FSC claim. If it is stored for 25 month, the wood must be sold without FSC claim.
I hav not beeing able to crate a perfect running excel sheet to manage this FSC account.
I'll try to illustrate below.

Simple example:
With 10 units bought in Januari 2022, I have 10 units of FSC claimed material to sell every month until December 2023. In January 2024 the FSC claim expire, and the balance goes to zero. Just as it should.
1710272638087.png



If I sell my 10 units of FSC claimed material i Januari 2023, then the balance goes to zero.
But, the balance should still be zero in Januari 2024, not minus 10 units.
1710272957087.png


If I buy 10 units in February 2023, there should be 10 units available all the way down to january 2025, but in my simple sheet, it's not the case. During January - December 2024 it shows zero balance. And then, in January 2025 the 10 units show up (as they should, but it fails the whole 2024)
1710273252081.png


Someone out there ho can create the right formula for column D?
I'll be greatful for your help.
Best regards
ExcelSwede
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Sorry about my english. This sentence from above needs to be explained.
With 10 units bought in Januari 2022, I have 10 units of FSC claimed material to sell every month until December 2023. In January 2024 the FSC claim expire, and the balance goes to zero. Just as it should.
Of course I can not sell 10 units every month. I can sell my 10 units during the 24 month, when ever I want. But maximum unit to sell is limited to my bought 10 units. Sure you already have figured it out, but I have to tell anyway.
 
Upvote 0
You did not post your formulas, so I'm just making guesses here.

Book1
ABCDEFG
1YearPeriodRaw Material Input (wood added)Remaining Credits for SaleSold MaterialFSC Cert Expires
22022Jan101031-Dec-2023 
3Feb10 
4Mar10 
5Apr10 
6May10 
7Jun10 
8Jul10 
9Aug82 
10Sep62 
11Oct6 
12Nov6 
13Dec6 
142023Jan6 
15Feb6 
16Mar6 
17Apr42 
18May4 
19Jun4 
20Jul4 
21Aug4 
22Sep4 
23Oct4 
24Nov31 
25Dec3 
262024Jan0FSC Expired!
27Feb0FSC Expired!
28Mar0FSC Expired!
29Apr0FSC Expired!
Sheet1
Cell Formulas
RangeFormula
F2F2=IF(C2<>"",EOMONTH(B2,23),"")
A14,A26A14=A2+1
B2,B26,B14B2=EOMONTH(DATE(A2,1,1),0)
B27:B29,B15:B25,B3:B13B3=EOMONTH(B2,1)
D2D2=IF(B2<=$F$2,C2-E2,0)
D3:D29D3=IF(B3<=$F$2,D2-E3,)
G2:G29G2=IF(B2<=$F$2,"","FSC Expired!")
 
Upvote 0
Thanks for your help, rlv01. And sorry for not havinge exposed my formula. That was a very simpel formula. Remaining credits (column D) =sum(C2:C25)-sum(E2:E24). That formula works every 24 month period, but it doesn't for consecutive 24 month periods.

Unfortunately, your first attempt does not work either. Sorry for deficient description.
Below screenshot shows the result when I added som new input during the period. Column H show the proper result.
Hope this will make the purpose clear
1710321909135.png
 
Upvote 0
You have purchased 10 units at ~60 day intervals for a total of 30 units. Each group of 10 making up the the 30 total has a different FSC expiration date. In order to track expiration dates you have to be able to differentiate by group when you sell wood. How are you doing that? Your spreadsheet shows no evidence of any kind of group tracking.
 
Upvote 0
Problem solved (I think).
Purchasing and selling is of course an ongoing process every day and month. But it was not a easy thing to create a formula that works from first month.
Between brackets in formula there is 24 month period. For the first 23 month in a new sheet you must modify formula, but then running 24-month periods will be correct from row 25 and futher on.
Below formula taken from first row where it works, range D25
=IF(D24-E24+C25<=SUM(C2:C25),D24-E24+C25,SUM(C2:C25))

Sorry beeing bothering you. Thank you anyway.
 
Upvote 0

Forum statistics

Threads
1,223,879
Messages
6,175,147
Members
452,615
Latest member
bogeys2birdies

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