Dragging Cells Changes Range In Formula Of Locked Cell?

Feb 19, 2014

I have a workbook with multiple sheets interacting with one another. On one of them the user is prompted to make lists of expenses in multiple columns. The column labels are in row one, and row two has the sums of all the cells below. I have every sheet in the workbook protected, so that only the cells that need to be modified are unlocked. The problem is that the user can drag cells around and change the range of the functions in row two (locked cells).

For example, A2 has the function =sum(A3:A100). But if the user drags the values in A3:A5 to A6:A8, the formula in A2 changes to =sum(A6:A100). Is there anyway that I can allow the user to drag cells (this could be a useful feature), but keep the formulas in the second row fixed?

View 5 Replies


ADVERTISEMENT

Leaving Blank Cells Blank In Dragging Formula Combining Different Formulas In One Cell?

Aug 2, 2014

I can't modify my formula to leave blank cells blank when dragging it down, Also, I've got two formulas that i need to combine. Please view the comments I've put in cells E4, F2,F3,H2 and I2 to understand clearly what am seeking. See the attached worksheet.

View 8 Replies View Related

When Dragging Formula Down The Formula Skips X Number Of Cells

Jul 22, 2014

Is it possible to write a formula that skips x number of cells and have the formula autoincrement as usual. For an examples lets say I want to skip 3 cells and I have entered in the cells listed:

A1= "1"
A2= "2"
A3= "3"

Then I type in the simple formula in the cell
B1= "=A1"

and then drag down but it skips 3 cells so then

B5= "=A2"

B9= "=A3"

If it didn't skip then
B1= "=A1"
B2= "=A2"
B3= "=A3"

this is just an example as I will be writing more complex formulas and need some thing that I can write into the formula so that it skips.

Something similar to this B1 "=A1(skip3cells)"

View 4 Replies View Related

Dragging Formulas: Replicate A Formula In Cells

Feb 11, 2009

If I need to replicate a formula in some cells, I usually drag it down or sideways. Is there any easier way to do this? I have large numbers of cells into which to drag the formula. Can I specify which cell range the formula is applicable to (i.e. A1:A10,000 or something) instead of dragging? If so how?

View 5 Replies View Related

How To Copy Row With Formula In Locked Cells And Insert Copied Cells In Protected Sheet

Mar 29, 2014

Have you ever copy a row with formula in locked cells & insert it in a protected worksheet?

View 1 Replies View Related

Edit Locked Formula Cells

Aug 12, 2006

I have a template that I have hidden the formulas but allowed editing. Is it possible to create a pop up box for the end user to use to edit a cell with the hidden formula? This is a budget template with already set up formulas but the end user needs to be able to make edits but the end users are beginner excel users and if they double click on the cell the formula will automatically delete leaving the cell blank. I need a way around this so they cant view the formula but only change the data if they really mean to change it.

View 3 Replies View Related

Paste Into Range But Skip Protected/Locked Cells

Feb 29, 2008

I've been trying to paste formula throughout a range of cells in the same column. Trouble is, I protect some sub- total cells and don't want the formula to paste over those sub-total formulas.

If I protect the sheet and paste the formula throughout the column including the protected cells, I would get an error message.

How can I paste the new formulas without getting into trouble of the protected cells?

View 8 Replies View Related

Excel 2007 :: Appending Sheet Number Automatically By Dragging Cells In Formula

Jul 12, 2011

appending excel sheet number in a formula. Here is the example.

In an excel book, I have sheets 1 to 50. In each sheet i have a standard format to enter the details. And in one sheet I want to keep some summary with required cells. I made a table by applying formula, for example in cell A1 i kept formula ='9'!$D$9. In this '9' refers sheet9. In the similar way i want to capture the data from all sheets.

A1 cell ='9'!$D$9
A2 cell ='10'!$D$9
A3 cell ='11'!$D$9....etc

Is there any formula to append the Sheet number automatically (like dragging the shell) intead changing sheet number manually. because it is wasting so much time.

View 3 Replies View Related

Using Static Cell While Dragging Formula Across Rows?

Aug 21, 2013

Let's say I have a value in B2, and a formula in C2. If I drag the formula from C2 all the way down to C20 (spreading it 18 times), the formula wants the value in B2, B3, B4, etc.. down to B20. How do I drag a formula, but have it always reference B2?

View 1 Replies View Related

How To Update Cell Reference When Dragging - INDIRECT Formula

Jul 10, 2014

I am using the formula below to sum across several worksheets, and the formula I am using works fine, but when I copy the formula across to other cells, I can't figure out how to have it update my cell range:

=SUMPRODUCT(SUMIF(INDIRECT("'"&$A$1:$A$4&"'!A:A"),$B4,INDIRECT("'"&$A$1:$A$4&"'!G:G")))

