Advertisement

05.23.2008 at 03:41PM PDT, ID: 23429138
[x]
Attachment Details

Formula or macro to get value of active row and a specific column upon change of active cell

Asked by amoyes in Microsoft Excel Spreadsheet Software, VB Script

Tags: Microsoft, Office, 2003, Excel formula or macro to retrieve value of cell

Hello experts,

I have a large pivot and I am trying to build a chart that will change the values depending on what row is selected. I am feeding the chart off a series of cells in A1 through F1. I need a formula or a macro that will assign the value to these cells based on the active cell the user selects. For instance, if the user clicks on cell D5, A1 = A5, B1 = B5, C1 = C5, D1 = D5, E1 = E5, F1 = F5.

Even if the user clicks on Z5, the value of A1:F1 would still behave like above, always feeding from columns A:F but the row will vary based on what the user selects. There is a limitation to the rows from 5 to 200. If the user selects row 4 which in this case has titles, the cells in A1:F1 would remain empty.

I hope this makes sense and it is possible. I searched and searched but I don't think there is a formula that does this, I probably need a macro.

Thx much!
AndreeaStart Free Trial
[+][-]05.23.2008 at 04:11PM PDT, ID: 21636667

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Excel Spreadsheet Software, VB Script
Tags: Microsoft, Office, 2003, Excel formula or macro to retrieve value of cell
Sign Up Now!
Solution Provided By: byundt
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.23.2008 at 04:14PM PDT, ID: 21636683

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 08:54AM PDT, ID: 21652957

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 09:06AM PDT, ID: 21653069

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628