Referencing data for a chart from a different sheet

Johnmu

New Member
Joined
Jul 15, 2009
Messages
23
Hi,


I have a list of product data summarised in one sheet and detailed data for those products in a second sheet. Next to each product in the first sheet I have a Sparkline describing 12 months performance. The data for the sparkline is in a range called "Actual" in the second sheet. The products in the two sheets are not in the same order. I am currently generating the Sparkline data manually but this hardwire approach is not feasible in the long term as the order of the products in the first sheet changes dynamically. I need to use the product name in the first sheet to lookup the data range in the second sheet as a reference for the sparkline. How can I do this? All help appreciated.

Cheers

John
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Is it not as simple as a VLOOKUP?

=vlookup(cell where you product name is, range will be the dynamic list of products INCLUDING THE VALUES!!, offset by the required no. columns, false)
(will only return exact match)

Hope that helps!
 
Upvote 0
Thanks for the fast response Stu...

I tried the vlookup but that just returns a single value.. What i need returned is a range of data that I can use to generate the chart.. Am I missing something in your reply?

John
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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