Running Total In Cell Based Upon New Number Being Entered Into Different Cell

Apr 10, 2014

I am creating a spreadsheet for inventory use. I want to have a running total in (1) cell based upon a new/different number being entered into a different cell.

Column B, Row 1 (This will be a new/different number entered every day - inventory in or out, so positive or negative number)

Column D, Row 1 (This will be a running total based on numbers inserted in previous 2 columns)

Basically what I have is a key inventory. So there is column A with key number, B should be keys IN, C should be keys OUT, or ideally B would be IN and OUT meaning, for inventory IN input a positive number and for inventory OUT input a negative number, and D Should be total.

Column E represents number of keys currently in the inventory. I was going to hide the current inventory column so all you see is IN/OUT and total.

So what I need is to be able to just come in and type in a number in the IN and/or OUT column, without having to add/subtract it with the number already in that column.

Bottom line, I'd like to be able to use IN and/or OUT columns to just type in numbers as they come and not have to worry about what's already in those columns and get correct total number.

Ok here it is. Attached worksheet shows
Column A - Key Numbers...No data value
Column B - Inventory IN
Column C - Inventory OUT
Column D - Total
Column E - Current Inventory(Starting point)

So the formula I used to get what i currently have is (=B2-C2+E2). This way whatever i input in columns C and C. totals out in D. But this way every time I want to add/subtract a number in B and C, i have to add to the number already in the column. I'd like to be able to type in a number in B and C as i go and still have a correct total. I wouldn't mind having just one column for in/out and use positive and negative numbers to differentiate inventory in or out.

Key Inventory - Test.xlsx

View 14 Replies


ADVERTISEMENT

Running Totals In The Cell As The Previous Week And So On Until New Data Is Entered And Updates The Total

Oct 2, 2009

I have to keep a record of the running totals of school house points for each week. The problem is that teachers are very lazy and don't record data every week so I have many blank cells which my current formula can't cope with. I've tried using N/A but it doesn’t seem to work? (Have thought about threats of violence but would probably lose my job) I’m if there is no data (blank or 0) then I need it to keep the same total in the cell as the previous week and so on until new data is entered and updates the total. I have attached a simplified copy: Teachers enter points in the HP sheet, the Running Totals sheet (TAB) contains the formula.

View 4 Replies View Related

Cell To Calculate Running Total

Oct 18, 2006

Basically, I'm trying to have a cell (eg.A1) where i can input a dollar value and when enter is pressed, on another cell (eg.A2) the dollar value gets added, then the original cell (A1) is cleared for the next input.

Then when I put the next input (A1) I want it to add on to this running dollar total (A2) and yet again A1 is cleared for the next input.

In addition to this I require an additional cell (eg.A3) that when each time a value is added in A1 it counts the times this is done.

View 9 Replies View Related

Keep Running Total In A Single Cell

Sep 13, 2006

I would like to sum the values entered into A1 each time i enter a new value into A1 and to place the grand total, of all values entered, into A3 ? This is as long as the sheet1 is activated ?

i tried with Event (Change/Selection change), but could not get a result......................

View 3 Replies View Related

Cell To Calculate A Running Total

Oct 18, 2006

I'm trying to have a cell (eg.A1) where i can input a dollar value and when enter is pressed, on another cell (eg.A2) the dollar value gets added, then the original cell (A1) is cleared for the next input.

Then when I put the next input (A1) I want it to add on to this running dollar total (A2) and yet again A1 is cleared for the next input.

In addition to this I require an additional cell (eg.A3) that when each time a value is added in A1 it counts the times this is done.

View 9 Replies View Related

Running Total Formula In Single Cell?

Mar 28, 2014

I am creating a spreadsheet for inventory use. I want to have a running total in (1) cell based upon a new/different number being entered into a different cell.

Column B, Row 1 (This will be a new/different number entered every day - inventory in or out, so positive or negative number) Column D, Row 1 (This will be a running total based on numbers inserted in previous 2 columns)

Basically what I have is a key inventory. So there is column A with key number, B should be keys IN, C should be keys OUT, or ideally B would be IN and OUT meaning, for inventory IN input a positive number and for inventory OUT input a negative number, and D Should be total.

Column E represents number of keys currently in the inventory. I was going to hide the current inventory column so all you see is IN/OUT and total. So what I need is to be able to just come in and type in a number in the IN and/or OUT column, without having to add/subtract it with the number already in that column.

Bottom line, I'd like to be able to use IN and/or OUT columns to just type in numbers as they come and not have to worry about what's already in those columns and get correct total number.

View 5 Replies View Related

Keeping A Running Total In A Single Cell

Aug 22, 2006

