Using a formula to look up multipul values based on one other value.

Browneh89

Board Regular
Joined
Mar 8, 2019
Messages
55
Office Version
  1. 365
Platform
  1. Windows
Hey,

I hope I can explain this correctly. I'm trying to write a formula which looks at a value and uses it to pull up 2 different lines of criteria..

1603377517642.png


So in the first table it would look at the number in the area box and compare it to the second table.

it would then pull the code for requirement 1 and 2 in the lower rows in the second table.

I can't use XL2BB to better explain because I am at work!

Thank you for any help in advance!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
How about
+Fluff v2.xlsm
ABCDEFGHIJK
1
2Area6112CodeRequirement 1Requirement 2Area
3A6128
4B6316
5Requirement 1DE Cbox6112
6Requirement 2C  DWrap6112
7Ewap6112
8F6350
9
Work
Cell Formulas
RangeFormula
B5:D5B5=IFERROR(INDEX($H$3:$H$8,AGGREGATE(15,6,(ROW($H$3:$H$8)-ROW($H$3)+1)/($K$3:$K$8=$B$2)/($I$3:$I$8<>""),COLUMNS($B5:B5))),"")
B6:D6B6=IFERROR(INDEX($H$3:$H$8,AGGREGATE(15,6,(ROW($H$3:$H$8)-ROW($H$3)+1)/($K$3:$K$8=$B$2)/($J$3:$J$8<>""),COLUMNS($B6:B6))),"")
 
Upvote 0
Hey Fluff, Thank you for a response! unfortunately the formula did not work. I have a 3rd column in the table.. could that be what is throwing it out?

e.g.

1603385643500.png
 
Upvote 0
In that case where are all those ranges?
 
Upvote 0
In that case where are all those ranges?
=IFERROR(INDEX('Restriction List'!$A$2:$A$100,AGGREGATE(15,6,(ROW('Restriction List'!$A$2:$A$100)-ROW('Restriction List'!$A$2)+1)/('Restriction List'!$E$2:$E$100='Use Me'!$C$8)/('Restriction List'!$C$2:$C$100<>""),COLUMNS('Use Me'!$G26:G26))),"")

1603392038809.png


So I'm attempting to pull the data from that sheet into the use me sheet.
 
Upvote 0
If the formula is in G26, C8 has the route & you want the store number for anything that needs Wrap, then that formula looks fine.
In what way is it not working?
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

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