Hi
I have two sets of data. The first one is Accounting Year End of each firms, and the second set of data is Trading days of each firms (assigned as 0 or 1). My aim is to count the number of trading days in each accounting year of each firm. I use Code as the key factor to link two sets of data.
For example,Firm 26360V, its year ended for 2005, my counting will cover 30/09/04 to 30/09/05. There is no counting for 2006. Then, for year 2007, my counting will cover 31/03/06-31/03/07 (however, there' is the date 30/03/07 but no 31/03/07 because it is the weekend)
I struggle to link two files because,
1) accounting year ended of each firm can be changed
2) the first file, accounting year end, is annual data; whereas the second file is daily data.
How can I create the formula. I also attach the example file
Thank you very much for your help.
Last edited by than_k22; 11-19-2010 at 04:02 AM.
Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
sorry Administrator
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks