Finding value in top row using multiple criteria

mboi010

New Member
Joined
Aug 25, 2017
Messages
6
Hello,

I am trying to find the top row value that matches the criteria from three left hand columns and a value in the table. There is a value, an annualized number value, that is used to find the value in the table. The value in the table is to be the closest less than value to that annualized value. Example below:


Specialty of store: Toys
Annualized number: 11

Column a Column b column c column d column e column f
10% 15% 20%
Bread Bakery Baker Head baker 8 10 12
Bread Bakery Baker Assistant 1 6 9 12
Cookie Shop Baker Head baker 4 8 12
Cookie Shop Baker Assistant 1 1 2 3

I am needing to find using the annualized number of "11", the closest less than value in the table using the criteria of "Bread bakery" "Baker" and "Assistant 1", this all needs to give me the percentage in the top row that it corresponds with. Is there a formula for this?

This example should find that "9" is the closest table value, and 15% is the top row number.

Thank you!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Yes, No problem.

------------------------------------10% 15% 20%
Bread Bakery- Baker- Head baker- 8 - 10 - 12
Bread Bakery- Baker- Assistant - 6 - 9 - 12
Cookie Shop- Baker- Head baker- 4 - 8- 12
Cookie Shop- Baker- Assistant 1- 1 - 2 - 3

Thank you!
 
Upvote 0
Thanks for the sample.

The goal is to identify the percentage value in the top row, which corresponds to a closest value which less than 11 while column A = bread bakery, column B = baker, and column C housing a value that contains the string assistant. That value is 9 which correlates with 15%.

Is this goal summary correct?
 
Upvote 0
Case 1: 10%
Case 2: 20%

Thank you

Row\Col
A​
B​
C​
D​
E​
F​
I​
J​
K​
1​
10%​
15%​
20%​
11​
7​
7
2​
Bread BakeryBakerHead baker
8​
10​
12​
bread bakerybread bakery cookie shop
3​
Bread BakeryBakerAssistant
6
9
12​
bakerbaker baker
4​
Cookie ShopBakerHead baker
4​
8​
12​
assistantassistant assistant
5​
Cookie ShopBakerAssistant 1
1
2​
3​
0.15
0.1
0.2
6​

In I5 control+shift+enter, not just enter, and copy across:

=INDEX($D$1:$F$1,MIN(IF(($A$2:$A$5=I$2)*($B$2:$B$5=I$3)*ISNUMBER(SEARCH(I$4,$C$2:$C$5))*($D$2:$F$5<=I$1)*$D$2:$F$5=MAX(IF(($A$2:$A$5=I$2)*($B$2:$B$5=I$3)*ISNUMBER(SEARCH(I$4,$C$2:$C$5))*($D$2:$F$5<=I$1),$D$2:$F$5)),COLUMN($D$1:$F$1)-COLUMN($D$1)+1)))
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,795
Members
451,589
Latest member
Harold14

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