![]() |
#7
|
|||
|
|||
![]()
Here is a collection, but really they are all very much poorer than Pecoflyer's formula.
=OFFSET(INDIRECT(B2),C2,,,) =INDIRECT(LEFT(B2,3)&LOOKUP(9^9,--RIGHT(B2,ROW($1:$100)))+C2) =OFFSET(INDIRECT(ADDRESS(CELL("row",B2)+C2,CELL("c ol",B2))),,-1) Your own formula =INDIRECT($B2)+C$2 returns 20-May-2004 because INDIRECT($B2) returns 38126 which is the serial number for the date 19-May-2004 and 38126 + C2 = 38126+1 = 38127 which is the serial number for the date 20-May-2004. Try it out by entering 38127 in a cell and format that cell "dd-mm-yyyy". I didn't follow your initial intent because I thought it would be bad advice. Please note that there shouldn't be a space between c and ol in the last OFFSET-formula. |
Tags |
excel 2013 formula |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
paulkaye | Excel | 4 | 02-26-2017 04:18 AM |
![]() |
innkeeper9 | Excel | 2 | 09-13-2016 08:59 PM |
Word 2016, autoformating existing text not always working | tammons | Word | 7 | 08-23-2016 12:47 AM |
Change formula cell range based on cell value | Scoth | Excel | 4 | 10-25-2012 07:51 AM |
Changing Cell address within a formula | vermont_past | Excel | 12 | 09-21-2012 12:15 PM |