How to show a range or values in one cell?

afc171

Board Regular
Joined
Jan 14, 2017
Messages
78
Office Version
  1. 2019
Platform
  1. Windows
Hi guys,
I get sent a Product pick sheet (first image) which will have the quantities required.
I then pull the information (from Sage) for the products to show what is in stock with batches and date receipted (see 2nd image)
If there is a product which needs to be picked from stock that has 2 or more different batches (e.g DYE0024 in 2nd image) but also need to pick the earliest receipted item how can I populate this information into Product pick sheet or the one I pull the information into from Sage?

Basically I need to copy the products and quantities requested into a sheet which will show me the earliest receipted product and batch.

Thank you
 

Attachments

  • Screenshot 2021-05-08 at 17.55.33.png
    Screenshot 2021-05-08 at 17.55.33.png
    48.9 KB · Views: 15
  • Screenshot 2021-05-08 at 17.56.15.png
    Screenshot 2021-05-08 at 17.56.15.png
    160 KB · Views: 16

yky

Well-known Member
Joined
Jun 7, 2011
Messages
1,875
Office Version
  1. 2010
Platform
  1. Windows
Book out the next 3, 2 or 1. May have to check stock and the enter the batch in manually.
In case the total stock isn't enough to satisfy the request, you'll need to purchase.

You need a vba script to do what you're asking. Formulae can't do it.
 

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

Zot

Well-known Member
Joined
Nov 26, 2020
Messages
1,524
Office Version
  1. 2016
Platform
  1. Windows
In case the total stock isn't enough to satisfy the request, you'll need to purchase.

You need a vba script to do what you're asking. Formulae can't do it.
I can agree to this. It is a more practical approach. Using formula, you have to also do some tasks manually I believe.
 

Forum statistics

Threads
1,141,062
Messages
5,704,048
Members
421,325
Latest member
tapete86

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
Top