Macro Question for excel

ceyoung75

New Member
Joined
May 31, 2023
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Ok, so the formula works that i was having issues on but am curious if there is a way to use a macro to automate my task. I have 6 sheets in my workbook. First sheet is a dump list of 3 columns. A is the name, B is number of sales and C is cost of each sale. The other pages are used for ranges. aka if under. 80 then A1 (the salesmans name) goes here. If range is between .81 and 1.30 it goes to second page and so on...I don't know anything about vb so hoping someone can point me to a sample as a good starting point or something... Thanks in advance.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
If I understand your correctly, I don't think you need VBA at all. Just one FILTER function on each sheet, specifiying what data from your main sheet to pull.
(The new FILTER function in Excel 365 is a great tool for projects like this!).

If it dynamic. So all you need to do is enter one Filter function on each sheet, specifying the filter details, and it will return all matching data.
See: FILTER Function
 
Upvote 0

Forum statistics

Threads
1,215,107
Messages
6,123,126
Members
449,097
Latest member
mlckr

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