Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-13-2013, 08:05 AM
Nibbles Nibbles is offline Adding an amount to a min-max range Windows 7 64bit Adding an amount to a min-max range Office 2010 64bit
Novice
Adding an amount to a min-max range
 
Join Date: Nov 2012
Posts: 9
Nibbles is on a distinguished road
Default

Got the answer from another forum, was trickier than expected but works a treat;



Code:
=IF(ISNUMBER(FIND("-",A1)),LEFT(A1,FIND("-",A1)-1)+A2&"-"&RIGHT(A1,LEN(A1)-FIND("-",A1))+A2,A1+A2)
where A1 is the 'xxx' or 'xxx-yyy' cell and A2 is the change cell
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding an amount to a min-max range how to cut and paste for the range tomlam Excel Programming 5 12-26-2012 02:20 AM
Adding an amount to a min-max range use VBA to name a range g48dd Excel Programming 7 06-20-2011 06:34 AM
Adding an amount to a min-max range Adding Image into a excel cell and adding a hyperlink to the image saravananiyyanar Excel 3 05-04-2011 08:31 AM
Sort Range boutells Excel 1 07-15-2009 03:02 AM
Adding an amount to a min-max range Range Formula aleksandr Excel 10 05-18-2009 12:14 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:56 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