track number between two tabs on same workbook

ThierryR

New Member
Joined
Oct 24, 2006
Messages
37
I'm trying to see if the same numbers exists in two different spreasheets on the same workbook. Both "asset tags" columns are sorted ascending. If the number appears on both table I would like my formula to add a "Y" (for yes) on the proper cell. Not sure if I should use Vlookup, sumproduct or sumif formula. Here is the main table where I want that "Y" to appear in Column D.
Thanks for any help
Thierry
Fixed Asset FAP.xls
ABCD
1ASSETTagCheck?DESCRIPTIONMajorEquipment
209436SHAPERDELTAWOOD
3011990KEYCABDELUXEFLOORTYPE
4013075TALLESCOPE19FT
5039218TRACTOR51FORD8N409655W/ACC
6047289XTRUCKLIFTELECTW125-90-2139
7047290CHARGERBATTERYB-30485
8048187SAWPOWERMATIC10INSN066596
9048384LATHE13X48SNB10729USED
Sort by - Asset Tag
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi Thierry,

Give this a try. Change the columns and/or sheet names to match your data.

=IF(COUNTIF(Sheet2!$A$1:$A$8,A1)>0,"Y","")
 
Upvote 0
Jeff,
Work great I did not think about "Countif" formula, I should have.
I apreciate your help it did fix my issue.
Thanks Thierry
 
Upvote 0
Jeff,
I have a related question, on a different tab in the same workbook I would like to add the check mark from column 2 in this workbook, but I'm not sure what formula to use considering that my "different" tab is not sorted by "Asset Tag" but by another column.

Look below that other tab and what formula should I use in the column B?
Thanks again
Thierry
Fixed Asset FAP.xls
ABCD
1ASSETTagCheck?DESCRIPTIONBookValue
2113195MONITORFLATPANELCTX17"
3113196MONITORFLATPANELCTX17"
454922BLOWERDAYTONMD2C979
558589DISPLAY,USERINFO4'X51/2
658590DISPLAY,USERINFO4'X51/2
758771ENCLOSUREMOUNTING4997-02BSN16
859174TERMINALCRT925SN8094
963090TYPEWRITERCANONMDAP550
Sort by - Organization
 
Upvote 0
Hi Thierry,

I got a little lost in this explanation. Is it possible to post a shot with a result so I can see how you expect the two sheets to link?
 
Upvote 0
Yes, first sheet has check box that is mark with an "X" (see sheet 1 below). On Sheet 2 (see below) I want this "X" mark to be repeated on the correct Cell in column B knowing perfectly that in Sheet 2 my column "asset num" is not sorted correctly.
Hope it's clearer.
Thierry

Sheet1:
Fixed Asset FAP.xls
ABCD
1ASSETTagCheck?DESCRIPTIONMajorEquip.
209436SHAPERDELTAWOOD 
3011990KEYCABDELUXEFLOORTYPE 
4013075TALLESCOPE19FT 
5039218TRACTOR51FORD8N409655W/ACC 
6047289XTRUCKLIFTELECTW125-90-2139Y
7047290CHARGERBATTERYB-30485 
8048187SAWPOWERMATIC10INSN066596 
9048384LATHE13X48SNB10729USED 
10048568TURFAERATORGREENAIRE 
Sort by - Asset Tag


Sheet 2:
Fixed Asset FAP.xls
ABCD
1ASSETTagCheck?DESCRIPTIONBookValue
2113195MONITORFLATPANELCTX17"
3113196MONITORFLATPANELCTX17"
454922BLOWERDAYTONMD2C979
558589DISPLAY,USERINFO4'X51/2
658590DISPLAY,USERINFO4'X51/2
758771ENCLOSUREMOUNTING4997-02BSN16
859174TERMINALCRT925SN8094
963090TYPEWRITERCANONMDAP550
1063830TYPWRTR,CANONELEC16K
1164373TYPEWRITER-ELECTRONICW/16K
Sort by - Organization


So basically I want to repeat in sheet 2 column B the "X" sign I enter manually in sheet 1 column B.
Thanks
Thierry
 
Upvote 0
Perhaps what you need is a vlookup. Paste the formula below in B2 Sheet 2 and then copy paste down

Code:
=+VLOOKUP(A2,sheet1!$A$2:$B$119,2,FALSE)
 
Last edited:
Upvote 0
Okay try this in the sheet where you want the X's. Adjust your ranges to match your sheet.

=IF(ISNUMBER(INDEX($A$1:$A$8,MATCH(A1,Sheet1!$A$1:$A$8,0))),"X","")

Also, instead of entering the first X manually why don't you use

=IF(D1="Y","X","")
 
Upvote 0

Forum statistics

Threads
1,214,560
Messages
6,120,222
Members
448,951
Latest member
jennlynn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top