Macro to update few cells in a row based on a condition in a particular column

ksl4u

New Member
Joined
Jun 20, 2019
Messages
1
This is my first post and would like to get some help on writing a Macro to update few cells in a row based on a condition in a particular column.
I have an excel spreadsheet 1 containing many columns and rows (Sample data below).

typebaseTypeascIdresultStrategytitledescriptionrepExPurchaseRate
card1balance1 ABC CORE18 Month Our balance transfer 21.9
card2balance2 XYZCORE27 Month &nb

22.9

<colgroup><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

I have another spreadheet 2 where the same data is in a different structure. I would like to update few cells in spreadsheet 1 (like title, repExPurchaseRate)with data from spreadsheet 2 if card1 (under type column in spreadsheet 1) matches with a cell value in spreadsheet 2.

Thanks
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,665
Messages
6,120,803
Members
448,990
Latest member
rohitsomani

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