Pulling multiple values macro

HimThruMe

Board Regular
Joined
Jun 26, 2008
Messages
117
I need to write a macro that will scan a range of data, and for any cell in that range of data that has any positive or negative value in it... that it will transpose certain information both from that row and from that column associated with that cell.

More specifically:

If there is a value in range f4:BP66 in worksheet_2 then it needs to take that value and put it in cell A on worksheet_1, it needs to take the value in cell B in the same row in worksheet_2 and put that in cell B in worksheet_1, it needs to take the value in cell A in that same row in worksheet_2 and put it into cell C in worksheet_1, and finally it needs to take the value in Row 3 of the same column of the orginal value in worksheet_2 found in the range (f4:bp66) and put that in cell D in worksheet_1.

After it needs to find the next value in that range and do the same thing for every value and moving it all into worksheet_1 into the next row... and so forth until it has doen this for every value found in that range.

If you think you might be able to help with this and need better info... please let me know.

I really appreciate it! :)
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

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