Fix Formulas In Cell So Can't Be Altered
Jan 10, 2013I need to fix formulas in cells so that this can't be altered by others or mistakenly erase formulas.
View 2 RepliesI need to fix formulas in cells so that this can't be altered by others or mistakenly erase formulas.
View 2 Replies[Code] ....
User 1 will enter date in column AA, then data needs to be copied to column CY (data in CY must not change again). I have a if formula that check if any AA and CY is the same. If any changes was done, it will give the cell a "YES" trigger to send a mail.
I think the .value is incorrect.
How color the cell autmatically when the existing data is altered. the same needs to be done with the entired column
View 9 Replies View RelatedI'm using the function Proper(A1) to clean up some columns that have some entries in all CAPS. It works fine. What I'd like to do now is get rid of the original column and just keep the altered one. Of course since the original is the source for the new one, when I delete it the new one goes nuts.
View 3 Replies View RelatedI have all my info in a hughe ammount of books and they are all linked b/w them (about 15 books with 5-10 sheets each), the big issue is this:
Every time someone changes anything in any book most of my links get broken or they grab the wrong info, it takes up to 5-7 hours just to find the cell/column/etc. that got changed to fix it.
I've been thinking in protecting all my books and sheets and only allow users to change certain data by unprotecting specific cells, and then create a macro that open/unprotect all books/sheets so when a major structure/formula change is needed, all files linked to that book are open (cause I belive excel updates their formulas-links when they are open).
then create another macro that protects every single sheet of all books, saves and closes them...
questions are:
1. Is this ok?, or am I just wasting my time?
2. Is there a shorter easier way to prevent this from happening (broken links)?
I am using this piece of code (supplied by a Board member ) to rename a sheet. If the sheet already exists then this piece of code gives the option to name it as Sheetname (2).
Here it is: ...
if the Paste Special pop up menu can be altered?
I am sure this is not the correct terminology... I am referring to the options that are available when you select Paste Special.
I want to change it so that the only option under Paste is Values. Can this be altered via VBA or is there an option somewhere within Excel to alter this menu. Hope this makes sense to whomever is reading it...
I figured out exactly what I wanted to do and got it to work in a test excel sheet. However, when integrating it into the actual workbook I wanted, I was unable to get it to work. So, I used the same cell references I need to work in my actual workbook and pasted it all back to the test excel sheet.
So, the test excel sheet has the working formulas up at the top, and a duplicate of what I need to work in the actual cells I need them to work in. Changing the shift start time should group any persons with the same shift togethor. I'm still fairly new, but I think the only portion that could have been changed is the portion that says 1:1.. I figure that is relative to the array so it shouldn't be changed, but not sure what else to do.
Here's an array formula that works:
[Code]....
Here's the array formula to be in the correct cells that doesn't work:
[Code] ....
How to to get it to work in the different cell area.
Attached File : Shift.xlsx
I am trying to create a trigger event that opens an email when a particular row is altered. This all worked fine, until I tried to take it a step further and insert information from the spreadhseet into the email aswell.
I receive Argument not optional.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 10 Then
Call GenerateEmail(Target.Address)
End If
End Sub
[Code]....
I am using a lot of linked reports that have to be rewritten each month. For example smaller formulas look like this:
=('S:PUBLICProductionJob CardsMOLDING201311 November[440A SIDE SPOILER JOB CARD.xls]Production Parts'!B$228*2)+'S:PUBLICProductionJob CardsMOLDING201311 November[440A SIDE SPOILER JOB CARD.xls]Production Parts'!B$262+'S:PUBLICProductionJob CardsMOLDING201311 November[440A SIDE SPOILER JOB CARD.xls]Production Parts'!B$292
What I want to do is extract the file path from the above formula and make it a composite of several cell references.
So what I need is to have a cell where they can change the month and another where we can change the year. So I set up several named cells that look like this:
_MONTH =11 November
_YEAR =2013
_JOBCARD ='S:PUBLICProductionJob CardsMOLDING
_PATH =_JOBCARD & _YEAR &"" &_MONTH
I tried several versions, I am hoping for something like this:
=('_PATH &"[440A SIDE SPOILER JOB CARD.xls]"Production Parts'!B$228*2)+'_PATH &"[440A SIDE SPOILER JOB CARD.xls]"Production Parts'!B$262+'_PATH &"[440A SIDE SPOILER JOB CARD.xls]"Production Parts'!B$292
I've found a few macros that will automate changing cell references from absolute to relative and they work great. However, when I run the macros on formulas that have references to another worksheet or workbook, the macro will not work correctly.
View 9 Replies View RelatedI'm trying to automate creating certain keyword combinations I need, based off of the values I input into reference cells in columns A - E; the goal is to compile a list of keywords which I will then use to track my rankings in search engines.
I'm looking to only output 500 keywords, so some of the cells in columns A, B, C & E will not contain data (column D will always have a primary Geo-target listed). This results in some of the concatenate formulas I've created outputting partial data (i.e. if there is no data in cell A10, and cell D2 contains the word "Knoxville", then cell I10 will output the data, "Knoxville "). How can I setup conditioning formatting or a formula so that these auto-generated cells appear blank if one of the reference cells has no data within it?The reason why I need the above to work is because I want to setup a formula that automatically counts the # of keyword combinations created by the data entered into any of the reference cells. With the partial combinations being listed, it skews my data. Which leads me to my next question: what is the best formula for counting the # of cells containing a full keyword combination from any of the cells listed in columns G - O (minus the data in the header cells; i.e. G1, H1, etc...)?Lastly, is there a formula I could use that would then aggregate all of the full keyword combinations within the "Complete Keyword List" column (column P)?
I am running Excel 2007 on Windows Vista Business 32 bit. Recently I have noticed that if I enter a formula into an empty, unsused cell, it is recognized as a formula. If I modify that formula, it is then recognized as text and does not work as a formula. The only way I can get the cell to recognize a formula is to delete the cell and start over. This same scenario does not occur on previously stored workbooks. I have checked all of the flags that I know about, including the Options function.
View 3 Replies View RelatedI have a macro running this code to strip out unwanted formulas and formatting.
Sub Quote_Wrapup()
'To stop screen flicker
Application.ScreenUpdating = False
Range("CDandC").ClearContents
Range("qdata5,qdata6").Font.ColorIndex = 2
'To delete delivery address lines if 1st line empty
If IsEmpty(Range("deliver_line1")) _
Then Sheets(1).Range("deliver_rows").EntireRow.Delete
'No End If required as only one action as a result of the If
Range("Item_Nos").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
Columns("A:E") = Columns("A:E").Value .........................
A spreadsheet based on my template has been sent to me because the macro won't run properly. When I try to run the macro I get a Runtime Error '1004' Method 'Range' of object '_Global' failed on the following line. Columns("A:E") = Columns("A:E").Value.
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).
I am trying to get two formulas to work in one cell?
=E2/(1-40%)
and
=If(CEILING(E2,0.05) = CEILING(E2, 0.1), CEILING(E2, 0.05)-0.01, CEILING(E2, 0.05))
I am trying to clean up a databse and I was wondering if anyone knew of an answer to this:- In Cell C,17 I have this function, ROUNDDOWN(A17/$C$8,0), and in the cell next to it I have ROUNDDOWN(C17/3,0)*3. As you can see, I need the result of C17 to make the other formula work, but I want to have the function as one formula. I am having trouble in writing the formula for the function to work. It should go something like ROUNDDOWN(A17/C8,0)/3(*3) but so far I have not had any lick in achieving a result.
View 4 Replies View RelatedI need for one cell to be able to perform 2 functions. Specifically, I need B2 to equal B2 minus C2 but also update and equal B2 plus E2. I need for there to just be one value in B2, but reflect the difference. I'm building a spreadsheet to show stock for my department and B2 is my on hand stock. C2 is the number used and E2 is the number I deposited back, or received from my reordering. Is there any way to make that one cell reflect those 2 functions?
View 1 Replies View RelatedIs it possible to hide formulas from the formula bar while still having the formulas active?
View 8 Replies View RelatedTrying to merge two formulas in one cell. I have two cells with different formulas in them. I try to merge both formulas in a third cell to show different results. Depends on the case. All solutions found in searches made by me does not fit my case. I can not use pivot table and not concatenated. Just a simple merge both formulas in a third cell if possible.
Case1 :
VB:
=If(ISERROR(MATCH(A3;FOLHA2!C2:C5;0));"";INDEX(FOLHA2!E2:E5;MATCH(A3;FOLHA2!C2:C5;0)))
join to
VB:
=SE(�.ERRO(CORRESP(A3;Folha2!C2:C5;0));"";�NDICE(Folha2!I2:I5;CORRESP(A3;Folha2!C2:C5;0)))
Case2 :
VB:
=If(ISERROR(MATCH(A3;FOLHA2!C2:C5;0));"";INDEX(FOLHA2!G2:G5;MATCH(A3;FOLHA2!C2:C5;0)))
join to
VB:
=If(ISERROR(MATCH(A3;FOLHA2!C2:C5;0));"";INDEX(FOLHA2!K2:K5;MATCH(A3;FOLHA2!C2:C5;0)))
I'm working on a project whereby ranges of values are "scored".
The current layout shows ranges of within cells, and a hidden row with single values for the formulas to utilize. This means that whenever ranges are adjusted, the singles values also have to be changed.
I've attached a portion of the spreadsheet as an example.
Is there a relatively simple way to have the formula recognize the ranges as values and "score" accordingly?
If there is, can this be used for both ascending and descending ranges?
I should add that the ranges are not always percentages.
I am looking at combining 2 formulas and have them in a single cell. Currently I am using this one =IFERROR(IF(S3-V3=0,"Completed within agreed time!",S3-V3),"") if the value =0 but need another one if there's no value in V3 it would say "Outstanding" I have tried to add IFBLANK to the existing formula but I must be doing something wrong as it doesn't work.
View 1 Replies View RelatedI am trying to write a formula so that:
if J9<10, display 00000
if J9 is between 10 and 99, display 0000
if J9 is 100-999, display 000
if J9 is 1000-9999, display 00
if J9 is 10000-99999, display 0
if J9>99999, the cell is blank (Note, it will be okay if this last one is not possible)
So far I have IF(AND(J9>9,J9<100),"0000","000"). So it works for numbers between 10-999 right now.
I have two cells with different formulas in them. I try to merge both formulas in a third cell to show different results. Depends on the case. All solutions found in searches made by me does not fit my case. I can not use pivot table and not concatenated. Just a simple merge both formulas in a third cell if possible.
[Code]....
Attached File : example.xlsx
I need to create a drop down menu or something of that sort, that allows the user to select what units he wants his results to be in.
When a particular units system is selected, the results must be recalculated and displayed in their respective cells.
No matter which units are selected, the units must always be displayed in the same set of cells, that means the formula or reference in the set of those output cells must change automatically, based on the units selection.
i have the following formulas that work perfectly seperatly
=MAX(0,(E28-D28-"0:45")*24-F28)
=IF(C28=$C$70,C28=$C$72),2,0)
but it is imperative that i get them to show there results in the same cell.
neither are used at the same time, only one result is required depending on what is needed.
i did try putting them together as follows but did not work
=MAX(0,(E28-D28-"0:45")*24-F28),IF(C28=$C$70,C28=$C$72),2,0)
I have the following code which copies certain cells if the Target value ="Yes". The Offset cells have formulas in them. If the Target value ="No", I would like to keep the value but remove the formulas. The problem is that highlighted code doesn't do what I expected.
Code:
Option Compare Text
Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
If Not Intersect(Target, Range("J:J")) Is Nothing Then
[Code] ........
I'm writing a custom function, and in the function i want a reference to the cell that the function is entered in, how do i do that?
View 7 Replies View RelatedIs there a way to use multiple formulas for just one cell without damaging the others?
View 9 Replies View RelatedI have compiled a spreadsheet and it has columns for the days of the week, Mon through Fri. I have written a formula in R9 which will add a range of comments in the Recommended Actions column (R) depending on what is entered in I9:M9. So far so good
Unfortunately when I enter anything in I9, then enter something else in J9 the "Recommended Actions" just adds another comment after the previous comment in the same cell as the formula in there references I9 & J9 & K9 & L9 & M9.
Can you think of a way to set it up so that when I enter something in I9 then enter something else in J9 it changes the "Recommended Actions" from the old comment to the new comment or deletes the old comment before adding the new comment?
Formula:
=IF($I9="OK","Working ok",IF($I9="No Modulation","Check Profile and modulation",
IF($I9="FLD","Check pulse unit and meter operation",
IF($I9="No Data","Check Comms",IF($I9="Low Pressure","Check pressure on outlet",
IF($I9="High pressure","Check outlet Pressure",
[code].....