Does anyone know this???

nickkim88

New Member
Joined
Jul 12, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Excel GODs please help!

Table A and Table B has the same information.

Are there anyway you can fill in column "G" and "I" with formula?
 

Attachments

  • Screenshot 2024-09-25 151443.jpg
    Screenshot 2024-09-25 151443.jpg
    110.6 KB · Views: 15

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Try:

Book1
ABCDEFGHI
1Table ATable B
2Item NumberTotalWarehouse AWarehouse BWarehouse CWarehouseItem NumberQty
3ABC16123Warehouse AABC11
4ABC224789Warehouse AABC27
5ABC342131415Warehouse AABC313
6ABC460192021Warehouse AABC419
7ABC56123Warehouse AABC51
8ABC624789Warehouse AABC67
9ABC742131415Warehouse AABC713
10ABC860192021Warehouse AABC819
11ABC96123Warehouse AABC91
12ABC1024789Warehouse AABC107
13Warehouse BABC12
14Warehouse BABC28
15Warehouse BABC314
16Warehouse BABC420
17Warehouse BABC52
18Warehouse BABC68
19Warehouse BABC714
20Warehouse BABC820
21Warehouse BABC92
22Warehouse BABC108
23Warehouse CABC13
24Warehouse CABC29
25Warehouse CABC315
26Warehouse CABC421
27Warehouse CABC53
28Warehouse CABC69
29Warehouse CABC715
30Warehouse CABC821
31Warehouse CABC93
32Warehouse CABC109
33
34
Sheet6
Cell Formulas
RangeFormula
G3:I32G3=LET(I,A3:A12,h,C2:E2,w,C3:E12,r,ROWS(I),c,COLUMNS(w),s,SEQUENCE(r*c,,0),o_1,INDEX(h,INT(s/r)+1),o_2,INDEX(I,MOD(s,r)+1),o_3,INDEX(w,MOD(s,r)+1,INT(s/r)+1),CHOOSE({1,2,3},o_1,o_2,o_3))
B3:B12B3=SUM(C3:E3)
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G:IExpression=G1048576<>""textNO
 
Upvote 0
Another option:

Excel Formula:
=LET(a,A3:A7,c,C3:C7,d,D3:D7,e,E3:E7,f,COUNTA(a),VSTACK(HSTACK(TEXTSPLIT(REPT(C2&",",f),,",",1),a,c),HSTACK(TEXTSPLIT(REPT(D2&",",f),,",",1),a,d),HSTACK(TEXTSPLIT(REPT(E2&",",f),,",",1),a,e)))

🤗
 
Upvote 0
Another option
Excel Formula:
=HSTACK(TOCOL(IF(SEQUENCE(ROWS(A3:A12)),C2:E2),,1),TOCOL(IF(SEQUENCE(,COLUMNS(C2:E2)),A3:A12),,1),TOCOL(C3:E12,1,1))
 
Upvote 0

Forum statistics

Threads
1,223,996
Messages
6,175,862
Members
452,676
Latest member
woodyp

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