still isn't producing anything for me.
it runs now, but nothing happens
also, should i replace 'Year' with 'Month' on this line?...
fair enough. sorry...
rj1600 Today, 08:06 PMHi, i'm currently create a excel data to calculate my earning and expense in a month. I need help to create formula to calculate average amount for upcoming...
smallEVILS Today, 07:49 PMHi, I got a solution from mrexcel. Thank you very much for your help.
Here's the link to the post if you are interested. It has some added...
VBA Duplicate Value in Column And Perform Calculation
Probably your real data has nothing to do with what you listed in post #1; I don't have a crystal ball.
Maybe changing the line of code: