Need help on a macro which I put in worksheet change area.

ghrek

Active Member
Joined
Jul 29, 2005
Messages
426
Hi

I have a workbook what had a formula in column E . What Im trying to do is when there is a data change in column E I need the data changed to values so it knocks out the formula on the cell where the data changed.

Any Ideas?
 
on column E the formula is =SUM(G4-H4) all the way down the column in every row.
What is the point of SUM in this formula?

SUM is used to ADD (Sum) up the values of a multi-cell range (I am not sure why, but for some inexplicable reason, many people seem to want to use the SUM formula in every mathematical computation).

If you are just trying to subtract one cell from the other, drop the SUM and just use:
Excel Formula:
=G4-H4
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,975
Messages
6,122,537
Members
449,088
Latest member
RandomExceller01

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