VLOOKUP OR IFS WITH MATCH FORMULA?????

JCKCorinna

New Member
Joined
Feb 20, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I need a formula to add to the yellow highlighted cell (B17) whose result is one of the percentages from F12:J15.

The factors need to match a corresponding row (matching B12 to either D12, D13, D14, D15.)
And from there also matching B8 to the value from the column F11:J11.

So for example, if the RATING IS 89%, AND THE CURRENT % OF MARKET RATE IS 50%, THEN THE VALUE RETURNED SHOULD BE 9%.

If have tried VLOOKUP, IFS, MATCH formulas - I can't seem to find the right combination.
(fingers crossed)

AND, if a formula cannot return a value in B17 - then is there a formula I could add to a conditional formatting formula to at least highlight the correct value in the table?

1676932427633.png
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi and welcome to MrExcel.

I give you the two solutions, the formula and the conditional format.

Adjust the values that I marked in blue color.

Dante Amor
ABCDEFGHIJ
7Market2.00
8Current50%
9
10PERFORMANCE SCALE% OF MARKET
1190.99%91.00%97.00%103.10%110.00%
1289%91%100%10%7%5%5%4%
1371%90%9%6%4%4%3%
1451%70%80%5%3%3%2%
150%50%0%0%0%0%0%
16
179%
Hoja4
Cell Formulas
RangeFormula
B17B17=INDEX(F12:J15,MATCH(B12,E12:E15,-1),LOOKUP(2,1/(E11:J11<B8),COLUMN(E11:J11)-4))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F12:J15Expression=AND($B$12>=$D12,$B$12<=$E12,$B$8<=F$11,$B$8>E$11)textNO


NOTE XL2BB:
For the future, it would help greatly if you could give us the sample data in a form that we can copy to test with, rather that a picture.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in
Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
----- --
 
Upvote 0
This ought to do it.

MrExcel posts20.xlsx
BCDEFGHIJ
850%
9
10
110%91%97%103.1%110%
1289%90%10%7%5%5%4%
1370%9%6%4%4%3%
1450%8%5%3%3%2%
150%0%0%0%0%0%
16
179%
Sheet4
Cell Formulas
RangeFormula
B17B17=INDEX(F12:J15,XMATCH(B12,D12:D15,-1,-1),XMATCH(B8,F11:J11,-1))
 
Upvote 0
Hi and welcome to MrExcel.

I give you the two solutions, the formula and the conditional format.

Adjust the values that I marked in blue color.

Dante Amor
ABCDEFGHIJ
7Market2.00
8Current50%
9
10PERFORMANCE SCALE% OF MARKET
1190.99%91.00%97.00%103.10%110.00%
1289%91%100%10%7%5%5%4%
1371%90%9%6%4%4%3%
1451%70%80%5%3%3%2%
150%50%0%0%0%0%0%
16
179%
Hoja4
Cell Formulas
RangeFormula
B17B17=INDEX(F12:J15,MATCH(B12,E12:E15,-1),LOOKUP(2,1/(E11:J11<B8),COLUMN(E11:J11)-4))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F12:J15Expression=AND($B$12>=$D12,$B$12<=$E12,$B$8<=F$11,$B$8>E$11)textNO


NOTE XL2BB:
For the future, it would help greatly if you could give us the sample data in a form that we can copy to test with, rather that a picture.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in
Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
----- --A
Hi and welcome to MrExcel.

I give you the two solutions, the formula and the conditional format.

Adjust the values that I marked in blue color.

Dante Amor
ABCDEFGHIJ
7Market2.00
8Current50%
9
10PERFORMANCE SCALE% OF MARKET
1190.99%91.00%97.00%103.10%110.00%
1289%91%100%10%7%5%5%4%
1371%90%9%6%4%4%3%
1451%70%80%5%3%3%2%
150%50%0%0%0%0%0%
16
179%
Hoja4
Cell Formulas
RangeFormula
B17B17=INDEX(F12:J15,MATCH(B12,E12:E15,-1),LOOKUP(2,1/(E11:J11<B8),COLUMN(E11:J11)-4))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F12:J15Expression=AND($B$12>=$D12,$B$12<=$E12,$B$8<=F$11,$B$8>E$11)textNO


NOTE XL2BB:
For the future, it would help greatly if you could give us the sample data in a form that we can copy to test with, rather that a picture.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in
Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
----- --
A-MAZE-ING!!!!!! Thank you!
 
Upvote 1

Forum statistics

Threads
1,214,918
Messages
6,122,243
Members
449,075
Latest member
staticfluids

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