Column lookups?

brisbane bob

Board Regular
Joined
Aug 9, 2007
Messages
70
If cells A1:A26 contain the letters A thru Z, and up to 4 cells in B2:B26 contain a value, how can I "read off" which letter have a value beneath it, and store the letter/s in, say, cells B27, B28, B29 and B30?
 

Some videos you may like

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Glove_Man

Well-known Member
Joined
Feb 20, 2005
Messages
578
If you're happy to have a calculation column, in cell c1 put:

=COUNTIF($B$1:B1,"<>"))

and copy it down

In cell B27 Put INDEX($A$1:$A$26,MATCH(1,$C$1:$C$26,0))

In cell B28 Put INDEX($A$1:$A$26,MATCH(2,$C$1:$C$26,0))

etc


Philip
 

Watch MrExcel Video

Forum statistics

Threads
1,123,259
Messages
5,600,575
Members
414,390
Latest member
plimbu

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
Top