Using the returned cell address to find value in the next cell

Morrighain

New Member
Joined
Aug 16, 2017
Messages
4
I have a range of port numbers and what they are assigned to. I am using the address function to return the location of the first unassigned (blank) port in the list. How can I use that cell address to find the value in the adjacent cell.

Column A is port values
Column B is what the port is assigned to
Address function used to return the location of the first blank cell in Column B.

A / B
10000 / DRYER
10001 /
10002 / HOOD
The formula I am using to find the first blank cell is =CELL("address",INDEX(B1:B3,MATCH(TRUE,ISBLANK(B1:B3),0)))
This gives me cell B2, how do I take that result and return the value in A2
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Change the range you are indexing/pulling back from:
Rich (BB code):
=CELL("address",INDEX(A1:A3,MATCH(TRUE,ISBLANK(B1:B3),0)))
 
Upvote 0
No need for the address, you can use
Excel Formula:
=INDEX(A1:A3,MATCH(TRUE,ISBLANK(B1:B3),0))
 
Upvote 1
Solution
Aah, my update returns the address of the cell meeting your requirements in column A.
I missed that you want the value of that cell, not an address, like your current formula is doing now.
Fluff got it right.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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