I just want to compare the number in report A column G to numbers in report B row 7 and use a color code when the numbers do not match. What is the best function to do this without opening the tow reports at the same time all the times. Thank you for your help and time!
[h=1][FONT="]Report A [/FONT]
[FONT="] [/FONT]
[TABLE="class: yiv0803919020MsoNormalTable, width: 0"]
<tbody>[TR]
[TD="width: 73"][FONT="]Column header→[/FONT]
[/TD]
[TD="width: 92"] C
[/TD]
[TD="width: 127"] D
[/TD]
[TD="width: 115"] E
[/TD]
[TD="width: 93"] F
[/TD]
[TD="width: 247"] G
[/TD]
[/TR]
[TR]
[TD="width: 73"]Row header[FONT="]↓[/FONT]
[/TD]
[TD="width: 92, bgcolor: #D9D9D9"][/TD]
[TD="width: 127, bgcolor: #D9D9D9"][/TD]
[TD="width: 115, bgcolor: #D9D9D9"][/TD]
[TD="width: 93, bgcolor: #D9D9D9"][/TD]
[TD="width: 247, bgcolor: #D9D9D9"]total qt sold by date and Product type
[/TD]
[/TR]
[TR]
[TD="width: 73"][/TD]
[TD="width: 92"][/TD]
[TD="width: 127"][/TD]
[TD="width: 115"]South Branch
[/TD]
[TD="width: 93"][/TD]
[TD="width: 247"][/TD]
[/TR]
[TR]
[TD="width: 73"][/TD]
[TD="width: 92"][/TD]
[TD="width: 127"][/TD]
[TD="width: 115"]North Branch
[/TD]
[TD="width: 93"][/TD]
[TD="width: 247"][/TD]
[/TR]
[TR]
[TD="width: 73"][/TD]
[TD="width: 92"][/TD]
[TD="width: 127"][/TD]
[TD="width: 115"]East Branch
[/TD]
[TD="width: 93"][/TD]
[TD="width: 247"][/TD]
[/TR]
[TR]
[TD="width: 73"][/TD]
[TD="width: 92"][/TD]
[TD="width: 127"][/TD]
[TD="width: 115"]West Branch
[/TD]
[TD="width: 93"][/TD]
[TD="width: 247"][/TD]
[/TR]
[TR]
[TD="width: 73"][/TD]
[TD="width: 92"][/TD]
[TD="width: 127"][/TD]
[TD="width: 115"]South Branch
[/TD]
[TD="width: 93"][/TD]
[TD="width: 247"][/TD]
[/TR]
[TR]
[TD="width: 73"][/TD]
[TD="width: 92"][/TD]
[TD="width: 127"][/TD]
[TD="width: 115"]North Branch
[/TD]
[TD="width: 93"][/TD]
[TD="width: 247"][/TD]
[/TR]
[TR]
[TD="width: 73"][/TD]
[TD="width: 92"][/TD]
[TD="width: 127"][/TD]
[TD="width: 115"]East Branch
[/TD]
[TD="width: 93"][/TD]
[TD="width: 247"][/TD]
[/TR]
[TR]
[TD="width: 73"][/TD]
[TD="width: 92"][/TD]
[TD="width: 127"][/TD]
[TD="width: 115"]West Branch
[/TD]
[TD="width: 93"][/TD]
[TD="width: 247"][/TD]
[/TR]
[TR]
[TD="width: 73"][/TD]
[TD="width: 92"][/TD]
[TD="width: 127"][/TD]
[TD="width: 115"]South Branch
[/TD]
[TD="width: 93"][/TD]
[TD="width: 247"][/TD]
[/TR]
</tbody>[/TABLE]
[FONT="] [/FONT]
[FONT="] Formula used to add the total quantity sold by date and product type in G column[/FONT]
[FONT="] =SUMIFS($F$3:$F$101,$C$3:$C$101,C3,$D$3:$D$101,D3)[/FONT]
[FONT="] [/FONT]
[FONT="] [/FONT]
[FONT="] [/FONT]
[TABLE="class: yiv0803919020MsoNormalTable, width: 0"]
<tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 219, colspan: 2"]REPORT B
[/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"]A
[/TD]
[TD="width: 91"] B
[/TD]
[TD="width: 115"] C
[/TD]
[TD="width: 93"] D
[/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 219, colspan: 2"]Product item 123457 report
[/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"][/TD]
[TD="width: 91, bgcolor: #D9D9D9"][/TD]
[TD="width: 115, bgcolor: #D9D9D9"][/TD]
[TD="width: 93, bgcolor: #D9D9D9"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"]South Branch
[/TD]
[TD="width: 91"][/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"]North Branch
[/TD]
[TD="width: 91"][/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"]East Branch
[/TD]
[TD="width: 91"][/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"]West Branch
[/TD]
[TD="width: 91"][/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"][/TD]
[TD="width: 91"][/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"][/TD]
[TD="width: 91"][/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 333, colspan: 3"]Color Formatting needed in report B Cell B7, C7 etc….
[/TD]
[TD="width: 93"][/TD]
[/TR]
</tbody>[/TABLE]
[FONT="] Note Report A and Report B are two different workbooks. [/FONT]
[/h]
[h=1][FONT="]Report A [/FONT]
[FONT="] [/FONT]
[TABLE="class: yiv0803919020MsoNormalTable, width: 0"]
<tbody>[TR]
[TD="width: 73"][FONT="]Column header→[/FONT]
[/TD]
[TD="width: 92"] C
[/TD]
[TD="width: 127"] D
[/TD]
[TD="width: 115"] E
[/TD]
[TD="width: 93"] F
[/TD]
[TD="width: 247"] G
[/TD]
[/TR]
[TR]
[TD="width: 73"]Row header[FONT="]↓[/FONT]
[/TD]
[TD="width: 92, bgcolor: #D9D9D9"]
Date
[TD="width: 127, bgcolor: #D9D9D9"]
Product type
[TD="width: 115, bgcolor: #D9D9D9"]
Branch Name
[TD="width: 93, bgcolor: #D9D9D9"]
quantity Sold
[TD="width: 247, bgcolor: #D9D9D9"]total qt sold by date and Product type
[/TD]
[/TR]
[TR]
[TD="width: 73"]
3
[TD="width: 92"]
1/1/2019
[TD="width: 127"]
123457
[TD="width: 115"]South Branch
[/TD]
[TD="width: 93"]
400
[TD="width: 247"]
1700
[/TR]
[TR]
[TD="width: 73"]
4
[TD="width: 92"]
1/1/2019
[TD="width: 127"]
123457
[TD="width: 115"]North Branch
[/TD]
[TD="width: 93"]
300
[TD="width: 247"]
1700
[/TR]
[TR]
[TD="width: 73"]
5
[TD="width: 92"]
1/1/2019
[TD="width: 127"]
123457
[TD="width: 115"]East Branch
[/TD]
[TD="width: 93"]
200
[TD="width: 247"]
1700
[/TR]
[TR]
[TD="width: 73"]
6
[TD="width: 92"]
1/1/2019
[TD="width: 127"]
123457
[TD="width: 115"]West Branch
[/TD]
[TD="width: 93"]
800
[TD="width: 247"]
1700
[/TR]
[TR]
[TD="width: 73"]
7
[TD="width: 92"]
1/2/2019
[TD="width: 127"]
123457
[TD="width: 115"]South Branch
[/TD]
[TD="width: 93"]
500
[TD="width: 247"]
2000
[/TR]
[TR]
[TD="width: 73"]
8
[TD="width: 92"]
1/2/2019
[TD="width: 127"]
123457
[TD="width: 115"]North Branch
[/TD]
[TD="width: 93"]
500
[TD="width: 247"]
2000
[/TR]
[TR]
[TD="width: 73"]
9
[TD="width: 92"]
1/2/2019
[TD="width: 127"]
123457
[TD="width: 115"]East Branch
[/TD]
[TD="width: 93"]
1000
[TD="width: 247"]
2000
[/TR]
[TR]
[TD="width: 73"]
10
[TD="width: 92"]
1/3/2019
[TD="width: 127"]
123457
[TD="width: 115"]West Branch
[/TD]
[TD="width: 93"]
800
[TD="width: 247"]
1200
[/TR]
[TR]
[TD="width: 73"]
11
[TD="width: 92"]
1/3/2019
[TD="width: 127"]
123457
[TD="width: 115"]South Branch
[/TD]
[TD="width: 93"]
400
[TD="width: 247"]
1200
[/TR]
</tbody>[/TABLE]
[FONT="] [/FONT]
[FONT="] Formula used to add the total quantity sold by date and product type in G column[/FONT]
[FONT="] =SUMIFS($F$3:$F$101,$C$3:$C$101,C3,$D$3:$D$101,D3)[/FONT]
[FONT="] [/FONT]
[FONT="] [/FONT]
[FONT="] [/FONT]
[TABLE="class: yiv0803919020MsoNormalTable, width: 0"]
<tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 219, colspan: 2"]REPORT B
[/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"]A
[/TD]
[TD="width: 91"] B
[/TD]
[TD="width: 115"] C
[/TD]
[TD="width: 93"] D
[/TD]
[/TR]
[TR]
[TD="width: 64"]
1
[TD="width: 219, colspan: 2"]Product item 123457 report
[/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"]
2
[TD="width: 128"][/TD]
[TD="width: 91, bgcolor: #D9D9D9"]
1/1/2019
[TD="width: 115, bgcolor: #D9D9D9"]
1/2/2019
[TD="width: 93, bgcolor: #D9D9D9"]
1/3/2019
[/TR]
[TR]
[TD="width: 64"]
3
[TD="width: 128"]South Branch
[/TD]
[TD="width: 91"]
400
[TD="width: 115"]
500
[TD="width: 93"]
600
[/TR]
[TR]
[TD="width: 64"]
4
[TD="width: 128"]North Branch
[/TD]
[TD="width: 91"]
300
[TD="width: 115"]
500
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"]
5
[TD="width: 128"]East Branch
[/TD]
[TD="width: 91"]
200
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"]
6
[TD="width: 128"]West Branch
[/TD]
[TD="width: 91"]
800
[TD="width: 115"][/TD]
[TD="width: 93"]
800
[/TR]
[TR]
[TD="width: 64"]
7
[TD="width: 128"][/TD]
[TD="width: 91"]
1700
[TD="width: 115"]
1000
[TD="width: 93"]
1400
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 128"][/TD]
[TD="width: 91"][/TD]
[TD="width: 115"][/TD]
[TD="width: 93"][/TD]
[/TR]
[TR]
[TD="width: 64"][/TD]
[TD="width: 333, colspan: 3"]Color Formatting needed in report B Cell B7, C7 etc….
[/TD]
[TD="width: 93"][/TD]
[/TR]
</tbody>[/TABLE]
[FONT="] Note Report A and Report B are two different workbooks. [/FONT]
[/h]