VBA Copy, Find and Paste Values to Different Sheet

NiallJG91

New Member
Joined
Jun 8, 2020
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

I have a file which is essentially a record of projects (+150) e.g. project title, leader, start date etc., and there is a second sheet containing some formulas to calculate project value.
I'd like to be able to copy the calculations from sheet 2, and paste them as values on a specific row in sheet 1.

However, the pasted values need to be on the row of a particular project.
For example, if I was to calculate project value now, I want to copy values from A2, B2 and C2, and paste the values in columns E, F and G on the same row as "Project XYZ".

I own the file, so I can add a dropdown with the project title on the calculations sheet if that is required.
Any help would be appreciated, as I am totally out of ideas.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
So the calculation of project value on sheet 2 is done for a specific project. When you have done the calculation for project XYZ, you then want to transfer it to the XYZ row on the 1st sheet.

  • Is a little macro OK to use?
  • Are A2, B2, C2 the correct output cells on sheet 2?
  • Are columns E, F and G the correct input cells on sheet1?
  • When you do the calculation, do you have the project name filled in in a certain cell in sheet 2? which cell? Or do you want to transfer it to the selected row in sheet1?
  • In which column on sheet1 can i find the project names?
 
Upvote 0

Forum statistics

Threads
1,224,739
Messages
6,180,674
Members
452,993
Latest member
FDARYABEE

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