Stacking named ranges

keithchikumbirike

New Member
Joined
Sep 6, 2021
Messages
1
Office Version
  1. 2010
Platform
  1. Windows
  2. Web
Good day everyone.

My question is how can I importrange from one sheet to another while expanding and stacking the result (imported range) according to items belonging in each named range.

I have a workbook in which I record my client's orders for chocolate hampers. Each hamper has specific items and for each hamper, there is a named range of the items it contains; these names ranges are in the worksheet titled (Hamper contents list).

In a separate sheet, titled (Client purchases), I record my client's name and his/her hamper of choice and quantity.

The focus of my question is the last worksheet I'll mention, the (Item master list). In this sheet ill like to bring the records from the Client purchases sheet but have the list automatically expanded as the client purchases list is updated.

The result should be the same with the client purchases list except this time instead of just writing the hamper option against the client name, all the contents of the client's hampers are listed so that we can tell which items each client is purchasing.


Below are 2 pictures showing Point A - where I am starting from

Point A.jpg



and Point B - an example of what I want to achieve.

Point B.jpg



So for the picture - Point B above, I simply used an indirect function... I don't know how to perpetuate the function along the column to automatically add the next purchased hamper and its list of contents.

Here is an editable link to the Google sheet version of the file:

https://docs.google.com/spreadsheets/d/1waUXTozSpPfoGjv6vvqWRDgjxBeP7I89QMZALWYGt0Q/edit?usp=sharing

I have also attached the spreadsheet file as well.

Many thanks for your help in advance.
 

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.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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