match two cell values on different sheets if they match then copy other cells.

muddyspudz

New Member
Joined
Jan 14, 2021
Messages
1
Office Version
  1. 2011
Platform
  1. Windows
Hi, I'm not sure if i can explain this well but what I have is a column of numbers on 1 sheet, column A,

these will be manually put in over time, so 1 and each row has information that i need to send to another sheet if the number matches
the number on my other sheet, in the cell J30, then if the number matches i would like to copy certain cells from sheet1 to sheet2.

I'm not sure how to do this, as i need it to match the cell J30 only.

That is what I would like help on if possible please,

I'm sorry to be a pain.

so in recap,

the user will enter 1 in column A on sheet 1,
I would like this number to look at cell "J30" on sheet 2 and if it matches this number (1)
then have the macro copy cells "D5, F5, G5 and H5 from sheet 1, to sheet 2 cells "A13, C13, F13 and J13.
if the number does not match i would like the macro to ignore it and carry on until all the rows with this number have been copied.

i will also need to do this for numbers 1 -26, (in column A on sheet 1)

if someone can help get me started that would be amazing, again sorry if this is confusing i will of course answer any questions.
Thank you so much.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
hi muddyspudz,

Welcome to the board.

I would suggest providing part of your worksheet or sample data along with the query, using xl2bb addin or dropbox or onedrive. that would make it easier for everyone trying to help to better understand and suggest solutions accordingly, rather then interpreting the query and making assumptions.
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,854
Members
449,096
Latest member
Erald

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