VBA sum

MartinL

Well-known Member
Joined
Oct 16, 2008
Messages
1,097
I want to create a vba sum routine on change

the scenario is this:
If an entry is made in cell D10 then the following formula is used:
Code:
=C10-E10-F10-G10
If an entry is made in cell G10 then the following formula is used:
Code:
=(C10-D10)-E10-F10
If a dipstick goes to D10 and puts in an entry and then goes to G10 and puts an entry then tough D10 will get overwritten

The code need to relate to the row the entry is made in but usually only cols D or G.

Any VBA gurus up for this challenge.

I'd use formulas but this will result in a circular reference...

Martin
 

Forum statistics

Threads
1,082,639
Messages
5,366,708
Members
400,914
Latest member
anandkb

Some videos you may like

This Week's Hot Topics

Top