Good morning everyone,
I have sheet1 where I past information from SAP.
In a second tab and for each line in sheet1 I have to copy paste the info on 6 lines
What I did is
cell A1 of sheet 2 is "=sheet1!A1"
cell A2 to A6 "=A1", ="A2" etc..
Problem is, I have about 500 lines in sheet one, and when I try to copy past the formula, in the cell A7, the "=sheet!A1" becomes "=sheet!A6" where I need it to be "=sheet!A2"
Could someone help me please ?
Thanks a lot for the support
Pierre
Write following formula in Sheet2 cell A1:
=INDEX(Sheet1!A:A,CEILING(ROWS($A$1:A1)/6,1))
Copy down as much as you need.
Edit:
Tweaked formula per OP's latest info which should go into cell F5 or whatever cell:
=INDEX(Sheet1!B:B,CEILING(ROWS($A$1:A1)/6,1)+2)
Notice
+2
which is added so as to start directly from Row 3 instead of Row 1!
Related
I've got a dataset which has a blank row and a file name in the row below it repeating for the whole sheet multiple times. Each file name is different and what im wanting to capture in the currently blank row is the cell value of the cell below it i.e the filename with a formula.
Im not very proficient in excel sheets but feel this is something simple?
This provides me what i need but it is not dynamic.
="FILENAME IS" & A2
I need a formula i can copy across all the blank rows which will do something like ="FILENAME IS" & A:ROW()+1
Thanks in advance :)
Obviously my lack of knowledge but thanks kto Foxfire And Burns And Burns ;
Simply copying ="FILENAME IS" & A2 into the blank rows did the job as A2 became A4 and A6 and so on when copied.
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
I have a excel workbook where Sheet1 Cell A10 refers to the Sheet2 Cell A1.
I am using the formula
Sheet2!$A$1
I run an SSIS package, which has a script task that adds a column and a row to the Sheet2.
Now the formula automaticlly changes to
Sheet2!$B$2
Although I am using absolute formula, I dont get what I expected. Any ideas on how to achieve what I want?
Please try say =INDIRECT(A11) (adjust A11 to suit) instead of =Sheet2!$A$1 and in A11 (or wherever chosen) =ADDRESS(1,1,1,1,"Sheet2"). I think this should be what you want if I understand you correctly - ie you do not want to follow A1 around as rows/columns are added but literally the top left hand corner, regardless of column/row changes.
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