SOLVED: Find first non blank in a range and return cell value in range.

Lewzerrrr

Active Member
Joined
Jan 18, 2017
Messages
256
SOLVED



I have a huge data source, what I need to do is find the first non blank cell in a range of I5:EG5 (dragged down) and return the value of I3 or L3 or O3...

See below example so i need to get the results that are in N3:N5

[TABLE="width: 840"]
<tbody>[TR]
[TD="class: xl65, width: 56"][/TD]
[TD="class: xl65, width: 56"]A[/TD]
[TD="class: xl65, width: 56"]B[/TD]
[TD="class: xl65, width: 56"]C[/TD]
[TD="class: xl65, width: 56"]D[/TD]
[TD="class: xl65, width: 56"]E[/TD]
[TD="class: xl65, width: 56"]F[/TD]
[TD="class: xl65, width: 56"]G[/TD]
[TD="class: xl65, width: 56"]H[/TD]
[TD="class: xl65, width: 56"]I[/TD]
[TD="class: xl65, width: 56"]J[/TD]
[TD="class: xl65, width: 56"]K[/TD]
[TD="class: xl65, width: 56"]L[/TD]
[TD="class: xl65, width: 56"]M[/TD]
[TD="class: xl65, width: 56"]N[/TD]
[/TR]
[TR]
[TD="class: xl65"]1[/TD]
[TD="class: xl66"]Week 1[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl66"]Week 2[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl66"]Week 3[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl66"]Week 4[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl68"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl65"]2[/TD]
[TD="class: xl69"]Units[/TD]
[TD="class: xl69"]Stocks[/TD]
[TD="class: xl69"]Cover[/TD]
[TD="class: xl69"]Units[/TD]
[TD="class: xl69"]Stocks[/TD]
[TD="class: xl69"]Cover[/TD]
[TD="class: xl69"]Units[/TD]
[TD="class: xl69"]Stocks[/TD]
[TD="class: xl69"]Cover[/TD]
[TD="class: xl69"]Units[/TD]
[TD="class: xl69"]Stocks[/TD]
[TD="class: xl69"]Cover[/TD]
[TD="class: xl70, width: 56"]How many weeks in stock[/TD]
[TD="class: xl70, width: 56"]First week of stock[/TD]
[/TR]
[TR]
[TD="class: xl65"]3[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]20[/TD]
[TD="class: xl69"]20[/TD]
[TD="class: xl69"]20[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"]3[/TD]
[TD="class: xl69"]Week 1[/TD]
[/TR]
[TR]
[TD="class: xl65"]4[/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"]1[/TD]
[TD="class: xl69"]Week 2[/TD]
[/TR]
[TR]
[TD="class: xl65"]5[/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"][/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]10[/TD]
[TD="class: xl69"]2[/TD]
[TD="class: xl69"]Week 3[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,225,757
Messages
6,186,848
Members
453,379
Latest member
gabriellegonzalez

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