Column name and Column address

ogdemster@

New Member
Joined
Aug 5, 2007
Messages
2
Hey all

i have a basic question and need help as soon as possible. ^_^

in a sheet. wanna search column name and if i find need to learn its address

example

---------a---------b---------c--------d--------e
1-------id-------name----lastN----Price----paid
2-------*----------*---------*-------*---------*
3
4

it seems "name" column range here is b2:b4. like this

any help welcome

ty :)
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
it seems "name" column range here is b2:b4. like this
Can you explain how you came to that result? And also detail just what you mean by "column address".
 
Upvote 0
want to find range of a field

hello

i have 342 rows and 28 columns (number can change). every column has a field name. (order can change too). if the order of column names is changed, my macro must find field name and column where it stays.

like u see on my example. macro will find "name" field and where it stay (b2:b4)


thanks.
 
Upvote 0
Re: want to find range of a field

like u see on my example. macro will find "name" field and where it stay (b2:b4)
I am still struggling with this bit. I can certainly see that "name" is in column B (and in cell B1). I can see an "*" in cell B2. I can see nothing in B3 or B4. So how do we get B2:B4 out of your example?
 
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,411
Members
449,081
Latest member
JAMES KECULAH

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