Is it possible to have numbers added to the same cell and have excel continue to calculate the addition for me in that same cell......ex: I have the number 8 in cell d2 and I want to add the number 8 to that cell and have excel add the 8 to the previous 8 for a total of 16 in the same cell.....the next time I would add 5, and the total would be 21? Can this be done in a single cell?

View 10 Replies View Related

Fill Cell With Next Consecutive Number If Another Cell Has Data Entered?

Aug 16, 2012

I need to achieve the situation below with a formula. I have tried simply doing, for example, = B3+1 but this throws an error, probably because the value being checked is alphanumeric.

Data
A001

Data
A002

Add next number (A003) when data entered in cell to left

View 2 Replies View Related

Running Total VBA - Add / Subtract Number In B And C?

Apr 10, 2014

I am creating a spreadsheet for inventory use. I want to have a running total in (1) cell based upon a new/different number being entered into a different cell.

Column B, Row 1 (This will be a new/different number entered every day - inventory in or out, so positive or negative number)

Column D, Row 1 (This will be a running total based on numbers inserted in previous 2 columns)

Basically what I have is a key inventory. So there is column A with key number, B should be keys IN, C should be keys OUT, or ideally B would be IN and OUT meaning, for inventory IN input a positive number and for inventory OUT input a negative number, and D Should be total.

Column E represents number of keys currently in the inventory. I was going to hide the current inventory column so all you see is IN/OUT and total. So what I need is to be able to just come in and type in a number in the IN and/or OUT column, without having to add/subtract it with the number already in that column.

Bottom line, I'd like to be able to use IN and/or OUT columns to just type in numbers as they come and not have to worry about what's already in those columns and get correct total number.

Ok here it is. Attached worksheet shows
Column A - Key Numbers...No data value
Column B - Inventory IN
Column C - Inventory OUT
Column D - Total
Column E - Current Inventory(Starting point)

So the formula I used to get what i currently have is (=B2-C2+E2). This way whatever i input in columns C and C. totals out in D. But this way every time I want to add/subtract a number in B and C, i have to add to the number already in the column. I'd like to be able to type in a number in B and C as i go and still have a correct total. I wouldn't mind having just one column for in/out and use positive and negative numbers to differentiate inventory in or out.

View 2 Replies View Related

Text Entered Into One Cell Equals Number In Different Cell

Jun 24, 2013

