Vba : Copy Paste or Export Data Between Another Sheet

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,089
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..
i have table like this
copy data vba.xlsx
ABCDEFGH
7ClueDescriptiomTarget 2021Q1Q2
10(1)(2)(3)(4)(5)(6)(7)
111-Pengelolaan kekayaan negara dan lelang yang optimal
121a-CPP/MTingkat Kesesuaian Penggunaan BMN dengan SBSKMAX/TLK
13Target tingkat kesesuaian Penggunaan BMN dengan SBSK62%65%
1465%
15Monev KPKNL
161JOHN10%3%5%
172MIKE20%15%9%
183BRYAN15%12%8%
194SISCA5%4%5%
205IRFAN10%5%5%
216ZIDAN23%14%12%
22Capaian IKU
231b-CPP/MPersentase Penerimaan Negara dari Pengelolaan Kekayaan Negara dan LelangMAX/TLK
24a.Target/Realisasi PNBP BMNRp 14.300#VALUE!#VALUE!
257JOHN1.000 etc… etc..
268MIKE1.500
279BRYAN2.000
2810SISCA3.000
2911IRFAN4.500
3012ZIDAN2.300
Data Capaian
Cell Formulas
RangeFormula
F24:H24F24=SUM(F25+F26+F27+F28+F29+F30+F32)


input
copy data vba.xlsx
ABCDE
1CluenameTarget 2021Q1Q2
21JOHN10%3%5%
32MIKE20%15%9%
43BRYAN15%12%8%
54SISCA5%4%5%
65IRFAN10%5%5%
76ZIDAN23%14%12%
87JOHN10008005000
98MIKE15008006900
109BRYAN2000200999
1110SISCA3000800777
1211IRFAN4500800777
1312ZIDAN2300800777
input

how to make easy using macro or vba
note:
1. copy from sheet "input" to "data capaian"
2. series number as clue (unique key)
3. destination target column F till H down based on series and name
4. please, don't change column or rows
5. if it's possible, i hope the code only work in visible cell
any body help, greatly appreciated.

.sst
 
Last edited:

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,223,933
Messages
6,175,477
Members
452,646
Latest member
tudou

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