Forums

General Betting

There is currently 1 person viewing this thread.
MR. 69
28 Feb 10 08:51
Joined:
Date Joined: 15 Oct 06
| Topic/replies: 140 | Blogger: MR. 69's blog
Lets say I put the following formula in A3 since I want A3 to read whatever is in A1

(=A1)

If then A1 is cut and pasted elsewhere the formula in A3 no longer reads (=A1)

Is there anyway to make A3 always read whatever is in A1 regardless if there is any cutting and pasting going on.

Thanks,

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
sort by:
Show
per page
Replies: 34
By:
MR. 69
When: 28 Feb 10 09:02
By the way, I tried (=$a$1) but that didn't work
By:
modk
When: 28 Feb 10 09:13
it should work, when you copy/cut the foruma "=$A$1" and put it in a different cell what does the forumla say?
By:
modk
When: 28 Feb 10 09:14
and are we talking about cutting and pasting across different Tabs in Excel?
By:
starfish and coffee
When: 28 Feb 10 09:19
Instead of cut and paste, if you copy and paste, then delete A1, the formula in A3 stays the same
By:
fkqmz
When: 28 Feb 10 09:51
paste special, formulas
By:
Lori
When: 28 Feb 10 09:56
try indirect(a1)

I must admit I've only ever used indirect once before though!
By:
MR. 69
When: 28 Feb 10 10:18
modk,