The range A:A is ok to be static, but I need the G:G to be dynamic so when I drag it to the right it will change from G:G to H:H. I:I, etc.

View 6 Replies View Related

How To Copy A Locked Cell Without Formula

May 13, 2013

I have created a spreadsheet that will be viewed/used by various users (read only as I have protected the sheet except from three fields), although I would like to give them the ability to copy the contents of a specific cell that is protected.

I have tried to give them the ability to select the locked cells and then copy, but that means that the formulae in the cell is copied as well.

how I can let people copy a locked cell without the formulae?

View 2 Replies View Related

Need Cells Locked Based On Text In One Cell

Aug 7, 2012

What I'm trying to do has been done before, However, all of the Code i am seeing online is not working for me...so maybe i'm missing something

I want a range of cells to remain locked unless SCP is entered. I need this done for four different selections (SCP, SD, MM, PP)

So if SCP is entered, then a certain range of cells remains locked, If SD is entered then another range of cells remains locked, so on and so forth for the 4 selections.

This was what I was working with.... However, i am not sure if i need to protect or unprotect the spreadsheet before i run the macro, also am i supposed to leave all cells locked or unlocked?

Private Sub Worksheet_Change(ByVal Target As Range)
If [B3] = "SCP" Then
ActiveSheet.Unprotect ("PASSWORD")

[Code].....

View 1 Replies View Related

Cell To Clear Contents Of Group Of Locked Cells?

Feb 22, 2013

I have created a worksheet with many calculations based on user input into several unlocked cells. I would like to create a cell that when selected, would clear the contents of this group of unlocked cells.

View 10 Replies View Related

Variable Locked Cells Dependant On Cell Change

Jan 12, 2010

I'm trying to make a spreadsheet more secure to prevent unintentional changes.

What i'm looking to do is to lock all cells so no changescan be made unless the user clicks column A.

Column A should remain unlocked and when the user clicks it i would like the entire row unlocked for editing (but only after column A is clicked)

I will run a macro to lock the entire sheet again once the sheet closes.

View 2 Replies View Related

Unlocking Locked Cells Based On Other Cell Text

Jul 5, 2012

I need to unlock and lock certain cells when other cells have data entered.

I also need to enforce in the unlocked cells a minimum value.

In my worksheet i have the below requirement

Initially Cells C6 and 7 are unlocked and Cells C5, 8 and 9 are locked

1. Cell C6 must have a value entered greater than or equal to 50, when this value is entered I need to unlock cells C5 and C9 and lock cell C7
2. Cell C7 must have a value entered greater than or equal to 50, when this value is entered I need to unlock cells C5 and C8 and lock cell C6

I also need to unlock cells C15 and 16 when C13 has "Yes" selected in the drop down menu.

View 3 Replies View Related

Locked Cells :: Change The Cell Color On The Click Of A Command Button

Mar 1, 2010

i want the user to be able to change the cell color on the click of a command button. the worksheet is protected. when the user click the command button the active cell changes to red and offsets by 1. then the work sheet is locked again.

The two problems I am having is 1. I want the range to begin from row 10, column k to column FD. all cells down

the second problem is the current code allows me to edit locked cell columns A to J ...

View 9 Replies View Related

Dragging Down Formula

Jul 14, 2009

i have a sheet with alot of data, its a contacts list. colum A is Company name, B contact name, C address, D postcode. One row = one contact. On the next sheet i want to have on column with each contact set out as if it wer on an envelope, so i did the formula:............

if i select all of this space and try to drap the formula down the next cell fills with =sheet1!A11......I want it to say =sheet1!A3. If i cant drag it down then I am going to have to manually write this formula 100000000000 times.....anyoning.

View 5 Replies View Related

Dragging A Formula With $

Dec 19, 2007

How Do You Drag This Formula Down A Column & Make It Progress And Still Have $'s

This:
=$a$1
=$a$2

Not This
=$a$1
=$a$1

I Dont Want To Have To Drag The Formula And Then Manually Put In The $'s

View 9 Replies View Related

Dragging The Formula To The End Of The Report

Jan 31, 2007

Here's my Formula:

Range("H2:S2").Select
Selection.AutoFill Destination:=Range("H2:S2702"), Type:=xlFillDefault
Range("H2:S2702").Select

This is dragging the formula to the end of the report. My dilemma is that this was captured with the macro recorder. Is there a way to change "S2702" with whatever row Column S ends with? Meaning this formula will be used on different sized reports so the numbers will vary. I just need a direct statement to compensate however large the report is.

View 9 Replies View Related

Copying A Formula By Dragging

Mar 3, 2007

I have obviously hit a combination of keys that has turned this function off. I can no longer drag and fill cells with a formula, it will only copy the original text/value into adjacent cells. How can I fix this??

