Adding Inputted Value To Another Cell

Mar 8, 2009

I had already asked a question like this on the forum and was unable to get a working answer. I'm still grateful at the time JBeaucaire spent trying to help me. The solution we had worked in Excel 2003 but when moved into 2007, an error came up. To see the solution and the error, the previous post is at

HTML
http://www.excelforum.com/excel-2007-help/663593-adding-function.html

What I'm trying to accomplish is if a person inputs a number into a cell, A1, the value will be added to another cell, A2, then A1 will be cleared. If another value is inputted into A1, then it will be added to the value into A2 on top of all the other values inputted and clear A1 again.

View 7 Replies


ADVERTISEMENT

Display Text In A Cell That Goes Away Once Something Inputted?

Jun 18, 2013

I am making a list in excel and there are multiple cells where I want the user or customer to fill in their information. For example, In C2, the customer is supposed to enter the name in. How I can put text in this cell that will automatically disappear once they start editing the cell?

i.e. [Manual Entry]

View 3 Replies View Related

How To Lock Cell Once Data Has Been Inputted

Sep 16, 2011

Is it possible to lock a cell once data has been inputted into it??

I want to make a spreadsheet which has empty cells for reference numbers that once entered cannot be changed unless it is by the administrator.

i also want the spreadsheet to be accessed on multiple pc's by multiple users.

View 9 Replies View Related

How To Display Text In A Cell That Goes Away Once Something Inputted

Jun 18, 2013

I am making a list in excel and there are mutliple cells where I want the user or customer to fill in their inormation. For example, In C2, the customer is supposed to enter the name in. How I can put text in this cell that will automatically disappear once they start editing the cell?

i.e. [Manual Entry]

View 1 Replies View Related

Hide Rows Based On Cell Value Inputted From Another Tab

Dec 13, 2013

In this example on Sheet 2, I'm trying to hide rows 1-6 if 'E6' is 0, and hide rows 15-26 if 'E18' is 0. These cell values are equal to the same cell in Sheet 1.

I've tried different codes I've found online, but I'm not very experienced with VBA so I can't get it to work. I can get rows 1-6 to hide, but it doesn't do it automatically whenever a zero is inputed into Sheet 1. It only works if I enter something into another cell on Sheet 2.

VB:

Private Sub Worksheet_Change(ByVal Target As Range)
If Range("E6") = 0 Then
Rows("1:6").Select
Selection.EntireRow.Hidden = True

[Code]...

View 5 Replies View Related

Changing Auto Filter Based On User Inputted Cell

Apr 7, 2007

I have a Workbook that has 2 worksheets, one called CALL QUERY and one called CALL LOG. On the CALL QUERY sheet, cell D9 is a user inputted cell with the cell validation set to list. The user uses the dripdown list to pick an office identifier (3-Letter Code).

On the CALL LOG sheet, I have info about individual calls. Column E has the 3-letter office identifier for each call.

I am trying to find a way to automatically auto filter the list on the CALL LOG sheet with the user input in cell D9 on the CALL QUERY sheet.

I was given the following (N2 is a cell on the CALL LOG sheet that equals the user inputted cell D9 on the CALL QUERY sheet)

View 14 Replies View Related

Lookup Formula: Commission Calculation To Be Done Automatically Once Data Is Inputted In Cell

Mar 25, 2009

I am trying to come up with a formula that will allow the commission calculation to be done automatically once data is inputted in cell A2 and E2. I have tried IF statements, but can not figure out how to make it work. I am not able to figure out how to get cells F9 and F19 to work with the proper formula.

View 4 Replies View Related

Excel 2013 :: Making Numbers Display With Color Based On Text Inputted In Different Cell?

Nov 20, 2013

EXPENSE MASTER 2013 sample color.xlsx

I have numbers that will display in column G. I have payment types entered in column E. So if 'C FUEL','FA','C M/C', is entered in column E I want the number in column G to be red.

View 3 Replies View Related

How To Add New Row With Inputted Data

Dec 26, 2011

On my soccer spreadsheet, I currently have a sheet for entering results, and I have a separate sheet where all the match data is housed. Below shows screenshots of this:

