Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-03-2014, 07:56 AM
s7y s7y is offline Divide Number between cells Windows 7 32bit Divide Number between cells Office 2010 32bit
Advanced Beginner
Divide Number between cells
 
Join Date: May 2012
Posts: 38
s7y is on a distinguished road
Default Divide Number between cells

hello everybody.. and happy new year.. I need a VBA code to do the following:

in sheet 1 I have a range J8:J57. Here I have some numbers that I need to be equally divided into cells in sheet 2. Right now I am using the following formula: =ROUND(sheet1!$J$9/96;14). I then pull this formula down 96 cells to have the result. Then I move on to the next cell and do the same with the following formula: =ROUND(sheet!$J$8/96;14).



This takes forever and, most important, is bound to create a problem if one of my colleagues deletes the formula from the cell.

Is it possible to have VBA to do the job by selecting the cell and its destination range (ranges can vary between 96 and 125 cells)...?

Also, is it possible to have the function update the destination cells whenever a change is made on sheet1?

Last edited by s7y; 01-03-2014 at 08:06 AM. Reason: Add
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Divide Number between cells Hide Divide by Zero Option? SteveBump Excel 4 12-15-2013 09:53 PM
how to divide into group tomlam Excel Programming 2 05-20-2013 09:46 PM
divide page into 4 parts aclark17 Word 4 01-17-2012 09:04 AM
Divide Number between cells How to organize and insert blank cells between a huge number of data? tareq Excel 12 09-29-2010 02:12 PM
Divide by zero error doublejoy Excel 1 08-22-2009 03:10 AM

Other Forums: Access Forums

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