I am in need of your assistance with Excel.
I have an Excel spreadsheet with two worksheets, Shee1 and Sheet2
In Sheet1, I have the following columns
System
Table
Field
Mapped?
In Sheet2, I have the following columns
System
Table
Field
The same columns in both sheets except for the mapped column in sheet1.
How could I populate Sheet 1.Mapped with text Y where
Sheet1.Table and Sheet1.Field
match
Sheet2.Table and Sheet2.Field
Could this be done with a formula please? I am afraid I do not have access to VBA or to run macros due company policy.
Many Thanks.
If You want to populate data in sheet1.Mapped where (Sheet1.Table and Sheet1.Field)=(Sheet2.Table and Sheet2.Field) then try below formula in sheet 1.Mapped:
=IF(AND(Sheet1!B:B=Sheet2!B:B,Sheet1!C:C=Sheet2!C:C),"Yes","No")
Column B = Table & Column C = Field
Related
I have a large Excel data file, with data from two different sheets. I want to be able to match the partner_identifier values from SO Sheet 2 to the values in BB Sheet 1. For the rows in BB Sheet 1 that do match, I want to bring the entire row into a new sheet.
I need help coming up with a formula for this. I've tried VLOOKUP and IF variations, but I think I need a more complex formula. I can't do an =IF('SO Sheet 2'!D3='BB Sheet 1'!D3) because the matching values could be in different rows.
Right now, I have (and I know this is off because it returned "No" for every row, even the ones with a matching value) :
=IF(D3='SO Sheet 2'!D3:D16,'BB Sheet 1'!D3,"No")
Any insight would be greatly appreciated!
If you are using latest version of excel (Excel for Microsoft 365) - you can use XLOOKUP or FILTER formula.
Example:
= FILTER('SO Sheet 2'!A3:D16, 'SO Sheet 2'!D3:D16=D3)
Check here for details about these formulas: XLOOKUP, FILTER
You can achieve the result in 2 steps. in Sheet "BB sheet 1", you need to add a column E with XLOOKUP formula to find the matching identifier in "SO sheet 2"
=XLOOKUP(D2,'SO Sheet 2'!$A$2:$A$14,'SO Sheet 2'!$A$2:$A$14,"No")
The above will list all the matching identifier and put "No" wherever if couldn't match the identifier.
Then all you got to do is , in a new sheet, enter the formula in cell A1
=FILTER('BB sheet 1'!A:D,'BB sheet 1'!E:E<>"No")
I am trying to come up with result for the following problem:
I have a spreadsheet with two sheets - Report and Groups.
Report sheet has two columns - UPI and Disabled groups
Group sheet has three columns - UPI, Group Name and Status.
Every time I type 'Disable' in column Status I want that to reflect as count in sheet Report, column Disabled groups
I have been trying to combine vlookup and countif, but with no luck so far. Any ideas how to get to resolved?
Thank you!
If the Report Sheet has the UPI in column A, first row is headers, you can use this formula in column B
=countifs(Group!A:A,A2,Group!C:C,"disable")
in words: in the Group sheet, count all rows where column A has the same word as in cell A2 in this sheet AND the column D has the word "disable".
Adjust the formula to your scenario and copy down.
Hi I'm new to Excel VBA and started working on creating a macro. I have 2 sheets, Sheet1 has 4 columns (id, refid, value, code) and Sheet2 has 3 columns (refid, value, code). I need to fill the Sheet1 refid column with Sheet2 refid column by comparing the value & code columns of Sheet1 and Sheet2. Is this possible using vlookup? What are my options?
When using VLOOKUP, the value you are looking for, has to be in the first column of the matrix you are searching in. So I would recommend the following. Add another column in Sheet2 as Column A. Fill it with the values of value/code. Your new formula should look like this.
=VLOOKUP(C2/D2,Sheet2!A$1:D$20,2,false)
Fill this in the column of refid in Sheet1. Column 2 in Sheet 2 should be the refid.
HTH
How to compare the data between two Excel sheets? I have two Excel sheets with one come column but the number of columns is different. I want check if particular data in sheet one exists in sheet 2 if they exists I need to display true or false in a separate column.
How to do it?
suppose u have two sheet sheet1, sheet2
Write on sheet1 if u want to compare data on (A1 Cell of sheet1) with (B1 Cell of sheet2)
= IF(A1=Sheet2!B1,"TRUE","FALSE")
Try this command in a paralel column:
=EXACT(cell1,cell2)
it will display boolean variable (true ,false).
I need help creating a formula in Excel 2010.
I have two worksheets - one that is a detail tab that is populated quarterly (Worksheet1), and the other one is a summary tab (Worksheet2).
In Column A of both worksheets I have a list of names. The formula needs to compare the names and if there is a match, Column E of Worksheet 2 needs to be populated with the data in Column C of Worksheet 1.
Please help - I have been banging my head on my desk all morning trying to figure this out.
Thanks.
In column E of sheet 2, use a conditional expression. For example, for row 1:
=IF(A1 = Sheet1!A1, Sheet1!C1, "" )
Copy this formula to every row of column E.