This is the sheet where the user can choose the teams, the season and enter the result of the match. In this example, Arsenal v Aston Villa has been selected from the drop down menus, and on the far right shows the result of the match (ignore the prediction result, not relevant). The user is able to change the result of this fixture using the 'Enter/Change Result' macro button.

The userform used to change a result:

The sheet where all the match data is housed:

So when the user changes a result, the data gets transferred to the results sheet above.

The problem is, as things stand, the user CANNOT enter new results. They can edit current results between two teams for any season in which a game has been played.

This is why I would like to know how to be able to do this. What this would involve is the user inputting a new result between any teams, and the data they enter within the userform getting transferred to the results data worksheet. Basically, everything revolves around the concatenated references which contain the team reference numbers and the season. A new row would have to be created for a new result.

For example, if I wanted to enter a result for Arsenal v Aston Villa for season 2011/2012 (not yet played), the user would select the relevant options in the drop down menus, enter the result, season and date - then that data would be dumped in the results worksheet within a new row in the right place. The data in the 'Lookup' column of the results sheet would need to update accordingly, so that the most recent to the oldest fixture is in chronological order (1v2-1: the '1' means the most recent fixture, currently that is present for the 2010/2011 fixture but would need to be updated to '1v2-2' if the new result is inputted.)

View 1 Replies View Related

Userform To Post Inputted Data Into New Row

Oct 24, 2013

I am creating a 'add supplier' userform, in which i open the userform, type in the new suppliers information, then press submit.

The problem is that the data i enter deletes the data that i previously entered into row 26 instead of posting the data into a new row (I wish it to be 27, then 28, etc)

Here is my current code for the userform

VB:

Private Sub CommandButton1_Click()
nextrow = 26
Sheets("Suppliers").Cells(nextrow, 3) = UserForm5.TextBox1.Value
Sheets("Suppliers").Cells(nextrow, 5) = UserForm5.TextBox2.Value
Sheets("Suppliers").Cells(nextrow, 6) = UserForm5.TextBox3.Value
Sheets("Suppliers").Cells(nextrow, 7) = UserForm5.TextBox4.Value

[Code]....

View 2 Replies View Related

Making A List Of Names From Inputted Data

Nov 10, 2008

1. Is it possible for this hyperlink box to only be displayed when ALL the questions have been answered? i.e. All drop down boxes have been used?

2. Is it possible for the result (along with their individual names and scores) to be saved on another sheet? This of course would be supplemental (i.e. When the next person finishes the test, their name would be next on the summary etc.)? I would then have a whole list of who had taken the test...when...and what their score was!

3. Finally, and I know I'm pushing my luck, but is it possible for this summary sheet of names and scores to be hidden?

View 9 Replies View Related

Summing All Rows In A User Inputted Column

Feb 2, 2009

I need to sum all the rows, except the header row, of a column inputted by the user. The column will be located in a worksheet dubbed SourceSheet.

Here's a few pieces of code related to what I am trying to do. The header row is always row 1. So the rows I'm summing are always 2 - myrows.

View 6 Replies View Related

Delete Rows Based On Inputted Date

Dec 19, 2006

I need to have a User input a date via an InputBox, and then based upon that date, delete rows based on values in Column G. For instance, if a user inputs 12/25/2006, I need to delete all rows that have the date that is less than 12/25/2006 in Column G. There will never be more than 500 Rows of data, and there is data in Columns A thru Z

View 4 Replies View Related

Macro Which Cycles Through User Inputted Values And Prints Sheet

Jun 21, 2014

I'm looking to create a macro which displays a user entry box where the user can input a starting number and then input an ending number. The macro will then cycle through that range inputting each value into a specific cell and perform a print function. It will continue doing this until the last number in the range.

E.g.
Min. Number inputted = 1
Max. Number inputted = 80
Macro will not cycle through that range:
Input 1 into Sheet1 Range A1
Print Page
Input 2 into Sheet1 Range A1
Print Page
.....Continue doing this until it reaches 80

View 3 Replies View Related

Excel 2003 :: Get Give Each Row Inputted Unique Number For Later Editing?

Mar 14, 2014

