Change Formula When Data Entered

Jul 22, 2006

There are two worksheets: Finances and Summary. On Finances, there is data input for years, quarterly. There is a cell on Summary that depends on which year is input first, in which case the cells in the formula SUM("cell1:cell4"))/4 is currently changed manually by the user by just checking to see which year data is input first on Finances. I need a macro or a formula function where the workbook finds which year is being used on Finances first, then changes the cells in the Summary formula accordingly.

View 6 Replies


ADVERTISEMENT

Change Cells Data Is Entered Into Based On Date?

Jul 19, 2014

I own 3 restaurants and I use Excel to track my sales statics. I have to enter certain pieces of data on a daily basis and it can become slightly cumbersome when dealing with the sort of washed out look of Excel spreadsheets. I wanted to write a Windows application that would handle the process for me but my knowledge of programming languages is too limited and I don't really have the time to learn. What I'd like is to have a single page on my workbooks with which I can enter the data in on a field type view, and have it go to the appropriate cell on the "Raw" data sheets in the same workbook. For example:

Let's assume this is the Raw data sheet. I currently enter the data that I need here, and Excel does the rest for me. This gets hard to look at everyday when dealing with hundreds of numbers.

Net Sales
Taxes
Prior Year Sales
Percent Increase/Decrease

[Code].....

Entering the data here would automatically fill in the data on the Raw sheet, and would know which cells to put the data into based on the date, which would of course be gotten from the =Today() formula.

View 4 Replies View Related

Excel 2007 :: Cannot Change Date Format On Data Already Entered

Jun 22, 2014

I have a SS of a WW1 casualty list and one of the columns is Dates of Birth but the data has been entered in three different formats eg 21/2/1898 or 21.2.1898 or 21 Feb 1898. I have tried to Format Cells and change the date format to the slash but after highlighting a number of fields and right clicking they will not re format. Though i use Excel quite a bit i am a general user and dont understand it in depth.

