I need to find the day number in a quarter.
eg: for quarter 2, the number should be 1-90 starting from the first day
of the quarter.
Please guide as to how it can be done.
Thanks in advance.
I need to find the day number in a quarter.
eg: for quarter 2, the number should be 1-90 starting from the first day
of the quarter.
Please guide as to how it can be done.
Thanks in advance.
What are the dates of your quarters? 90 x 4 = 360 - what about the other five days of the year?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Hi welcome to the forum,
Please attach a sample excel file with expected result
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
suppose i want to find the day number of the quarter for the year 2010.
I am actually creating a time dimension and i need to have data from 2010-2017
and for me one of the column is daynumberinquarter.
I am not able to think of a formula which will help me achieve this.
Nor shall we be able to think of a formula for you unless you answer our questions. Once again, what are the dates of your quarters? If they are 90 days each, what happens with the remaining 5 days of the year?
Attach A File.jpg
see the picture
click on "Go Advanced"
In Attachment : click on "Manage Attachments"
>click on choose file & select your file from respective folder > click on "open"
>click on upload
>close this window
atul
If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.
Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".
This can be done with a lookup table (you will need to extend this to encompass the years you want to include - you don't need the numbers in column B, which I have there merely as a reference):
Excel 2016 (Windows) 32 bit
A B C D E 1 01/01/2010 90 42 13/05/2010 2 01/04/2010 91 3 01/07/2010 92 4 01/10/2010 92
Sheet: Sheet1
Excel 2016 (Windows) 32 bit
D 1 =E1-VLOOKUP(E1,$A$1:$B$4,1,1)
Sheet: Sheet1
Dear tanuja Naik, I attach, my one of file which will help for you.
Since as per date column "A", i have calculated weekday as : In column "B2" =TEXT(A2,"aaaa")
Also calculated number of weekday & quarter, in "C" & "D" column respectively.
All calculation base on date.
Last edited by avk; 12-14-2016 at 04:48 AM. Reason: Addition details add
@avk - Sorry for off-topic interjection:
Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.
I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.
Thanks again for all your hard work here!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks