More Vlookup help

jrisebo

Active Member
Joined
Mar 15, 2011
Messages
311
Office Version
  1. 365
Platform
  1. Windows
I need to lookup values in column K based on column P being yes, and description in A1. I was going to do a helper column, but seems alot of extra for nothing. I dont want to use a if statement because as I develop this, column P could get to 15-20 choices.


Bolted Wood Connection.xlsm
ABCDEFGHIJKLMNOP
1Select Structural
2Dense Select Structural 10" wide 19501300175660180019000006900000.55no
3Select Structural 1700115017556516501800000660000
4Non-Dense Select Structural 1500105017548016001600000580000
5No.1 Dense 120080017566015501800000660000
6No.1 105070017556514501600000580000
7No.1 Non-Dense 95062517548014001400000510000
8No.2 Dense 85052517566013501600000580000
9No.2 80047517556513001400000510000
10No.2 Non-Dense 75042517548012501300000470000
11No.3 and Stud 4752751755657501300000470000
12Dense Select Structural 12" wide 18001250175660175019000006900000.55Yes
13Select Structural 1600110017556516501800000660000
14Non-Dense Select Structural 140097517548015501600000580000
15No.1 Dense 110075017566015001800000660000
16No.1 100065017556514001600000580000
17No.1 Non-Dense 90057517548013501400000510000
18No.2 Dense 80050017566013001600000580000
19No.2 75045017556512501400000510000
20No.2 Non-Dense 70040017548012501300000470000
21No.3 and Stud 4502501755657251300000470000
Sheet4
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
First off, you need to un-merge your cells in column P (and ideally columns B-C and N-O as well, if you need to have formulas interact with them) and enter the appropriate value in all of them (P2 to P11 should all say "no", etc.). You can change their width if you feel that they are too small visually.

Since you're using Excel 365, you can then use XLOOKUP with multiple parameters. Example:

Excel Formula:
=XLOOKUP("Dense Select Structural"&"no",$A$2:$A$21&$P$2:$P$21,$N$2:$N$21)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,885
Messages
6,122,090
Members
449,065
Latest member
Danger_SF

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