Extracting data from one sheet to another depending on certain criteria

liampog

Active Member
Joined
Aug 3, 2010
Messages
316
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi there

I have a sheet that I want two pieces of information to be extracted to a different sheet - A name and a value in £GBP.

However, I only want the name and the value to be "copied" to the other sheet when the value is over £2000.

There will be some names where the value is less than £2000, and these need to be ignored.

I'm thinking of creating a macro button that the user must click in order to "Create" the record rather than it being automatic. The create button macro would need to scan all the GBP value cells in the sheet to find if the formula equals an amount £2000 or over and if it does, then it copies the name and the value to the next available row in the other sheet.

I hope this makes sense, please feel free to ask any questions that might be necessary.

Thanks for the help,
Liam
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
1. What is the name of the sheet with the main data?

2. Does the 'other sheet' already exist?

3. If so,

a) What is its name?

b) Does it already contain any headings/data? If so should this data be kept or removed when the new process takes place?

4. Does this job just require looking in a single column for all values >=2000 and moving data from those rows to the other sheet?
- If so, what column?
- If not, more explanation would be helpful.

5. Are there more columns in the main sheet than just Name and Value. If so, what column holds the names?

6. What version of Excel are you using?
 
Upvote 0

Forum statistics

Threads
1,224,578
Messages
6,179,654
Members
452,934
Latest member
mm1t1

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