I have an excel workbook with few sheets (sheet1, sheet2, underlying).
In sheet1 I have "comp" which displays the company name.
I want to search for the company name in sheet2 in "Name" column.
The name in sheet2 does not have to appear exactly as in sheet1.
If the company name from sheet1 appears in column "name" in sheet2 I want to copy 2 values:
copy the company code from column "comp_code" in sheet2 to column "underlying_name" in "underlying" sheet.
copy company ticker from "ticker" column in sheet1 without the first 4 characters to "ticker" column in "underlying" sheet.
Which functions can I use in this case?
I would greatly appreciate any help. I'm pretty stuck here.
Related
I have 2 sheets in an Excel workbook.
The first one contains a data table named "details", regarding details of students. The second sheet contains several formulated cells with Vlookup formula which looks for vlaues in the first sheet.
How can I auto fill all the Vlookup cells in sheet 2, for a row from sheet 1, just by clicking on any cell of name column or order column from the first sheet?
E.g. my first sheet has these columns
order
student name
DOB
cast
1
Josheph
15/02/2017
Christian
2
Iliyas
23/05/2012
Muslim
I want to auto fill formulated (Vlookup) cells of the sheet 2, either by clicking "Joseph" or in the order column on "number 1".
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 need to capture the "Sheet1" name in a cell in Sheet2. This formula gives me the Sheet2 (current sheet) name. How can I modify it to give me sheet 1 name?
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
Put the sheet name in front of the A1:
=MID(CELL("filename",Sheet1!A1),FIND("]",CELL("filename",Sheet1!A1))+1,255)
Excel is smart enough that if the sheet name changes it will change the reference.
I have two sheets Sheet1 and Sheet2. From Sheet2 there are two columns one with the stock name (B) and the other with Grade (F). In sheet1 I would like to match the Grade with the stock names from sheet2.
There are few that will not match anything in Sheet1 just leave blank.
Here is a pick of Sheet1 & 2 with Sheet1 column (B) to be filled in.
Sheet1 & Sheet2
Sheet3 Results into Column B
Thnx in advance for all your help.
Marty
Scenario:
An Excel Workbook has 3 sheets. Sheet1 has an 'original' list of users WHICH DOES NOT CHANGE, Sheet2 has a list of 'current' users which does change, Sheet3 has some totalled information, like the total number of users on Sheet1 who are still on Sheet2.
Problem:
I can flag and count those on Sheet1 who are no longer on Sheet2, and provide a total count on Sheet3 - this uses another column on Sheet1 and an IF statement - but I can't do that for those on Sheet2 who are not on Sheet1 (someone was added, say) because the Sheet1 information is overwritten weekly by a manual process.
Question:
How do I show, on Sheet3 and from Sheet3, the total count of the number of users on Sheet2 who are not on Sheet1 when I can't add a column to Sheet2?
Many thanks in advance for your consideration of this problem - NigeH
Further Info:
Sheet1 ColumnA Rows 1-10 - Enter any 10 first names you want.
Sheet2 ColumnA Rows 1-10 - Enter 8 of the names from Sheet1 and 2 new ones.
Sheet3 - without using any new fields on Sheet1 or Sheet2 - and preferably only one field on Sheet3 - show the count of names on Sheet2 that aren't on Sheet1.
Try this array formula (assumes your lists are in column A in both sheets) ...
{=COUNTA(Sheet2!$A:$A)-SUM(IF(ISERROR(MATCH(Sheet2!$A:$A,Sheet1!$A:$A,0)),0,1))}
If you want to show the users that aren't on Sheet1 on Sheet3, fill down this formula ...
=IF(ISERROR(MATCH(Sheet2!$A1,Sheet1!$A:$A,0)),Sheet2!$A1,"")
I have a quick solution not so clever but works.
You will need 2 heaping columns. One column to get all users names from Sheet2
In Sheet3 in cell A1 you should write:
=Sheet2!A1
You should copy this in all cells from A1 to A(user name count);
Then in Sheet3 in cell B1 write:
=IF(ISBLANK(A1),"",VLOOKUP(Sheet2!A:A,Sheet1!A:A,1,FALSE))
You should copy this in all cells from B1 to B(user name count) NOT MORE;
And finally in Sheet3 in cell C1 you will have your count if you write:
=COUNTIF(B:B, NA())
If I get smarter way will edint.