Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2012, 09:50 AM
neal.clarke18232 neal.clarke18232 is offline Need to increase the percentage in a cell containing the original value Windows 7 32bit Need to increase the percentage in a cell containing the original value Office 2010 32bit
Novice
Need to increase the percentage in a cell containing the original value
 
Join Date: Jan 2012
Posts: 1
neal.clarke18232 is on a distinguished road
Default Need to increase the percentage in a cell containing the original value

I am trying to write a code in vba to change a target cell by a user defined percentage which already contains a value.

As an example.

If N12 contains a value of 100 and G4 contains the 6% increase, i want the contents of cell
N12
to increase to the value of (100 + 6 %) 106. Also I then wish to repeat this down from N12 to as many cells as required all using G4 as the target % increase.



Any help or suggestions, or even someone who can write the VBA code and post would be most appreciated.
Reply With Quote
  #2  
Old 01-19-2012, 09:56 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Need to increase the percentage in a cell containing the original value Windows XP Need to increase the percentage in a cell containing the original value Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,919
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Hi
I don't know about VBA, but this works:
If you can enter in an empty cell the value 1,06 - copy it -select the range to increase - Paste special - Multiply - OK
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to increase the percentage in a cell containing the original value original doc in 3 new files Michael007 Word VBA 3 12-11-2011 01:57 AM
Need to increase the percentage in a cell containing the original value How to increase the grid/ruler’s resolution bal-007 Word 3 12-03-2011 01:27 PM
percentage increase? dgardner Excel 2 07-13-2011 03:04 PM
percentage on columns 911 Excel 1 09-01-2010 09:28 AM
Can I auto increase numbers in a column? compact Word 1 09-10-2009 07:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:02 PM.


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