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
Related
I have a complex scenario, I want to copy Column B of sheet2 to Column C of sheet1 by match cells of column A of sheet2 against Column A sheet1, please have a look at below tables.
Sheet 1
Sheet 2
Resultant Sheet 1 After formula
Its no so complex. Try Index/Match like-
=IFERROR(INDEX(Sheet2!B:B,MATCH(A2,Sheet2!A:A,0)),"")
VLookup() will also work in this way-
=IFERROR(VLOOKUP(A2,Sheet2!A:B,2,FALSE),"")
With Excel365, single XLOOKUP() will give you desired result.
=XLOOKUP(A2,Sheet2!A:A,Sheet2!B:B,"")
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.
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.
I have two sheets in workbook. Sheet1 and sheet2.
Sheet1 has colA, Sheet2 has colA and colB.
colA in sheet2 is a subset of colA in sheet1.
Required to match colA in both the sheets and
should get unmatched coloumn members i.e members which are present in sheet1 but not present in sheet 2 in a new sheet i.e sheet3.
Please help me with this.
In Sheet1 B1 copied down to suit:
=COUNTIF(Sheet2!A:A,A1)
Filter that column to select 0, select and copy what's visible in ColumnA and paste into Sheet3.
I need some help for the below scenario,
Sheet1 A2 has a date
Sheet2 and Sheet3 has dates in column A and numbers in column B
example as below,
I want to get the sum value from Sheet2 & Sheet3 B column for all the values in Sheet1 A2 if finds in Sheet2 & Sheet3 A.
Below is my formula which I can get the sum from Sheet2 but not able to do with both sheet2 and sheet3.
{=SUM((Sheet2!$B$2:$B$65500)*(Sheet2!$A$2:$A$65500='Sheet1'!A2))}
Please help in formula or vba, thanks
Can't you just add the two?
In B2 of sheet 1
=SUMIF(Sheet2!A:A,A2,Sheet2!B:B)+SUMIF(Sheet3!A:A,A2,Sheet3!B:B)