Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hi all, been a long time viewer of the forum and felt it was finally time I signed up, said hello, thanked you all and then asked you all for help.
I have a column with dates running down it. I need a column that will collect every third month and copy it into a column next to it. Effectively I need a column (without spaces) next to the date column that will show quarterly dates. I need this formula to be automated for future drag and autofill features when newer dates are added in. If i've not been clear with what I am looking for then please ask any questions you need. Thanks for your help in advance |
#2
![]() |
|||
|
|||
![]() Quote:
Do you mean you need it to sum all values that fall into each quarter? Which version of Excel are you using? Any chance of a sample workbook with dummy data? S. |
#3
![]() |
|||
|
|||
![]() Quote:
Thanks for getting back to me, I've attached an example of what I'm working with. I'm sure there is a fairly simple solution but excel can't seem to recognize the pattern so I'm having to do it manually for over 300 workbooks. Plus these workbooks are update automatically each month so I would like for the formula to be able to account for that. Thanks, Dan |
#4
![]() |
|||
|
|||
![]() Quote:
|
#5
![]() |
|||
|
|||
![]() Quote:
Many thanks |
#6
![]() |
|||
|
|||
![]() Quote:
K6 - =VLOOKUP(J6,B:E,4,FALSE) L6 - =VLOOKUP(J6,B:F,5,FALSE) |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"dpgreen" wrote:
I have a column with dates running down it. I need a column that will collect every third month and copy it into a column next to it. By "copy", I presume that you mean a formula. Suppose your original data are in A2:A1000, and you want the "copy" to start in B2. Put the following formula into B2 and copy down as needed: =INDEX($A$2:$A$1000,3*ROWS($B$2:B2)-2) If you want to set up one time so it covers new data, you can put the following formula into B2 and copy down through B1000: =IF(INDEX($A$2:$A$1000,3*ROWS($B$2:B2)-2)="","", INDEX($A$2:$A$1000,3*ROWS($B$2:B2)-2)) Pay close attention to the use of absolute references (e.g. $A$2) and relative references (e.g. B2). Also, although OFFSET and INDIRECT might seem easier to use, they are "volatile" functions. That causes those formulas and all dependent formulas to be recalculated every time any cell in any worksheet is modified. INDEX is more efficient. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy cell values only | Excel Programming | |||
Copy values from a cell based on values of another cell | Excel Discussion (Misc queries) | |||
Copy values to a different cell | Excel Worksheet Functions | |||
VAB to copy cell values into new Sheet, Overwrite if needed and based off of Cell Value in a column | Excel Programming | |||
How do I copy cell values in VBA | Excel Programming |