Indexing Horizontally

krazyness

New Member
Joined
Jan 31, 2017
Messages
26
Office Version
  1. 365
Platform
  1. Windows
Good Evening,

I've been spending hours trying to achieve this and I believe I'm close but about to give up. Below is my data.

1
3810​
V3
1/12/2016​
21.4​
0​
0​
137.8​
137.8​
PIFBJ MAH
3/1/2019​
2801​
3810​
3810​
2801​
2
3811​
V39
1/12/2016​
117.56​
0​
0​
0​
0​
LGLBJ MAH
3/1/2019​
2801​
3811​
3
3812​
V30
1/12/2016​
155.31​
0​
0​
0​
0​
LGLBJ MAH
3/1/2019​
2801​
3812​
4
3813​
V301
1/12/2016​
217.27​
217.27​
0​
0​
0​
XRCBL JAH
3869​
3813​
3813​
3869​

P is a Vlookup from an entirely different workbook. It finds:
Excel Formula:
=IFERROR(VLOOKUP(B62,[300codes.xlsx]alrtj941!$C:$D,1,FALSE),"")

Q is
Excel Formula:
=IF(P62="", "", (VLOOKUP(P62,B:N,13,FALSE)))

What I now need is to count the times that row Q exists in row N when P and Q are going to be blank because they didn't meet the Vlookup criteria.

I googled and found:

Excel Formula:
=INDEX($B$2:$B$6, SMALL(IF(A$2:$A$9="excel", ROW($A$2:$A$6)-ROW($A$2)+1), COLUMN(A1)))

I Converted it to:

Excel Formula:
=INDEX(O:O, SMALL(IF(N:N=Q62,ROW(N:N)-ROW(N:N)+1), COLUMN(N62)))

and fail.

Any Help would be much appreciated.

Thanks!
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,215,603
Messages
6,125,776
Members
449,259
Latest member
rehanahmadawan

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