I have sheet A which is a big table with data referring to January and sheet B which extrapolate data from sheet A and in cell formulas there is the link to that sheet. Now I'd like to duplicate sheet A and sheet B naming them: A2 and B2 and formulas in B2 refer automatically to A2 data. is it possible or I have to change manually the reference to the new sheet?
thanks
Related
I have 2 excel sheets (Sheet1 and Sheet2).
In sheet1 I have a table, I want to modify the table regarding to the second sheet as shown in the image such that the column in table of sheet1 (column called needed) looksup values in sheet2 and if id(1) is found in colmn of id in sheet2 then the cell of this id should get the value that corresponds to the same id in sheet 2.
That is what I basically want, but I can't figure out how to do that in excel
On Sheet1 in cell D2 enter the following formula:
=VLOOKUP(A2;Sheet2!$A$2:$D$5;4;FALSE)
Note that you might need to change the semicolons ; to regular commas , depending on your version of Excel. Then just copy that cell down the entire column of the table.
I'm trying to create a formula in Workbook1 that automatically pulls data from Workbook2. There is a new tab for each day in Workbook2 and are named Sheet1, Sheet2, Sheet3, etc. My ideal formula would pull the data using vlookup, while automatically incrementing the Sheet number by one each time I autofill the formula one column to the right.
Here is the current formula I have in Workbook1 to pull the data from Workbook2.
A1
(VLOOKUP("JohnSmith",'[Workbook2.xlsx]Sheet1'!$A$50:$O$79,3,FALSE)
B1
(VLOOKUP("JohnSmith",'[Workbook2.xlsx]Sheet2'!$A$50:$O$79,3,FALSE)
C1
(VLOOKUP("JohnSmith",'[Workbook2.xlsx]Sheet3'!$A$50:$O$79,3,FALSE)
In A1:
VLOOKUP("JohnSmith",INDIRECT("'[Workbook2.xlsx]Sheet" & COLUMN() & "'!$A$50:$O$79"),3,FALSE)
I have some data on Sheet1 from B2:G5480. I also have the same data on Sheet2 from B2:G5480 for separate calculations.
What I want is as I enter new rows on Sheet1 updating Sheet2 automatically.
Any help will be appreciate.
Method 1:
Make cells in sheet2 point to cells in sheet1
For example in Sheet2 cell A1 have formula =Sheet1!A1
Replicate this principle across the range B2:G5480, being sure not to overwrite formula cells
Method 2:
Make formulae in Sheet2 refer to data in Sheet1 by prefacing cell references with Sheet1! - leave all data on sheet1 in just one place.
I have a workbook (we are using them for electronic purchase orders) and I need to be able to copy a worksheet but have the formula in it increment like it would if I copied the formula in a sheet.
In other words in sheet2 I1 the formula is ='Sheet1'!$I$1+1. When I copy sheet2 and it becomes sheet3, I need the formula in I1 to say ='Sheet2'!$I$1+1.
How can i do this?
You can get a string containing the current sheet name with the following formula
=cell("filename",A1)
If you are using the standard Sheet# for your pages, then you can get the current sheet number with this formula (assuming the previous one was in B3)
=RIGHT(B3,LEN(B3) - FIND("]Sheet",B3,1)-5)
Next calculate the number for the previous sheet
=VALUE(B4)+1
Now you can use the indirect function to address a cell in the previous sheet
=INDIRECT("Sheet"&B5&"!B1")
In Sheet4, this will reference B1 in Sheet3.
Copy it to Sheet5 and it will reference B1 in Sheet 4.
Edit
Hello,
Trying to copy a row of data from a roster on a sheet into a new sheet when a cell states Line 1
ie When i type Line 1 etc i want excel to automatically take the row of data for Line 1 on my data sheet and insert it into the target row, cannot use VBA
Appreciate help, i am a beginner
If your data is in A1 to E2 in Sheet1 and your formula in Sheet2:
=IF(Sheet2!A2="","",INDEX(Sheet1!$A$1:$E$2,Sheet2!A2,COLUMN(Sheet2!B2)-1))
Now type into cell A2 in Sheet2 the row you want the data from in Sheet1. Drag the formula to the right or down by clicking on the lower right corner.