HOW TO MATCH A CELLS FROM TWO DIFFERENT SHEETS IN ONE SHEET

AYSHANA

Board Regular
Joined
Oct 16, 2021
Messages
90
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
Hello!
good day!

im asking for a help regarding my formula.

so i have 2 different sheets and trying to combine them in one sheet.

i want my formula to check if my (ACC no in the weekly sheet) is equal to (ACC no in the daily sheet), if they are equal to be reflect in the (database sheet) and if not to skip and search for another (ACC no which are equal).

i have try to use the index match or IF condition with VLOOKUP but unfortunately it didn't work with me.

=IFERROR(INDEX(WEEKLY!$C64:$C$4000,MATCH(WEEKLY!$C64,DAILY!$D$6:$D$4000,0)),""

in the database sheet as u can see i got blank cells infact there are some ACC no which are equal but it didnt reflect.

kindly refer to the attachment

thank you.


DAILY.JPG
WEEKLY.JPG
DATABASE.JPG
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Cannot manipulate data in a picture. Please reload your data using XL2BB.
 
Upvote 0
DAILY


REPAIR.xlsx
CDEFHIJK
4OrdersAcc NumberCIDPT NumberCRA Receive Date TimeWorkbench Date TimeResult Date TimeWorkbench received to Result
12BGRPST77874214-02-23 10:3214-02-23 10:4214-02-23 12:07110
13BGRPST77191714-02-23 2:3414-02-23 2:3914-02-23 3:1738
14BGRPST78347114-02-23 12:3914-02-23 12:4614-02-23 13:1630
15BGRPST78877114-02-23 16:3614-02-23 17:1514-02-23 17:5439
16BGRPST79233914-02-23 20:4414-02-23 20:4514-02-23 21:2339
17BGRPST77227514-02-23 5:1914-02-23 5:2114-02-23 6:0342
18BGRPST78480114-02-23 14:1814-02-23 15:0014-02-23 16:0464
19BGRPST78563414-02-23 14:1514-02-23 15:0014-02-23 15:3434
31BGRPSW48144415-02-23 14:1715-02-23 14:2515-02-23 14:5934
32BGRPSW48880715-02-23 22:1615-02-23 22:2415-02-23 22:5632
33BGRPSW47627215-02-23 11:3615-02-23 11:1915-02-23 11:5132
34BGRPSW46788615-02-23 7:4615-02-23 8:2615-02-23 9:0034
35BGRPSW47125715-02-23 9:1615-02-23 9:2715-02-23 10:0740
36BGRPSW48631315-02-23 20:4715-02-23 21:0815-02-23 21:5749
37BGRPSW47502315-02-23 11:3515-02-23 12:1215-02-23 12:5038
38BGRPSW48226815-02-23 14:2115-02-23 14:2515-02-23 14:5934
39BGRPSW48706815-02-23 18:5915-02-23 19:0015-02-23 21:06126
40BGRPSW48820615-02-23 21:0415-02-23 21:0815-02-23 21:3830
41BGRPSW48351715-02-23 16:3215-02-23 16:5815-02-23 17:3840
42BGRPSW48197315-02-23 14:3415-02-23 14:4715-02-23 15:2033
43BGRPSW48536515-02-23 18:0715-02-23 18:4515-02-23 21:05140
44BGRPSW47571115-02-23 11:3815-02-23 12:2515-02-23 13:0035
45BGRPSW47978715-02-23 12:4015-02-23 12:4515-02-23 13:1429
46BGRPSW48858715-02-23 21:1615-02-23 21:1715-02-23 21:5033
47BGRPSH43634516-02-23 18:1716-02-23 18:2216-02-23 19:0543
48BGRPSH43161216-02-23 14:1816-02-23 14:2516-02-23 14:5631
49BGRPSH41841816-02-23 3:5716-02-23 4:0116-02-23 4:3433
50BGRPSH43816416-02-23 19:5016-02-23 19:5316-02-23 20:3845
51BGRPSH43712416-02-23 18:3716-02-23 18:4116-02-23 19:2241
52BGRPSH43344416-02-23 15:5816-02-23 16:3216-02-23 17:3159
53BGRPSH43947216-02-23 22:5016-02-23 22:5316-02-23 23:2936
54BGRPSW48904615-02-23 23:2915-02-23 23:4416-02-23 0:1531
55BGRPSH43746116-02-23 19:1116-02-23 19:2416-02-23 19:5733
56BGRPSH43619516-02-23 17:3916-02-23 17:4516-02-23 18:2843
57BGRPSH41967916-02-23 7:3316-02-23 7:3916-02-23 8:1940
58BGRPSF39079917-02-23 10:0617-02-23 10:2317-02-23 11:0542
59BGRPSF39156817-02-23 10:2717-02-23 11:1317-02-23 11:4633
60BGRPSF38668917-02-23 8:1217-02-23 8:1617-02-23 8:5236
61BGRPSF40061417-02-23 21:2017-02-23 21:2217-02-23 21:5735
62BGRPSF39753917-02-23 17:1917-02-23 17:2117-02-23 18:0241
63BGRPSF40086017-02-23 22:5217-02-23 22:5517-02-23 23:3843
64BGRPSF39783817-02-23 17:3817-02-23 17:4217-02-23 18:1735
65BGRPSF39525717-02-23 12:5117-02-23 12:5317-02-23 13:2532
66BGRPSF38490217-02-23 6:2317-02-23 6:4317-02-23 7:2340
67BGRPSF38863717-02-23 11:1017-02-23 11:2417-02-23 11:5531
68BGRPSF39546117-02-23 14:3617-02-23 14:5417-02-23 15:5359
69BGRPSF39573617-02-23 15:3617-02-23 15:4117-02-23 16:3049
70BGRPSF40006717-02-23 20:1017-02-23 20:1317-02-23 20:5138
71BGRPSF40075417-02-23 22:0017-02-23 22:0517-02-23 23:0055
72BGRPSS46078518-02-23 20:5618-02-23 20:5918-02-23 21:3334
73BGRPSS45675718-02-23 10:2518-02-23 10:3318-02-23 11:1138
74BGRPSS45937618-02-23 14:4318-02-23 14:4418-02-23 15:1733
75BGRPSS45906818-02-23 14:0118-02-23 14:0218-02-23 14:3533
76BGRPSS46025218-02-23 18:2018-02-23 18:3018-02-23 19:0737
77BGRPSS46105419-02-23 22:3518-02-23 22:5518-02-23 23:2833
78BGRPSS46011318-02-23 17:3118-02-23 17:3518-02-23 18:0833
DAILY
 
Upvote 0
WEEKLY


REPAIR.xlsx
CDEFGHIJ
4Acc No#PT NumberPT NameUNIT NUMBER Allocated in BGRPS orderBLOOD BGRPUNIT ALLOCATED IN SYSTEMUNIT ISSUED IN SYSTEM
58T788912U123O Positive15-02-23 14:5515-02-23 16:23
59W476272U124O Positive16-02-23 14:5516-02-23 16:23
60W476272U125O Positive17-02-23 14:5517-02-23 16:23
61T787716U126O Positive18-02-23 14:5518-02-23 16:23
62T782689U127B Positive19-02-23 14:5519-02-23 16:23
63W475023U128A Positive20-02-23 14:5520-02-23 16:23
64H439472U129B Positive21-02-23 14:5521-02-23 16:23
65S461054U130B Positive22-02-23 14:5522-02-23 16:23
66S461054U131B Negative23-02-23 14:5523-02-23 16:23
67S461054U132B Negative24-02-23 14:5524-02-23 16:23
68S460113U133A Positive25-02-23 14:5525-02-23 16:23
69S460113U134A Positive26-02-23 14:55
70S460113U135A Positive27-02-23 14:5527-02-23 16:23
71S460113U136A Positive28-02-23 14:5528-02-23 16:23
72F397838U137O Positive01-03-23 14:5501-03-23 16:23
73F397838U138O Positive02-03-23 14:5502-03-23 16:23
74F397838U139O Positive03-03-23 14:5503-03-23 16:23
75F397838U140O Positive04-03-23 14:5504-03-23 16:23
76F397838U141O Positive05-03-23 14:5505-03-23 16:23
77F397838U142O Positive06-03-23 14:5506-03-23 16:23
78F395257U143O Positive07-03-23 14:5507-03-23 16:23
79M313562U144B Positive08-03-23 14:5508-03-23 16:23
80T788771U145A Positive09-03-23 14:5509-03-23 16:23
81M309941U146A Positive10-03-23 14:55
82T792339U147O Positive11-03-23 14:5511-03-23 16:23
83F384902U148O Positive12-03-23 14:5512-03-23 16:23
84M319409U149A Positive13-03-23 14:5513-03-23 16:23
85M319409U150A Positive14-03-23 14:5514-03-23 16:23
86T791422U151A Positive15-03-23 14:5515-03-23 16:23
87T791422U152A Positive16-03-23 14:5516-03-23 16:23
88M305558U153B Positive17-03-23 14:5517-03-23 16:23
89M305558U154B Positive18-03-23 14:5518-03-23 16:23
90M328601U155AB Positive19-03-23 14:5519-03-23 16:23
91M328601U156A Positive20-03-23 14:5520-03-23 16:23
92T772501U157B Positive21-03-23 14:5521-03-23 16:23
93T772501U158B Positive22-03-23 14:5522-03-23 16:23
94F400754U159A Positive23-03-23 14:5523-03-23 16:23
95S459588U160A Positive24-03-23 14:55
96S459588U161A Positive25-03-23 14:5525-03-23 16:23
97S459588U162A Positive26-03-23 14:55
98S459588U163A Positive27-03-23 14:5527-03-23 16:23
99S460938U164O Positive28-03-23 14:5528-03-23 16:23
100S460938U165O Positive29-03-23 14:5529-03-23 16:23
101X338437U166O Positive30-03-23 14:5530-03-23 16:23
WEEKLY
 
Upvote 0
Cannot manipulate data in a picture. Please reload your data using XL2BB.
DATA BASE


Cell Formulas
RangeFormula
C59:C86C59=DAILY!$C60
D59:D86D59=IFERROR(INDEX(WEEKLY!$C59:$C$4000,MATCH(WEEKLY!$C59,DAILY!$D$6:$D$4000,0)),"")
E59:E86E59=IFERROR(INDEX(DAILY!$E60:$E$200000,MATCH($D$5:$D$184506,DAILY!$D$6:$D$200000,0)),"")
F59:F86F59=IFERROR(INDEX(DAILY!$F60:$F$200000,MATCH($D$5:$D$184506,DAILY!$D$6:$D$200000,0)),"")
G59:G86G59=IFERROR(INDEX(DAILY!$G60:$G$200000,MATCH($D$5:$D$184506,DAILY!$D$6:$D$200000,0)),"")
H59:H86H59=IFERROR(INDEX(DAILY!$H60:$H$200000,MATCH($D$5:$D$184506,DAILY!$D$6:$D$20000,0)),"")
I59:I86I59=IFERROR(INDEX(DAILY!$I60:$I$200000,MATCH($D$5:$D$6591,DAILY!$D$6:$D$200000,0)),"")
J59:J86J59=IFERROR(INDEX(DAILY!$J60:$J$200000,MATCH($D$5:$D$184506,DAILY!$D$6:$D$200000,0)),"")
K59:K86K59=IFERROR(INDEX(DAILY!$K60:$K$200000,MATCH($D$5:$D$184506,DAILY!$D$6:$D$200000,0)),"")
L59:L86L59=IFERROR(INDEX(DAILY!$L60:$L$200000,MATCH($D$5:$D$184506,DAILY!$D$6:$D$200000,0)),"")
M59:M86M59=IFERROR(INDEX(WEEKLY!$F59:$F200054,MATCH($D$5:$D$184506,WEEKLY!$C59:$C200054,0)),"")
N59:N86N59=IFERROR(INDEX(WEEKLY!$G59:$G200054,MATCH($D$5:$D$184506,WEEKLY!$C59:$C200054,0)),"")
O59:O86O59=IFERROR(INDEX(WEEKLY!$H59:$H200054,MATCH($D$5:$D$184506,WEEKLY!$C59:$C200054,0)),"")
P59:P86P59=IFERROR(INDEX(WEEKLY!$I59:$I200054,MATCH($D$5:$D$184506,WEEKLY!$C59:$C200054,0)),"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
K5:K4000Cellcontains a blank value textYES
K5:K4000Cell Value>60textYES
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,255
Members
449,075
Latest member
staticfluids

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