How to repeat Field Headings

msg500

New Member
Joined
May 16, 2012
Messages
6
Example

cars
cars escort 50
cars focus 20



bikes
bikes triumph 10
bikes ducatti 5




Hi,
Is there a formula to repeat the field headings cars and bikes on the left hand side. I have currently entered them manually which are shaded bold on the left hand side. The formula would recognise that there is a record and pick up the field heading and put them on the left hand sided rather than me having to key them in manually. If there is no record, then it would return nothing/blank. please the layout of my report at work appears as exactly as shown above

I would be very grateful, if someone could please help me on this, as this would save me hours.


Thanks

msg500
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
If your last entry, Bikes Ducati 5 is in cell A8, then use this formula in cell A9: =IF(B9="","",A8)

The format would need to be: "Bikes" in cell A8, then "Ducati 5" in B8, then enter the formula in A9 and enter a record in B9.

Let me know if this is what you are looking for.

Tel.
 
Upvote 0
Cars
Carsescort50
Carsfocus20
Bikes
Bikestriumph10
Bikesducatti 5

<tbody>
</tbody>

Apologies, this is what the example should look like. Is there a formula to repeat the field headings cars and bikes on the left hand side. I have currently entered them manually which are shaded bold on the left hand side. The formula would recognise that there is a record and pick up the field heading and put them on the left hand sided rather than me having to key them in manually. If there is no record, then it would return nothing/blank. please the layout of my report at work appears as exactly as shown above

I would be very grateful, if someone could please help me on this, as this would save me hours.

Thanks
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,822
Members
449,096
Latest member
Erald

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