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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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,215,343
Messages
6,124,404
Members
449,156
Latest member
LSchleppi

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