filling values for transposed data horizantly from sheet to others based on headers

Mussala

Board Regular
Joined
Sep 28, 2022
Messages
87
Office Version
  1. 2019
Platform
  1. Windows
Hello
I want matching items in column B for sheet DATA with others sheet for headers in row 1 then should fill values under headers and dates based on matching sheet name MONTH for each sheet add Total row for each month . every month

sheet data
JOURNAL.xlsx
ABCDEFGH
12009 JAN JOURNAL
2dateACCOUNT NOdescribeDIFFTOTALDEBITCREDIT
31/1/2019account1EXPENSES0.000.000.002000.00
42/1/2019account1BANK400.00
53/1/2019account2BANK200.00
62/2/2019account2SAFE0.000.000.001000.00
73/2/2019account 3EXPENSES0.000.000.001200.00
84/2/2019account 4SAFE0.000.000.00300.00
95/2/2019account 5SAFE0.000.000.00400.00
106/2/2019account 6SAFE0.000.000.00500.00
DATA
Cell Formulas
RangeFormula
D3,D6:D10D3=F3-E3
E3,E6:E10E3=SUMIF($F$2:$FI$2,$FI$2,F3:FI3)
F3,F6:F10F3=SUMIF($G$2:$FJ$2,$FJ$2,G3:FJ3)



JOURNAL.xlsx
ABCDEFGHIJKLMNOPQR
12009 JANaccount1account2account3account4account5account6account7
2dateDIFFTOTALDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDIT
30.000.000.00
40.000.000.00
50.000.000.00
60.000.000.00
70.000.000.00
80.000.000.00
90.000.000.00
JAN
Cell Formulas
RangeFormula
B3:B9B3=D3-C3
C3:C9C3=SUMIF($D$2:$FG$2,$FG$2,D3:FG3)
D3:D9D3=SUMIF($E$2:$FH$2,$FH$2,E3:FH3)


JOURNAL.xlsx
ABCDEFGHIJKLMNOPQR
12009 JANaccount1account2account3account4account5account6account7
2dateDIFFTOTALDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDIT
30.000.000.00
40.000.000.00
50.000.000.00
60.000.000.00
70.000.000.00
80.000.000.00
90.000.000.00
FEB
Cell Formulas
RangeFormula
B3:B9B3=D3-C3
C3:C9C3=SUMIF($D$2:$FG$2,$FG$2,D3:FG3)
D3:D9D3=SUMIF($E$2:$FH$2,$FH$2,E3:FH3)





result

JOURNAL.xlsx
ABCDEFGHIJKLMNOPQR
12009 JANaccount1account2account3account4account5account6account7
2dateDIFFTOTALDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDIT
31/1/20190.000.000.002000.00
42/1/20190.000.000.00400.00
53/1/20190.000.000.00200.00
60.000.000.00
70.000.000.00
80.000.000.00
90.000.000.00
JAN
Cell Formulas
RangeFormula
B3:B9B3=D3-C3
C3:C9C3=SUMIF($D$2:$FG$2,$FG$2,D3:FG3)
D3:D9D3=SUMIF($E$2:$FH$2,$FH$2,E3:FH3)




JOURNAL.xlsx
ABCDEFGHIJKLMNOPQR
12009 JANaccount1account2account3account4account5account6account7
2dateDIFFTOTALDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDITDEBITCREDIT
32/2/20190.000.000.001000.00
43/2/20190.000.000.001200.00
54/2/20190.000.000.00300.00
65/2/20190.000.000.00400.00
76/2/20190.000.000.00
80.000.000.00
90.000.000.00
FEB
Cell Formulas
RangeFormula
B3:B9B3=D3-C3
C3:C9C3=SUMIF($D$2:$FG$2,$FG$2,D3:FG3)
D3:D9D3=SUMIF($E$2:$FH$2,$FH$2,E3:FH3)
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,225,761
Messages
6,186,890
Members
453,383
Latest member
SSXP

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