I don't know if stackoverflow is the right place for this question:
I have an Excel table with values in the cells C3, G3, K3 and so on...
Now i want to copy these values in the cells B27, B28, B29 and so on...
Can I manage this in the Excel command line or do I need to write some VBA code?
(I'm using Office 2010)
Put this in cell B27 and copy down as far as you need: =OFFSET(C$3, 0, (ROW()-27) * 4)
I may be misunderstanding the question, but in excel you can simply reference a cell to get it's value, so in C3 enter =B27, and the value from C3 will appear. Repeat for the other cell values you'd like to copy
Related
I'm working with an Excel spreadsheet and noticed something interesting.
When there's nothing in cell A1, there's no formula or value in cell B1.
When I enter a value in cell A1, cell B1 generates a formula by itself.
The same thing applies to entire columns A and B.
Does anyone know what function in Excel can make this happen?
I have cells O4: P23 blank in 'Sheet1'. I want the contents of these cells to be populated with the contents from cells B2: C21 (same size range) from 'Sheet2'. If I copy and paste the contents from Sheet2 in to the location I want in Sheet1, it works just like I want, but if I try to use referenced formulas in O4 of Sheet1, I get the #Value! error. I have tried this already:
='Sheet2'!B2:C21
This post has a similar problem, but the solutions listed seem like they are overcomplicated and I feel like it should be much easier than this. I am using Excel 2013 and the worksheet is macro enabled, but I'm hoping to stay away from macros if possible.
In O4 enter the formula
=Sheet2!B2
No $ signs in the cell reference. This is a relative cell reference, i.e. it will change when copied across (to =Sheet2!C2) and down (to =Sheet2!B3). Copy across to P4 and down to row 23.
Note that a cell reference for a range does NOT have a space after the colon, like you wrote in your comment.
I would just like to ask how can i copy and paste formulas that would have a continuous count. In my case, I have this formula "='PRODUCTIONSTATUS'!B940" located in cell D8, I would like to copy it to cell J8 and wanted to have a formula of "='PRODUCTIONSTATUS'!C940" because when I do the normal copy and pasting, the one that would reflect to cell J8 was "='PRODUCTIONSTATUS'!H940". I hope somebody can help me. It would be of great help. Thanks.
Assuming you have data in the sheet PRODUCTIONSTATUS from cells B940 through E940 (B940, C940, D940, E940 etc..)
Use the below formula in cell D8,
=IFERROR(INDEX(PRODUCTIONSTATUS!$B$940:$E$940,0,IF(MOD(COLUMN(F:F),6)=0,(COLUMN(F:F)/6),999)),"")
You can copy paste this formula to cell J8 or just drag the fill handle to the right per your needs. The formula will fill only the cells with 5-cell interval. Let me know in case of any clarification
In Excel I want to copy a formula down and control the relative cell reference.
For example
In A1 if the formula was =B1 and I copied the A1 formula down to A3 the formula in A3 would be =B3. Is there a way of copying the formula in A1 to A3 and have it equal B2?
That's the default copying behaviour in Excel. Did you try it? In fact, if you want to disable it, you have to write $ in front of the fixed row and/or column denominator, so for example $E$1 would be fixed when copied (useful for things that remain constant).
Edit: I think I can imagine what happens: You probably tried to copy the cell contents from the formula editor field. Copy the cell instead, so just mark the cell in the grid by highlighting it, copy it, highlight your target and paste.
Edit2: And please note that you can just drag the little square at the edge of a highlighted cell to apply that cell's formula to an entire area, using the same relative referencing as with copying.
In Excel, how can I set up a spreadsheet so when I type in one cell it will populate another cell in the same spreadsheet?
I'll field this one.
If you want the contents of, say, C1 to mirror the contents of cell A1, you just need to set the formula in C1 to =A1. From this point forward, anything you type in A1 will show up in C1 as well.
Well the simplest way is to have a formula in Z99 =B4 so that when you type in B4 Excel will copy the value to Z99.
But maybe thats not what you are looking for?
If you want to use the example of Ben Hoffstein between two spreadsheets (cell from Sheet1 to Sheet2) you should use the formula =Sheet1!A1
=Value(Click on cell you want to match assuming it's a number)
Copy, Paste Formula along column or row or array