View 9 Replies View Related

Lock Dragging Of Cells

Oct 22, 2008

Is there a way to protect a sheet from a user dragging a cell?

View 6 Replies View Related

Skipping Certain Cells When Dragging Down

Sep 19, 2013

I'm looking to easily drag the sum of certain cells in a different column BUT keeping a specific range, it's hard to explain so i'll show an example...

A1
A2
A3
A4
A5
A6
A7
A8
B1=SUM(A1:A4)
B2=SUM(A4:A7)
B3=SUM(A8:A11)

And so on...

Is there any way I can do this by dragging down the cell formula from B1 and it remembering the range of 4, so I don't have to manually select each range...?

View 3 Replies View Related

Increment By X When Dragging Cells Down

Jan 5, 2008

I need to check the result of the difference between 2 cells in the same column. But It needs to be done with an increment of 2 e.g. A2-A1 then A4-A3 and so on.

View 5 Replies View Related

Dragging Formula Format Not Repeating

May 26, 2006

I am having issues with this sheet. i am trying to get this formula to stick, when i drag down or across. its not holding the formula true to the first column. i am unsure of what this is called or else i would be using more specific words.

View 3 Replies View Related

Dragging Down Formulas With Inconsistent Cells

Jun 11, 2008

How figure out how to drag down a formula that looks like this for the first three cells (C3:C5)?

=(SUMPRODUCT(Polls!D2:D5,Polls!B2:B5))/(SUM(Polls!B2:B5))
=(SUMPRODUCT(Polls!D8:D11,Polls!B8:B11))/(SUM(Polls!B8:B11))
=(SUMPRODUCT(Polls!D14:D17,Polls!B14:B17))/(SUM(Polls!B14:B17))
...etc. 

Is there a way to let Excel know that I'm adding six to each cell, rather than it automatically adding one?

View 11 Replies View Related

Copying To Multiple Cells Without Dragging

Mar 14, 2013

Is there a way to copy a formula from Cell A1 down to A1500 withhout dragging the fill handle?

View 4 Replies View Related

Dragging Down Formula With Vlookup And Iferror Not Working?

Mar 26, 2014

I am trying to get this tricky formula to work with vlookup and if error. The problem is that excel will not recognize the formula when I try to drag it down, but instead repeats the same numbers over again. I've tried some combinations using vlookup, rows, and if error, but it doesn't seem to work. So I'm trying to drag down the formula from g3:g99, to reference either cells b8:99, or whichever value I enter into f1, on down to b99.

View 4 Replies View Related

How To Increment Worksheet Number When Dragging Formula

Nov 29, 2012

[URL]

I have data in worksheets that make up the 52 weeks of the year. Each sheet is numbered like this "WK1" "WK2" and so on... up to "WK52"

Each sheet is setup exactly the same so all cells are the same.

So I have a summary sheet that structures the data from all the week sheets to plot to graph all within the same file.

Thing is when I link the first cell to the first sheet say WK1 and then try to drag the formula down to the worksheet number does not increment

Tried the code in the beginning of this post and it displays the worksheet and cell number in the cell cant get the actual data to be displayed.

When I drag this formula down I want it to index the worksheet number

=WK44!$AG$14

Like this

=WK44!$AG$14
=WK45!$AG$14
=WK46!$AG$14

This is what I get in the cell when I use the formula given in the post

WK01! $AG$14

View 4 Replies View Related

Dragging Formula Horizontally While Referencing Vertical?

Oct 21, 2012

Im working on a financial forecast in ecxel and I'm trying to drag a formula from left to right, while referencing horizontal cells from a different tab:

Specifically, I have created a "loan schedule" which shows 12 monthly interest payments starting in cell B46 and ending in cell B57.

In a separate tab labelled "Balance Sheet", I would like to show the first interest payment ('loan schedule'!B46) in cell C28. Next, I would like to select the cell and drag it to the right so that the remaining 11 interest payments will be transferred into D29, E29, F29 etc. Unfortunately,the spreadsheet doesn't reference to the vertically listed interest payments from the loan schedule but instead references the cell to the right of the interest payment. Using "$" seems to be of no support.

View 9 Replies View Related

Changing Indirect Reference When Dragging Formula

Dec 9, 2012

I have been using the following formula to do conditional summing over multiple worksheets:

=SUMPRODUCT(SUMIF(INDIRECT("'"&$AB$2:$AB$13&"'!b3:b39"),$B16,INDIRECT("'"&$AB$2:$AB$13&"'!c3:c39")))

The formula works fine, but when I drag it to the next column c3:c39 stays the same. How do I get that reference to change when I drag the formula over multiple columns.

View 1 Replies View Related







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