So I am having trouble figuring out how to do multiple text to equal multiple numbers. For instance right now I use =IF(E9="JOHN DOE","07", but I would like to have it where IF E9 = John Doe the cell shows 07, but IF the E9 = Sam Doe I want the cell to show 08, and the same IF E9 = Pat Doe the cell shows 09 and so on.

Meaning is there a way to have multiple functions go to a cell dependent on what is entered into E9 for example. I just want to have a number come out in one cell if a certain name is entered in a different cell. I loooked at this post [URL]....which got me started,

View 4 Replies View Related

Returning Value Based On Running Total - Next Value

Feb 4, 2014

I am trying to model emergence timing of eggs based on cumulative temperature units. When the eggs (Column L) deposited on a given date have accumulated 1600 tu's (a running total of Column N) I wish to return the original number (Column L) to a column (Column Q) in Excel. I have also tried returning the date at which cumulative tu's reach 1600 with dget. Unfortunately, I can't figure out how to use Dget or some other function to deal with the relative sums for each value and step through to the next value when the first is returned.

I can get the first number by entering the following formula into Column Q, =IF(SUM(N$9:N18)>1600,M$9,0) but I don't know how to increment it once the first value is returned.

View 1 Replies View Related

Running Total Based On Criteria

Oct 11, 2007

I would like to know if it is possible to have a cell calculate a running total based on previous data as soon as you enter new information. The spreadsheet is a log of suspensions. Relevant columns include the student's name, date, and length of suspension (in days). For example, if Column A= Name (could be separated into first and last name if necessary, or merged into one column), B= Date, C=# of Days, D= Reason and so on, can Excel add the number of total days of suspension for all violations as soon as a new record is created? (If a student has already been suspended for one day, then gets suspended a month later for something else for three days, can excel tell you immediately how many days that student has been suspended total?)

This is actually a question from my mom, who asked me to help her, and who told me that a former coworker's wife had created a spreadsheet that could do this. Unfortunately, that spreadsheet no longer exists and they must recreate something.

View 9 Replies View Related

Running Total To Reset Based On Criteria

Jan 1, 2008

Have a sample file attached : sample2.xls

What I want to do is - Column H shows my current position, and column L shows the p&l.

I would like excel to calculate the p&l for each position, and put the results in column M.

For example: H3 is the opening of a new position, as H2 shows the current position as zero, and H4 is not equal to zero. The position was added to in H4, and I'm now holding 2. The entire position was sold in H5, and my current position is back to zero. I would like excel to then show in M5, the sum of H3,H4 and H5, and then start the calculation again, and keep doing so down the entire column. If there was only 3 p&l cells for each position, it wouldn't have been a problem for me to get it done, but unfortunately, they can vary quite a bit.

View 9 Replies View Related

Running Total To Reset Based On Criteria

Jan 1, 2008

Have a sample file attached, and what I want to do is as follows-

Column H shows my current position, and column L shows the p&l.

I would like excel to calculate the p&l for each position, and put the results in column M.

For example,

H3 is the opening of a new position, as H2 shows the current position as zero, and H4 is not equal to zero. The position was added to in H4, and I'm now holding 2. The entire position was sold in H5, and my current position is back to zero. I would like excel to then show in M5, the sum of H3,H4 and H5, and then start the calculation again, and keep doing so down the entire column. If there was only 3 p&l cells for each position, it wouldn't have been a problem for me to get it done, but unfortunately, they can vary quite a bit, and I have no idea how to do it

View 9 Replies View Related

Add Numbers To Running Total Based On Unique ID

Mar 18, 2008

I am working to develop a spreadsheet that takes user input (from a barcode scanner, that issues a hard return, limiting my information to a single column) in the following order. User ID, this is an Alphanumeric unique ID (AA1AAA) or user id. Followed by a pick ticket ID the value of the pick ticket ID will always be above 100000 (ie 123123) followed lastly by the number of lines on the pick ticket id (this number never exceeds 15)

So an example data set would be:
AA1AAA - User ID
123123 - pick Ticket ID
7 - Number of lines on the ticket
123124 - pick Ticket ID
10 - Number of lines on the ticket
123125 - pick Ticket ID
6 - Number of lines on the ticket
AA1BBB - User ID..........................

View 6 Replies View Related

Value Entered In A Cell Based On A Date In Another Cell.

Dec 23, 2009

I need a formula that will basically just display a 1 or 0 in one cell based on the date in the cell next to it.

If the date is older than 180 days then a 0 will be displayed in the cell.

If the date is less than 180 days then a 1 will be displayed in the cell.

I have an attachement as an example.

View 4 Replies View Related

Running Total Based On Content From Column For Over 1700 Rows?

Mar 26, 2014

Currently have a sheet with column A/B. Column A has any of the following letters to represent Wins, Losses, Ties, Overtime Loss, Shootout Loss - W, L, T, OTL, SOL. Column B has team point totals after each result. So after the win in row one, the team has 2 points. After the losses in rows 2 and 3, the team still has 2 points. After win in row 4 the team has 4 points. After win in row 5 the team has 6 points. After tie in row 6 team has 7 points.

W
2

L
2

L
2

W
4

W
6

T
7

What is the best formula or is there a formula to easily calculate running total based on content from column A this for over 1700 rows?

View 9 Replies View Related

Limit Number Of Characters Entered In A Cell?

Jul 9, 2014

trying to limit the number of characters entered in a cell.

I clicked on Custom then =LEN(A10)=6 which works when i enter more or less than 6 characters, however it lets you paste in something which has more than 6 charters.

View 8 Replies View Related

Colour Change Cell If Number Entered

Mar 21, 2008

I want to incoroprate into my Workbook a sheet with a list of phone numbers, that sheet can be added to and more numbers entered if necessary and will be called "DATA"

The questions is this. If one of those numbers in the "DATA" sheet is entered in any other sheet in the workbook can the cell that number has been written on (not the one on the data sheet) be made to change colour?

View 9 Replies View Related

How Excel Understand Numeric Number Entered In Any Cell

Dec 11, 2012

I have Two Sheets in same workbokk.

Sheet1 Sheet2

Sheet1 B2 = "any numeric value (whole digit i.e 10 or 55 like) - user input "

Sheet2 Starting point is cell B3.

What need to happen - As soon as user enter number in Sheet1 B2 = any value say, 20 then,

Sheet2.Select
Range("B3").select

suppose i assign value p as,

dim p
sheets("sheet1").select
p = range("B3).value

now here i want to indetify this number, i.e.- 20 (User input) and then as soon as user enter this value,

step 1 - sheet2 get select.

step 2 - from B3 sheet2, by row wise it select next 20 row as well next 20 columns.

for eg.- from B3, the data should select like following,
B3 to U22.

and this selected area highlight with single border only. That's it.Therefore, my main problem is how excel will understand this numeric number ?

View 9 Replies View Related

Conditional Formating Based A Value Entered Into The First Cell Of A Row

Jan 23, 2010

Is it possible to do a conditional formating based on a value being entered into the first cell of a row?

Basically when a date is entered into a cell in column A, I want the cells in that same row (A-J) to have a border, even if B-J do not have any value entered into them.

View 9 Replies View Related

How To Setup Running Number In Single Cell

Oct 22, 2012

example, in sheet1, B12.

already have workbook already coded. which in sheet1 is just a table to record transaction into other sheets. after clicking "keep" button (this 'keep' button already customized/coded) it will updating the particular chosen sheet.

i would like to make a running number in sheet1, b12, and right after clicking the "keep" button it will generate a new number. example if i want the running number start as 6500, i will become 6501 after click the "keep" button

View 1 Replies View Related

Show The Total Number Of Times "text" Is Entered Into A Column

Apr 28, 2008

I need a formula that will show the total number of times "text" is entered into a column and when sorted by year that would only show the total for that year. The COUNTIF formula i'm using only works for the total, not when sorted by year.

View 9 Replies View Related

Possible To Make Sum Formula Based Off Dates Entered In Different Cell?

Jul 28, 2014

How would you write a formula where the sum depends on what dates you enter in A1 and B1?

Date cells C1 to C365

A1 start date
B1 end date

Example:
A1 = 1/1/14
B1 = 1/31/14

So cells C1 to C31 will be added.

"=sum(c1:offset(c1,(b1-a1),0))

This formula works, except if you enter a different starting dates, it just counts from c1.

View 1 Replies View Related

Change Color Of A Cell For Some Time Based On Its Value That Is Not Manually Entered

Oct 25, 2012

VBA macro to change the color of a cell automatically for a specific period of time -say 5 minutes, based on the value the subject cell holds at that time. The cell value is not manually entered but comes from a sub.

There will be hundreds of such cells so that the macro must be able to be repeated for other cells utilizing their individual cell values as well.

View 9 Replies View Related

Change Font Of Text In One Cell Based On Information Entered In Another

Apr 28, 2008

if a macro or private macro is necessary, I would need basic instruction how to use those as well (I mentioned private macro as I understand they automatically run whenever worksheet info is changed, which I would like in this example.)

I'm simply trying to change fonts in cells based on the inputs of other cells. Obviously, using conditional formatting doesn't allow for this.

For my example, assume the word "MrExcel" is in cells D2, F2, H2, J2, L2, N2, P2 and R2. If I type different font names (Times New Roman, Arial, Bookman, etc.) in the cells to the immediate right of each word "MrExcel," -- cells E2, G2, I2, K2, M2, O2, Q2 and S2 -- I would like the "MrExcel" word in each corresponding cell changed to the corresponding font to the right. I would like the ability to do this for up to 15 different fonts. There will be many rows to this worksheet I need to use this process for.

Is this possible? I'm in a bit of a jam and have exhausted my knowledge of formulas in that they won't work in this case ... I'm assuming I need to delve into the unknown land (to me) of macros, private macros, or VBA.

View 9 Replies View Related

Calculate Total Number Of Characters In A Cell

Dec 23, 2004

I want to calculate the total number of characters in a cell or group of cells. Also, as a second step, I want to indicate which cells have a total number of characters greater than a certain value.

View 9 Replies View Related

Running Total From Daily Worksheet Into Monthly Total

Jun 13, 2014

I am trying to create a very basic workbook that has 2 worksheets. one is a daily input for tonnes, that then just gets cut and pasted to a different program, and the other worksheet is the running total. i.e., it adds up every time you update it.
been trying to figure out a macro so when you press the update button it then just updates the monthly total.

Colac Production.xls

View 7 Replies View Related

Write A Total Number Of Hours Each Month Into Appropriate Cell?

Jun 12, 2014

I have a base of workers which log each day their activities in hours (D01-D11). I would like a macro to sum total hours of each project (project numbers are from 320-516) and put it into the table on the left.

For example: For PERSON 1, I want that the cell I60 writes 10, and cell I74 = 6. For worker 2 (PERSON 2) would be AK60 = 3,5; AK67 = 8 and AK74 = 8.

In total where would have been 10 workers.

View 2 Replies View Related

Write Total Number Of Hours Each Month Into Appropriate Cell?

Jun 6, 2014

I have a base of workers which log each day their activities in hours (D01-D11). I would like a macro to sum total hours of each project (project numbers are from 320-1500) and put it into the table on the left.

For example: For PERSON 1, I want that the cell I60 writes 10, and cell I74 = 6. For worker 2 (PERSON 2) would be AK60 = 3,5; AK67 = 8 and AK74 = 8.

In total where would have been 10 workers.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved