Need a Macro for division

talisman77

New Member
Joined
Apr 7, 2011
Messages
26
I have a column of 480 numbers that needs to be divided by the column to the right of it also containing 480 numbers.

I don't know how to write a macro so any help would be greatly appreciated!

Thanks,
Bob
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Like comfy said before.

You must not just copy + paste the formula but
1) just put in IN4's cell this:
Code:
=IL4/IM4
2) ENTER
3) Use your mouse to select the cell IN4.
4) Put your cursor to the bottom right corner of the selected cell until cursor turns into black cross.
5) Click + Drag when the cursor is black cross and then DRAG DOWN to the cell IN5.
6) Confirm that in IN5, you have =IL5/IM5 and it outputs the desired result.
7) Click + Drag to the rest of the cells repeating step 1 to 5.
 
Upvote 0
jfish1288....
Yes..after I put the formula in cell IN4 then copy it all down to row 408, it does give sequential numbering in the formula bar....The problem is that the answer to all the cells is the same answer that I get in cell IN4....

kpark91....
I tried what you just said but it made no difference...I still get the same answer that is in cell IN4 in each cell although in the formula bar, it does go from =IL4/IM4 to =IL5/IM5 to =IL6/IM6 and so on
 
Upvote 0
Ok. So, we know the "copying down" works.

Try checking if you workbook calculation is set to automatic instead of anything else.
To do that, go to

Excel Top-Left button > Excel Options > Formulas > Workbook Calculation
 
Upvote 0
kpark91...
And there lies the problem....You solved it and it all works great!

I want to thank all of you that chimed in here especially Comfy and kpark91!

You guys stuck with me, spent a lot of time with me and I really appreciate it.

Sincerely,
Bob
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,242
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top