compare 2 values and return third

ExceLoki

Well-known Member
Joined
Dec 13, 2021
Messages
542
Office Version
  1. 365
Platform
  1. Windows
i'm using google sheets for this.
the yes values are pulled in from another table to return if AA/Stainless has the corresponding gauge available.
what i'd like to do is using the drop downs in b12 & b13 return a list of row 1 that has a yes for the drop down values to show in B14. i would like to use unique and sort for the results. (hope that makes sense)
examples:
b12=18g & b13=AA , b14 would = 0 17/64, 0 1/4, 0 5/32, 0 1/8, 0 9/64, 0 5/16, 0 3/16, 0 9/32
b12=18g & b13= Stainless , b14 would = 0 1/4, 0 5/32
b12=16g & b13=AA , b14 would = 0 25/64, 0 3/8

ABCDEFGHIJKLMNOPQRSTUV
10 25/640 17/640 1/40 5/320.1060 1/40 5/320 1/80 9/640 5/160 3/40 3/80 3/80 1/40 5/320 3/160 3/160 9/320 5/320 7/640 3/32
2GaugeAAAAStainlessStainlessStainlessAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
312gyes
416gyesyesyes
518gyesyesyesyesyesyesyesyesyesyesyesyesyesyes
619gyes
720gyesyesyesyesyes
8
9
10
11
12Gauge18g
13MaterialAA
14Available ID
15yesyesyesyesyesyesyesyesyesyesyesyesyesyes
160 17/640 1/40 5/320 1/40 5/320 1/80 9/640 5/160 1/40 5/320 3/160 3/160 9/320 5/32
170 17/640 1/40 5/320 1/80 9/640 5/160 3/160 9/32

Current formulas in use:
b15=FILTER(B3:V7,A3:A7=B12)
b16=if(B15="yes",B1,"")
b17=unique(filter(B16:V16,B16:V16<>""),1,0)
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,223,320
Messages
6,171,433
Members
452,402
Latest member
siduslevis

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