code consolidate data from multiple sheets to one sheet

abdelfattah

Well-known Member
Joined
May 3, 2019
Messages
1,507
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
hi, guys

i'd like code works to consodilate data from multible sheets to one sheet
i have sheets1,2,3,4,5 the data columns a,b,c,d in all sheets what i would be showing data in sheet5 but the column d contains brand is formula like this sheets5=(sheet1+sheet2+sheet4)-sheet3 and when i fill repeated brands (the same brand twice or more) in sheet1,2,3,4 here it must show brand in column d in sheet5 one time not more or repeated
like this :

SHEET1 SHEET2 SHEET3 SHEET4 SHEET5
A B C D A B C D A B C D A B C D A B C D
ITEM BRAND TYPE BALANCE
ITEM BRAND TYPE BALANCE ITEM BRAND TYPE BALANCE ITEM BRAND TYPE BALANCE ITEM BRAND TYPE BALANCE


AA 1200R20 G 250 AA 1200R20 G 100 AA 1200R20 G 50 AA 1200R20 G 20 AA 1200R20 G 395

AA 1200R20 G 25 AA 1200R20 G 50 AA 1200R20 G 50 AA 1200R20 G 20
NOTE : THE VALUE IN SHEET5 395 IT DOES THE FORMULA ROW1,2 BECAUSE THE SAME BRAND
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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