How can I skip blank cells when looking for the first row with a value?

Joined
Jul 25, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am running an analysis and in some runs the first appearance of a sample will be blank and the second will have a value. When I use vlookup it returns blank. Is there another method that will return the 1st number?

Well IDNameWellConc/DilLumMeanCV (%)Normalization - MeanCV (%)% Inhibitionlookupvalue
CTL3sLPC1C1
22​
101​
99​
2.9​
1.1379​
2.9​
sLPC1 % INH0
C2
22​
97​
CTL12sLPC1C7
22​
95​
95​
0​
1.092​
0​
4.0404​
C8
22​
95​
4.0404​

this is the formula I am using:

=VLOOKUP("sLPC1",B:J,9,FALSE)

4.0404 is the value I need not 0.

Any ideas? Thanks!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
You use Office 365, thus you may use Filter and Let. Try using
Excel Formula:
=LET(Filtrato,FILTER(B1:L50,J1:J50<>""),VLOOKUP("sLPC1",Filtrato,9,FALSE))
 
Upvote 0
Welcome to the MrExcel board!

Like @Anthony47's suggestion, I would not use whole column references for the suggestion below, but you may need to edit the '50' row values to be sure to be big enough for your data.

Excel Formula:
=INDEX(FILTER(J2:J50,(B2:B50="sLPC1")*(J2:J50<>""),""),1)
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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