I have created a workbook to input, store and part edit defects on plants and machinery by userforms. I have everything working except either picking up a number I have pre-loaded into a column or auto generating a number onto the inputting userform. I need a number in the userform to be either generated in the next empty row in column I or taken from the numbers in the next empty row I have loaded into column I. Password is snatch.

Input 2003 test1.xls

View 3 Replies View Related

Return The Column Number Of First Column In A User Inputted Range?

Feb 19, 2009

I'm creating a macro that creates a co-ocurrence matrix from variables that are adjacent to each other.

In order to proceed, I need to know how to return the column number of the first (leftmost) column in a range that the user selects.

View 2 Replies View Related

How Do You Protect Cells On Condition Of Other Cells Having Data Inputted

Dec 4, 2006

way of protecting an array of cells on the condition that information is entered in another array of cells or vice versa. So, put simply, if data goes into a1 then a2 becomes protected (or vice versa).

View 14 Replies View Related

Adding A Date To One Cell Will Insert Close In Another Cell And Add Color To That Cell?

May 6, 2013

I would like to add a date to one cell (say A6) and have this do two things:

#1) this would add "Closed" to a given cell such a A5.

#2) and this would add a color to a group of cells like A1 through A8.

View 4 Replies View Related

Get Calculated Time To Equal Inputted Time

Dec 3, 2008

I put in cells across columns that start with a date (12/1/08) and add an hour for each cell by using (B1+"1:00"). So, 12/01/08 at 1:00 AM will be in cell C2. In the first column, dates with times are typed in (12/1/08 1:00 AM). For this example, this will be cell A2.

Formula is =if(C2=A2,1,"")

Expected result is "1". It does not happen. If A2 is copied to C2, then, of course, the result is "1". Why does calculating a time differ from entering a time??

View 5 Replies View Related

Inserts New Row And Also Inserts New Sheet With The Rows Name That Was Inputted

Jan 8, 2007

(1) My main tab I have a macro button that inserts a new row and also inserts a new sheet with the rows name that was inputted. But on the main tab in cell A1 that is named, I can not get it to hyperlink to the new tab.

(2) When the button is hit to insert a new row and sheet I copy over previous tabs information and then I want to change two fields A1 and B1, A1 works fine but my B1 I can not get the formula to work correctly. My cell in B1 I need it to say 'DESCRIPTION: ' and then take the value of main tab 'Test Case Summaries' cell D?, it would be the new line and copy it here. See below... rname is the new tab name and lrow is the new row that was added when the macro button is hit.

t = Sheets.Count
Sheets(t).Copy after:=Sheets(t)
ActiveSheet.Name = rname

Sheets(t + 1).Range("a1") = ("Test Nbr " & rname)

Sheets(t + 1).Range("b1").Formula = "DESCRIPTION: " & "!$D$" & lrow

View 9 Replies View Related

Autofill Cells On One Sheet When Cells On Another Are Inputted

Mar 21, 2007

I have got the task of doing the results for a local athletics mid-distance event once again and im fed up of doing it the present way. Basically i have a sheet which i input the race registrations which has the following collums: Number, Name,School,

and i have another sheet for results which have: Position,Number,Time. I then have to merge the two in a magical way and i get the results. However what i want to do is have the first sheet the same but the results sheet would be different reading: Postion,Number,Name,School, Time

But when i input the number, it will check with the other sheet and automatically fill the rest of the boxes (bar position and time) hopefully. Using my knowlegde i gathered at college(fairly average knowledge of vb) i still cant get it to work the way i planned. Is it actually possible to do, or should i go to my pet hate access?

View 2 Replies View Related

Adding Timestamp And Username To Cell After Previous Cell Edited

Apr 24, 2014

Trying to get a record of who authorized spending in one of my worksheets and when they did it

I had some VBA code in one of my worksheets which added a time stamp and a user ID to two different cells after the user enters their name. Why it is no longer working, though I suspect after moving the worksheet around.

I would like my users to type their name into cell G65 (which is actually merged from G65-K65). Once the user enters their name, cell L65 (which is actually merged L65-O65) populates with the current time stamp. Also, when the user enters their name into cell G65, I would like cell P65 (which is actually merged into P65-S65) to auto populate. I would like this all of this to go down through line 70.