when I cut and paste the new formula reads the new paste location. I am actually not cutting. I just wrote that to simplify the problem. Things get messed up when I use the sort function and the cell contents get moved around.
By:
starfish and coffee
When: 28 Feb 10 10:25
Same happens when you drag cell to a new location, formulas related to that cell go awol.
Cant see any problem with copy and paste or the other suggestions
By:
MR. 69
When: 28 Feb 10 10:31
Starfish, that would work if I were simply cutting and pasting, but I am using the sort function which is essentially the same as cut and paste. Lori, I tried the indirect function but I don't think it works in this case.
By:
Lori
When: 28 Feb 10 10:38
Sorry mr. on further reflection indirect is a bit different to that, it keeps the same a1, even if you insert extra lines which is different :(
By:
Lori
When: 28 Feb 10 10:39
When you're sorting, do you have any gaps? For instance columns a,b,c,d then a space to make it better viewing, then f?

I find that sometimes really buggers things up
By:
starfish and coffee
When: 28 Feb 10 10:43
In those cases I always get the specific value in the cell by using C&P then value before doing the sort. If you want to retain the original formula you could introduce an extra column for that purpose. Dont know if that is practical for you
By:
MR. 69
When: 28 Feb 10 10:51
Thanks for you help. No, I don't have any gaps, Lori. I have one worksheet which I want to be automatically updated with the values from another worksheet. However, the data in this other worksheet is continuously moved around by sorting.
By:
modk
When: 28 Feb 10 10:55
I stil dont understand what you mean.

If the following is in cell A3

=$A$1

Then it will display whatever is in A1

If you copy/cut and paste that into and different cell, say A10 what does the foruma say and what is displayed in the cell?
By:
Ghetto Joe
When: 28 Feb 10 10:58
You can give a cell a named reference that can then be accessed anywhere within that workbook , so no need for sheet1A1 type of stuff

Go to the cell you want to keep track of and you'll see at the top of the screen a little white box just above A1 shows the cells address. Click on that reference and ttype in whatever name you want to reference that celll as i'e' call it STAKE. Whenever you want to access that cells value you can just enter =STAKE in any other cell within the whole of the workbook
By:
Ghetto Joe
When: 28 Feb 10 11:04
MR. 69 looks like $A$1 isn't working for you as you're value is on a separate sheet that isn't referenced, if you want to use that method you need to reference the sheet also

Sheet1!$A$1

named references are much easier to keep track of =B2*STAKE
By:
MR. 69
When: 28 Feb 10 11:27
modk. if the value is pasted to cell A10, then the cell will read =$A$10. Joe, I'm not sure how practical this method is since I have data in several thousand cells in this worksheet.
By:
Ghetto Joe
When: 28 Feb 10 11:35
Np Mr.69 not quite sure what the problem is with using $A$1

Lets say I put the following formula in A3 since I want A3 to read whatever is in A1

(=A1)

If then A1 is cut and pasted elsewhere the formula in A3 no longer reads (=A1)

Is there anyway to make A3 always read whatever is in A1 regardless if there is any cutting and pasting going on.

Thanks,


If you only want to track what is in A1, regardless of the original content being pasted elsewhere then either giving A1 a named reference or accessing A1 via a static reference (Sheet1!$a$1) will always show the value of what's in A1 regardless of the original content being moved elsewhere. Having thousands of cells in the workbook won't affect those.
By:
Ghetto Joe
When: 28 Feb 10 11:43
Are you actually trying to keep things relative after copying and pasting ? i.e. you're tracking A3 but when sorted it moves to A1 ?
By:
Ghetto Joe
When: 28 Feb 10 11:44
or just tracking the new value of A1 after everything has been pasted ?
By:
Compound Magic
When: 28 Feb 10 12:02
TRY this formula in cell A3
=OFFSET(A3,-2,0,1,1)
By:
MR. 69
When: 28 Feb 10 13:22
Yes Joe. I want the cell to show the new value in A1 when everything has been sorted.

Compound Magic. I don't understand how that works but it does. So what would the formula be in Sheet 2 A10 if I want it to read whatever is in Sheet 1 A10?
By:
Compound Magic
When: 28 Feb 10 13:38
=Sheet1!A10

The offset is telling cell A3 to read 2 cells above which is the -2
The 0 after the comma tells A3 that it is in the same column
the next 1 tells it to put the answer in the same row as A3
and the next 1 tells it to put the answer in the same column as A3
By:
Compound Magic
When: 28 Feb 10 13:50
If you are having the same problem as before with
=Sheet1!A10

Try
=OFFSET(Sheet1!A1,9,0,1,1)
By:
MR. 69
When: 28 Feb 10 15:29
Thanks Compound. that worked perfectly until I wanted to delete cells after I had sorted them. After deleting I started getting the REF# result in the cells. Is there anyway around this, so that I can both sort and delete?
By:
Compound Magic
When: 28 Feb 10 15:36
Instead of deleting a cell or row use clear. That leaves the cells where they are
if you delete a cell it moves other cells with the references no longer valid.

You can still sort. Did you try ~
=OFFSET(Sheet1!A1,9,0,1,1)
By:
Compound Magic
When: 28 Feb 10 15:45
If you have a blank row after sorting and clearing that row between rows of data just
do another sort to put the blank row to the bottom.
By:
Compound Magic
When: 28 Feb 10 15:48
Are you using excel 2007?
By:
MR. 69
When: 28 Feb 10 16:10
EXCEL 2003
By:
MR. 69
When: 28 Feb 10 16:13
Unfortunately I am running a macro that helps me delete all rows where the 1st cell has a 0 value. I don't think it is possible to do this by clearing instead of deleting.
By:
Compound Magic
When: 28 Feb 10 16:24
Excel is great as you say you can do just about anything with it
I don't have excel 2003 so I am not sure where everything is located.

Without seeing what you are sorting and on which sheets it is hard to give
answers. Most of what you do would probably be more easily manipulated with
VBA (Macro's)

I will be online only for another 10 minutes or so. If you still have problems will try to help tomorrow.
By:
Compound Magic
When: 28 Feb 10 16:33
Rows ("19:19") . ClearContents
Instead of Rows ("19:19") . Delete Shift:=xlUp
By:
modk
When: 28 Feb 10 16:36
for spreadsheet integrity, you should never really be deleting rows/columns in excel.
By:
IanP
When: 28 Feb 10 16:43
You probably need to get the macro to delete the cel(s) rather than entire row.
sort by:
Show
per page

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
‹ back to topics
www.betfair.com