I have these cells in Excel numbered 1 to 24:
And I want to populate that column (in a different sheet) with the same 1 - 24 numbers from the first sheet:
So that if I change a number in sheet one, it's reflected in sheet 2.
It's ridiculously easy to do if they were both columns and relatively simple if one sequential row and clolumns but this zigzag is confusing me. Could do it in VBA but could I do it using plain excel?
Use this formula that uses an IF to determine which INDEX/MATCH formula to use:
=IF(MOD(E16,2)=1,INDEX($8:$8,MATCH(E16,$7:$7,0)),INDEX($10:$10,MATCH(E16,$11:$11,0)))
Related
I work in office Excel online at it seems it is different than "regular" office. I have a standard case of two excel sheets that contain two matching columns both A columns (starting with 2 row, first is title of row). In first sheet I need to add second column value from second sheet where values from A match. This seems easy but, for some reason in online office this simple formula does not work:
=VLOOKUP(A2,Sheet2!$A$2:$B$4170,2,0)
this gives just N/A result although matching value in Sheet2 exists.
Column is in both sheets A, with title sku in row 1. Second sheet contains additional data in column 2 (B) which I want to put in F column of Sheet1 using this formula.
Can you tell me why this doesn't work? IS office.com different in term of formulas?
Also, when I pull down this formula this A starting number in "Sheet2!$A$THISNUMBER" gets bigger, like
=VLOOKUP(A3,Sheet2!$A$3:$B$4170,2,0)
I have an excel file with 2 columns of percentages. The first column has theoretical values of an experiment and the second column has the real values that were measured in an experiment. I want to create a macro which will be able to compare the values of the cells for every row(2 cells every row since we have 2 columns) and when the difference of the percentage is more than 5 units then I want to color the row and appear it in another pop-up or excel sheet! and this process has to be for every row. SO finally I want to have another sheet in excel which will have all the rows which had bigger difference than 5!
Can you please help me ??
you shoukd be able to apply conditional formatting formula. E.g. if your columns are A and B your formula would be =ABS(b1-a1)<=0.05
As for the other sheet. You could use the same formula in an if statement and drag down. E.g. if (abs (sheet1!b1-sheet1!a1)<=.05, sheet1!a1, "") . you could then filter this sheet to remove the blanks.
I have two excel spreadsheets. The first column of each is a column of serial numbers. Basically I need to take the first sheet, match the serial numbers from the other sheet (they are out of order and some are missing) and the fill in the unique data from the fist sheet into the appropriate columns of the second sheet. Does that make sense? I'm an excel noob, but I'm trying to learn! Thanks!
You could use VLOOKUP in order to do that. In cell B2 on your second sheet, use the formula
=VLOOKUP($A2,Sheet1!A:B,2,FALSE)
From this, just add the column range as the second input between the serial number and the column you want to look up. Then repeat for each column.
This picture shows the setup in the first sheet:
All of the data is hard coded.
This picture shows the setup in the second sheet.
As #timthebomb suggests, the formula in the second column (second row) is the following Vlookup:
=VLOOKUP(A2,Sheet1!$A$2:$B$9,2,FALSE)
I have 4 sheets, sheet1,sheet2,sheet3,sheet4 in an excel file. All sheets are exactly same and have some cells with numeric values and others ar eeither blank or have text value.
I want the 4th sheet to have numerical values which are sum of the first 3 sheets.
Is there any general forumula which I can apply to each cell to accomplish this ?
What version of excel are you using? This can effect the maximum number of cells on a sheet.
In excel 2007 or later, the maximum number of rows is 1048576. Using this to set the range and the SUM function you will capture every numerical value on sheets 1-3 by entering the following formula on sheet 4:
=SUM(Sheet1! 1:1048576, Sheet2! 1:1048576, Sheet3! 1:1048576)
For pre 2007 versions (and 2007 working in compatibility mode) the maximum is 65536.
I have a worksheet in Excel 2013 with two sheets: Sheet 1 and Sheet 2. I am applying a formula in both the sheets in the same column (G). The data is in more than 100,000 rows that's why I can't put it in one sheet only.
The problem is that I want to use VLOOKUP in both sheets in a way that the function looks up in both sheets in the same columns (arrays) i.e. A and B columns in sheet 1 and sheet 2 and get the value from column B i.e. column 2 within VLOOKUP function.
How can I add reference to the other sheet?
I doubt a complete solution is possible with VLOOKUP because, for instance, the corresponding ColumnB values may differ even where a ColumnA value is the same on both sheets. So without VBA (or possibly merging your sheets) you may have to compromise, so I offer only a partial solution, based on Excel 2007.
This 'looks up' in the 'other' sheet and only defaults to the 'same' sheet where the first attempt is unsuccessful. It uses INDEX and MATCH because likely quicker than VLOOKUP for high volumes. The formula I have applied for Sheet1 (in G1 and to be copied down) is:
=IFERROR(INDEX(Sheet2!B$1:B$6,MATCH(E1,TwoArray,0)),INDEX(B$1:B$7,MATCH(E1,OneArray,0)))
where the OneArray and TwoArray are named ranges for parts of ColumnA for the two sheets and the link values are expected in ColumnE (the formula in Sheet2 is similar):