article using =DATEVALUE(

am using Office 2007.

View 4 Replies View Related

Formula: Show Nothing Until Data Entered

Oct 21, 2006

I am trying to create a simple IF/THEN statement to display profit margin for an order form. I currently have the margin formula set at (1-H14/I14). How should I structure my IF/THEN, to where it displays nothing in the cells, that are empty?

View 5 Replies View Related

Add Formula Dynamically Up To The End Of Data Entered

Jan 23, 2007

Below is the code. It seems to be creating 50 thousand rows below the data already entered in the worksheet "DELPHI DATA". What I need to do is change it to only add those formulae or pasted values to as many rows as already have data entered in them (which may eventually approach 50000, but may remain at only a few thousand.)

Sub Refresh_Current_Month() ...

View 4 Replies View Related

Copy Formula From Previous Row When Data Is Entered

May 14, 2009

This is just a sample worksheet. I have got a worksheet with having 3 coloumns A, B & C. Column A contains E Code, while Column B is of time which user will enter. Column C contains the time in Hours.
I have entered one record for example. Now, whenever user enters the value in B3, then formula from C2 should be copied to C3 i.e it should be =B3/60.

I want this to be done using VBA. Pls help me out. I want to use this feature in one of my another files which requries this feature.

View 6 Replies View Related

Extend Formula Automatically As Data Entered

May 21, 2008

I found the following code here.

For data entered into column A, it copies the formulas from columns B:E in the row above to the current row.

It works great except fot the first row (A9) where it copies the header row (B8:E8).

How can I get it to not copy when data is entered into A9?

Private Sub Worksheet_Change(ByVal Target As Excel. Range)
Dim c As Range, i As Long
On Error Resume Next
Set c = Intersect(Target, Columns(1))
If c Is Nothing Then Exit Sub
If IsEmpty(c.Offset(-1, 0)) Or Not IsEmpty(c.Offset(1, 0)) Then Exit Sub
i = c.Row
Application.EnableEvents = False
Range("B" & i - 1 & ":E" & i - 1).Copy Range("B" & i & ":E" & i)
Application.EnableEvents = True
On Error Goto 0
End Sub

View 4 Replies View Related

Fields That Containa Formula Need To Appear Blank Until Data Entered

Jun 10, 2009

i have two date fields....one date requested eg 02/06/09 (cell C10)...another date completed eg 03/06/09 (cell R10)

a third field (cell S10) contains the formula: =IF(R10-C10=0,"less than a day",R10-C10)

so if a request was actioned on the day then it shows as less than a day, otherwise will show how many days it took

but when this formula is draggeddown all other cells show - less than a day

how can i make these cells blank whilst still holding the formula?

also - is there a quick formula to add to show only the amount of wrking days a request took to complete?

View 7 Replies View Related

Extend Formula Each Time Data Entered In Column Of Next Row

Nov 30, 2012

I have a spreadsheet that requires a formula in column "e". How can I automaticlly extend the formula each time data is entered in column "d" of the next row.

View 7 Replies View Related

Make Formula Cell Appear Empty Until Data Is Entered

Jun 10, 2006

I'm creating a "universal-fluctuating" vendor inventory return worksheet for a auto parts store that consist of one criteria (cores, warranties, or N/R ) and will return one or two results of core cost and/or unit cost. This part of the task I have accomplished by using a drop down list for my criteria and my results will appear in two different columns using a Vlookup table. The problem is due to inventory fluctuating from cores and waranties on a month by month basis, vendor requiremnts differ for the number of units returned, and last make the boss happy on ink and papers supplies :D I was wondering if it is possible loop my code in a given column where it will move my code to the next row untill I reach a grand total?

View 8 Replies View Related

Keeping Cells With Formula And Conditional Formatting Blank Until Data Entered?

Feb 22, 2013

I have a spreadsheet filled with formulas that depend on a value being entered into A2, A3, A4, etc... So column A starting at A2 is where I will manually input a number and the formulas I have in columns B, C, and D will import information from another sheet based off what is put in column A. In column D the formula I have to import data

is =IFERROR(VLOOKUP(A2,Master!C:M,11,0),"").

This will import another number. Additionally in column D, I have conditional formatting that will return a red, yellow or green light based off the rule I have in place. Everything works fine, the only problem is that column D has a green light all the way down even without a value being placed in column A. I would like to find out a way to keep the cells in column D blank until a value is entered in column A. Also, if I go back and delete the value in column A, I would like the corresponding cell in column D to go back to blank as well.

View 2 Replies View Related

Change Color Only If Value Has Not Already Been Entered

Aug 3, 2009

I'm trying to create a spreadsheet with columns a, b, c, and d. "a" always has a value and I want columns c and d to change to a's color when they are given values. if "b" has a value when the data for c and d is entered, i want them to take b's color instead. The part I don't know how to do is that if i decide to give "b" a value, I don't want "c" or "d" to change colors if they already have values. e.g. if only a has a value when i give one to c, c will take a's color, but then if i give b a value then d, i want d to take b's color and c to retain a's color.

View 14 Replies View Related

Getting Value To Change When Value Entered In New Cell Of Column

Jan 11, 2010

Not sure if I can do this with a formula or not. looking to change the value of a cell when using a column. Im looking to have the cell to change each time after there is a new value entered in the column but only when a value is entered in new cell of the column.

View 5 Replies View Related

Change Color Of One Cell When Asterisk Entered In Another

May 15, 2013

I need to have the color of cell A2 change when I enter an asterisk in cell A1 to denote a critical dimension on an inspection form.

I used conditional formatting to change cell A1 orange when an asterisk is entered. Is there a way to tell cell A2 to look and see if there is an asterisk in A1 and if so change it's color?

View 4 Replies View Related

Change Cell To CLOSED When Date Entered

Jan 19, 2010

I need a script that changes a cell to say closed (uses a drop box) when a date is entered into the date column. I have attached a workbook with the basic options, obviously there will be a lot more columns and information in the original workbook and I will adding the code to at least 2 worksheets.

However to give a basic understanding if I have a drop box in column A with the options Active, Inactive and Closed. When I enter a date in Column B (headed Closed Date) I want Column A to change the option to Closed automatically.

View 2 Replies View Related

Date That Is Entered In One Column Change Dates

Aug 30, 2007

In tab 1, I am trying get column S to change to what any time date in column F, G, H, J, L, N, Q or R get changed to-

View 9 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

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

Change Tab Name Reference In Formula W/ Data Validation

Feb 16, 2010

I have a range named as follows in a formula:

BaseCase!$O:$O

I have a data validation from which the user can choose another tab.

So, how do I change the reference above to:

TabName!$O:$O

so that TabName refers to the text string in cell B2 (data val. box)

I tried to use TEXT to no avail. I imagine there is a simple solution, but I am at a loss.

INDIRECT perhaps?

View 9 Replies View Related

Can A Formula Change Based On Data In Other Cells

Feb 25, 2004

What I mean is, I have a formula that sums a specific cell across several tabs.

=sum('120:125'!C15)

Lets say that this formula resides in a summary sheet. And that the summary sheet is definable by a control in another sheet (user friendly).
So in the user friendly sheet, a user toggles to 'Assets'. In the Summary sheet, Assets appears in cell a1, there is a lookup table somewhere, and a lookup value of 120 appears in cell a2.

I want the formula above to adjust for cell a2.
If a2 = 115, then the formula should adjust to

=sum('115:125'!C15)

Of course after I understand how to do this, I can do the same with the end of the sheet range and the cell ref.

View 9 Replies View Related

Formula Entered With { } Brackets

Jan 12, 2009

I have a formula in a spreadsheet that must be entered by selecting Command (Apple) and Return. This puts parentheses around the entire formula. Example: {=A1+B1}

I have it in a SUM IF formula: {=SUM(IF('Dollars'!$A$2:$A$2546=A116,IF('Dollars'!$B$2:$B$2546=B116,'Dollars'!$E$2:$E$2546)))}

If it's not entered this way, it will not work. You cannot simply hit return for the formula to work.

Since I did this so long ago (4 years), I cannot remember what it's called; why it has to be done that way and how to do the same thing in Windows Excel.

View 3 Replies View Related

Weekday Formula: When I Change The Month, It Automatically Will Change My Formula

May 9, 2006

=CHOOSE(WEEKDAY("1 Jan " &$C$1),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")

where C1 = the year 2006. B1 has the month Jan and I want to input that into my formula, so when I change the month, it automatically will change my formula. I tried =CHOOSE(WEEKDAY("1 $B$1 " &$C$1),"Sun","Mon","Tue","Wed","Thu","Fri","Sat")

B1 = Jan
C1 = 2006

View 7 Replies View Related

Macro / Formula / VBA To Change Time Format And Data In A Cell?

Mar 7, 2014

I have a time format in one excel sheet, I need a macro or a formula to change it into a specific format, this is to be able to import it to another software.

I have attached a file here you can see an example, this I manually, I want Row D and E into the format in A, I s it possible to make it in a macro or formula, manually it takes a long time.

File Type: csv TimeFormat.csv‎

View 11 Replies View Related

Formula Hiding - Hide Zero If Nothing Is Entered?

Jun 24, 2014

In this file i want the red coloured cells not to show zero (0) or anything unless anything else is entered in the cells above.In other words I want to hide the zero if nothing is entered above.

View 5 Replies View Related

Formula To Hide Or To Stay As It Is Until Value Is Entered

May 16, 2014

In Spreadsheet A Cell H8 is entered as Item Description.

In Spreadsheet B Cell H8 is also entered as Item Description, but if the Item Description in Spreadsheet A has been changed, I need Spreadsheet B to reflect that change, if not it should stay as Item Description.

View 5 Replies View Related

Formula Which Gives Error When More Than 16 Characters Entered

Jan 16, 2009

Need a formula which will allow an error message to pop up in a cell if more than 16 Characters are entered into another cell?

However, I cant put an actual limit on the characters for this cell as if another cell is populated with anything other than bacs then it can allow more than 16. Therefore my formula needs to state something like :

View 2 Replies View Related

Formula To Prevent A Higher % To Be Entered

Oct 2, 2009

What formula can I use to accomplish the following, if it can be done.

If B9 is 100% all the rest of the % cell inputs would be 0%

If B9 is less 100% ,lets say 50% all the rest of the % cell inputs would be less than or equal to 50% until any sum of those cells equal to 100%
in which case if I enter 50% on B9 and 25% on D9 and 25% on F9 their total sum would be 100%.

If I try to enter a % on H9 it should not allow me to do it
because then the total sum on O9 would be more the the original amount on A9

View 6 Replies View Related

Formula That Updates Each Time A New Value Entered

Jul 4, 2013

I have a formula in one of my sheets that updates each time a new value is entered...

=INDEX('HR Reports Marco New'!BI:BI,COUNTA('HR Reports Marco New'!BI:BI),1)

The issue I'm having is that Column "BI" has an =SUM formula already in it and the formula above is going to the last value which is 0 but all the way to the end of the year when we are only in July...

View 4 Replies View Related

Excel 2003 :: Cell Value To Change If Date Is Entered In Different Cell?

Feb 21, 2014

I am using Excel 2003 at work.

New cases are entered on to the spreadsheet. The case remains open until a closure date is entered, at which point the case is closed. What I need is the following:

Cell A3 = should say "Open" if there is no value in cell Y3
Cell A3 = should say "Closed" if a date or any value is entered in cell Y3. Ideally it should only say "Closed" if a date is entered in format xx/xx/xx, but am flexible so that it says "Closed" if any data is input.

At the moment Cell A1 has a drop down list consisting of open and closed. I will remove this if it causes complication.

View 5 Replies View Related







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