View 1 Replies View Related

Adding Color And A Value To A Cell Based On Contents In Another Cell

Apr 28, 2014

I have values in a number of cells. Next to them, if there was a value, regardless of what the value is, except blank or zero, i would like the cell to turn blue and if possible have a 1 in the cell.

I've used the conditional formatting, however, among the options, 'less than' is the closest to to getting the color right. The issue is that if the cell has nothing in it, it still colors the corresponding cell blue; because it is not less than the already blank cell. If it is blank, I don't want it to color the cell.

View 1 Replies View Related

Increasing A Value In A Cell By Adding A New Number To A Connected Cell?

Mar 28, 2009

First I would like to say that I am not English nor very good to explain myself so hope the title is according to the forums rules. Now to my problem

I would like to to put in for instance the number 100 in cell A and then the number should appear in cell B. I would like to remove the number in cell A without the number in cell B to dissapear. Then add for instance 50 in cell A to get the number in cell B to add up to 150 and so on. How can I do this? I would like to add that cell B is already connected to a different cell. And I am using Vista.

View 5 Replies View Related

Adding Time: Adding Individual Cells Works, But SUM Doesn't

Mar 28, 2008

I have a column of times: e.g. 10:03:00 and I would like to add them all up.

=A1+A2 works fine.

=sum(A1:A10) does not.

View 14 Replies View Related

Adding Dim'd Variables: Ignoring Strings & Adding Number

Jan 13, 2007

I've got a problem involving several Dim'd Variables needing to be added up, they're all Dim'd as Variants though as they can be either strings or numbers at any time.

I need a formula (VBA) to add them up (to add their actual numeric values - not just a "1" if they contain a number) and ignore them all together if they contain string values.

View 9 Replies View Related

Adding Data With Userform: Check For Duplicate Before Adding

Feb 14, 2007

I have a userform that I'm using to add data to a worksheet, with the following

Private Sub CommandButton1_Click()
Dim OutSH As Worksheet
Set OutSH = Sheets("Sheet1")

OutSH.Cells(nextrow2, 1).Value = Surname.Value
OutSH.cells(nextrow2,2).value = ID.value
OutSH.cells(nextrow2,3).value = Date.value
......
I need to ensure that duplicate entries are not made for the same person on the same date. The ID is unique to each person.

IF statement that can check for a duplicate and then come up with a dialouge box with some custom text, and then exiting the sub?

View 9 Replies View Related

Adding Date To Cell If Another Cell Status Changes?

May 9, 2014

I have an excel file that we add data too for assignments and I want the date to auto popuate if the status is changed to Mitigated, Escalated, or offline. I wrote the below function which works but when i open it the next date the current date is written to those cells. creating a function that writes the date when the status is change and then leave the date alone unless the status is changed again.

[Code] .....

I have attached an example of what i have and below is the function

Example.xlsx‎

View 3 Replies View Related

Adding One Of The Cell Value In Table1 By Value In One Of The Cell In Table2

May 7, 2014

I want to Adding my one of the cell value in Table1 by the one of the cell in table 2. and i will do the same thing with another cell in Table1. but it will take so much time to do it because my Table1 Has 9 Cols and 200 Rows. And Table2 has same Cols and Rows like Table1, too How to make it faster?

View 4 Replies View Related

Adding Formulas To Cell From Non Empty Cell?

Jun 14, 2014

So i was asked to do a spreadsheet for "counting" electrical items from a project. For instance, quantity of cables, cable trays, electrical equipment, etc.

One of the sheets is called "Cables" and is structured in a database form, i mean, the first row contains the name of the columns (fields) and from the second row will be the records (much like a table in Excel).

One of this columns has to be calculated, for example, Qty (B3) * Measured (C3) = Subtotal (D3). If i put the formula in the whole column filling D:D the size of the excel file grows up to 10 mbs. So to keep the size small, I want Excel to introduce this formula only if it can find a value in Qty (B3).

Is liking adding records in Access, the table should grow with each row completed. We cannot use access, it has to be something the team can handle (they know a bit of Word and Excel, nothing else).

View 2 Replies View Related







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