Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-02-2019, 11:41 AM
xor xor is offline How can i add to a cell address? My existing formula isn't working. Windows 10 How can i add to a cell address? My existing formula isn't working. Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,101
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

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.
Reply With Quote
  #2  
Old 02-02-2019, 01:19 PM
Footahype Footahype is offline How can i add to a cell address? My existing formula isn't working. Windows 10 How can i add to a cell address? My existing formula isn't working. Office 2016
Novice
How can i add to a cell address? My existing formula isn't working.
 
Join Date: Feb 2019
Posts: 4
Footahype is on a distinguished road
Default

Thank you. Your explanation was perfect. Definitely a great mind
Reply With Quote
Reply

Tags
excel 2013 formula

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i add to a cell address? My existing formula isn't working. Entering a column value in a cell, to be used as part of a reference in a formula in another cell paulkaye Excel 4 02-26-2017 04:18 AM
How can i add to a cell address? My existing formula isn't working. Possible to use an existing vlookup formula to also insert correct info and trigger a SUM formula 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

Other Forums: Access Forums

All times are GMT -7. The time now is 09:59 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft