Pull the row name based on a condition/criteria

asivaraman

New Member
Joined
Aug 12, 2019
Messages
13
I am trying to pull the data from the first row (E1, F1, G1 ...) based on a certain condition. If col D - "Penetration limit" is equal or greater than the data between row E to V, i need the row name(E1, F1, G1 ...) to show up under the respective col C.
Example: in Row 4 ---- D4= 40% and N4 =41% (because N4>D4), so i need to pull N1 into C4.
Highlight cells.png
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi,

Try this:

Book3.xlsx
BCDEFGHIJKLMNOPQRSTUV
11/1/20152/1/20153/1/20154/1/20155/1/20156/1/20157/1/20158/1/20159/1/201510/1/201511/1/201512/1/20151/1/20162/1/20163/1/20164/1/20165/1/20166/1/2016
2
3
410/1/201540%18%18%23%25%28%33%39%38%38%41%44%44%44%41%41%43%43%46%
Sheet1044
Cell Formulas
RangeFormula
C4C4=INDEX(E1:V1,MATCH(TRUE,E4:V4>D4,0))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,883
Messages
6,175,167
Members
452,615
Latest member
bogeys2birdies

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