excel formula

Copper Contributor

I am trying to autosum in one cell. For instance, I have a category for gas receipts. I have $10 in that cell. I want to add a $5 receipt. When I enter 5 in that cell I want it to automatically add it to the 10 already in that cell, and keep going everytime I add a new receipt all year. Is this possible?

5 Replies

@loriam1225 

Perhaps the solution is demonstrated in the attached workbook by using SUMIF.

If I understand your question clearly, assuming you have
10 in A1
15 in A2
13 in A3
30 in A4
And you want to add 5 to each of these values in cells A1 to A4? If that's what you're trying to achieve. All you need to do is use Paste Special
Kindly follow the steps below
1. Type in 5 in any empty cell and use CTRL + C to copy
2. Select all the values from A1:A4
3. Execute ALT + HVSD (this will select Add in the Paste Special dialogue box)
4. Click OK.

All the steps will have 5 to each of the value in that range

@Abiola1 No this is what I have

10 in A2, I want to add 5 to A2, then just keep adding to A2 all year long.

 

@loriam1225 

That's with VBA programming, but I'd reconsider data model. Assume you have misprints, other data correction - that will be not easy task if entire history of changes is within log for A2.

Hello,

You can upload a sample file or the main file for between understanding