Automatically duplicating row titles as column titles

eggplant_casserole

New Member
Joined
Jul 5, 2011
Messages
4
I want to create a chart that would have titles for each row, say in the A column, and the same data as titles for each column, say in the 1 row.
So B1=A2, C1=A3, D1=A4 etc.

I need to be able to do this automatically, so if I add an item in column A, it would add itself as the title of the last column, too.

I'll also be using an automatic sort script. I've tested this by manually naming the column titles, then entering an item somewhere between the current data alphabetically and it sorted the colums, too - so this shouldn't be a problem.

How can I go about doing this?

Thanks in advance for any assistance - it is greatly appreciated!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I still haven't come up with anything for this - any thoughts?

In case I'm not explaining myself well, here's a screenshot:

excelm.jpg


As you can see, I can manually put in code (e.g. =A4 in D1), but I want this to auto-generate when I put another value in the A column.

I am using Excel 2003.
 
Upvote 0
I still haven't come up with anything for this - any thoughts?

In case I'm not explaining myself well, here's a screenshot:

excelm.jpg


As you can see, I can manually put in code (e.g. =A4 in D1), but I want this to auto-generate when I put another value in the A column.

I am using Excel 2003.

You could do this with a helper row. For instance if your helper row was 100

in B100 enter 0 in C100 enter = B100+1 then copy accross as far as you think necessary

Then in b1 enter this formula =IF(OFFSET($A2,B100,0)="","",OFFSET($A2,B100,0)) and copy accross.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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