VBA - If cells' value match, then copy and paste specific cells.

kofafa

New Member
Joined
Jun 9, 2023
Messages
16
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
PLUMBING FIXTURE & EQUIPMENT MATERIAL LIST UPDATED5.xlsm

Greetings,

I would like some help with developing a code for a button. The button should be able to perform the following task: Extract cells under headers with yellow color from sheets (LT - LAVATORY TRIM, MBT - MOP BASIN TRIM, SHV- SHOWER VALVE, SKT - SINK TRIM, URFV - URINAL FLUSH VALVE, WCFV - WATER CLOSET FLASH VALVE) , when any value in Column M matches a value in Column C of the Summary sheet. The extracted cells should then be pasted under matching headers colored yellow in the summary sheet in the appropriate row.

Thank you in advance for your help.
1687197494144.png

1687197167685.png
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
hello
I was wondering if you could give me some feedback on something. I'm just wondering if my desired goal is achievable or if there's a better way to approach it. Thanks so much!
 
Upvote 0
Hello, Could someone please help me with this?

Thanks
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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