VBA selecting cell within a matrix

pt3

New Member
Joined
Oct 5, 2011
Messages
18
Hi,

I am trying to understand what application function would be necessary if the goal is to select a cell within a grid depending upon a criterion. The following example may clarify what I am attempting to achieve:

For list:

Date Manager Value Buy/Sell
29/09/2011 A £272 Sell
30/09/2011 B £273 Sell
03/10/2011 C £274 Sell
04/10/2011 D £275 Sell
05/10/2011 A £276 Sell
06/10/2011 B £277 Sell


I would like to copy the 'Value' to the cell which is in the column for 'Manager' and row for 'Date' from the above.

If I were to have the dates in a column on the left and the Managers ‘Manager A’ to ‘Manager D’ in the row one above the row in which the dates start, please could someone inform me whether the ‘application.intersect’ function would be applicable, eg. for the first line in the above:


Code:
Dim isect as Range 
Set isect = application.intersect(“29/09/2011”,”Manager A”) 
 
 
Any advice would be greatly appreciated. Thanks.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,222,143
Messages
6,164,171
Members
451,880
Latest member
2da

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