lookup 2,1/ over an array of values

jimblimm

Board Regular
Joined
May 11, 2012
Messages
219
i have the following formula
in the formula i am trying to find the last time a value showed


LOOKUP(2,1/('MAIN DATA'!$BT$20:$BV$4000=A11),'MAIN DATA'!$A$20:$A$4000))

max index of bt:bt=a11 bu:bu=a11 bv:bv=a11


for some reason, it is not calculating right

i think i need to use mmulti function but dont know exactly how

i guess i need

index(max('MAIN DATA'!$BT$20:$Bt$4000=A11,'MAIN DATA'!$Bu$20:$Bu$4000=A11,'MAIN DATA'!$Bv$20:$BV$4000=A11 or something
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi

Try:

=IF(COUNTIF($BT$20:$BV$4000,A11)=0,"Not found!",INDEX($A:$A,MAX(IF($BT$20:$BV$4000=A11,ROW($BT$20:$BV$4000)))))

This is an array formula, you have to confirm it with CTRL-SHIFT-ENTER.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

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