displaying data in different cells, Depending on the value of 1 cell.

Luke1690

Board Regular
Joined
Jul 26, 2022
Messages
121
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Morning,

i have a a part list, where people can select QTY of parts they require.

When the QTY is chosen i need the data displayed in different cells

qty Range B22:B55 Amount that they can order is 1 or 2

When a 1 or 2 is selected in the qty box (B22), i would like cellls A22,B22,C22,D22 to show in cells L9,M9,N9,O9

If a another cell has a qty selected lets say (B24), Cells A24,B24,C24,D24 To show in cells L10,M10,N10,O10

and so on.....


Is this possible?

ive been looking for videos to train my self but not to sure where to look, if someone can point in the right direction.

Thanks guys
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
i didn't even know it was set to 365 im using 2016 i have changed it now. really sorry to waste your time.
 
Upvote 0
i didn't even know it was set to 365
It is not a default setting, so you must have specifically set it at some point. :).

im using 2016
In that case try this formula, copied across and down.

Luke1690.xlsm
ABCDEFGHIJKLMNO
16PartQtyDescLoc
17Part a1Desc 1Loc 1
18Part d2Desc 4Loc 4
19PartQtyDescLoc    
20Part a1Desc 1Loc 1    
21Part bDesc 2Loc 2    
22Part cDesc 3Loc 3
23Part d2Desc 4Loc 4
24Part eDesc 5Loc 5
25Part fDesc 6Loc 6
26Part gDesc 7Loc 7
27
Sheet1
Cell Formulas
RangeFormula
L17:O21L17=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$20:A$100)/($B$20:$B$100>0),ROWS(L$17:L17))),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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