Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Custom filling of cells

Hi,

I am filling cells with the formula HBL0052-77 and am wanting to fill the
series down, but only change the number immediately after HBL, not the last
number ie/ so the next numbers in the series would be HBL0053-77, HBL0054-77.

Is there a way to do this?

Thanks for your help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Custom filling of cells

Assuming you have HBL0052-77 in A1, put this formula in A2:

=LEFT(A1,3)&TEXT(MID(A1,4,4)+1,"0000")&RIGHT(A1,3)

then copy down as required.

Hope this helps.

Pete

On Mar 5, 1:20*am, rach94 wrote:
Hi,

I am filling cells with the formula HBL0052-77 and am wanting to fill the
series down, but only change the number immediately after HBL, not the last
number ie/ so the next numbers in the series would be HBL0053-77, HBL0054-77.

Is there a way to do this?

Thanks for your help!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Custom filling of cells

I would use a formula.

If the data starts in Row 1, then this formula would work ok:

="HBL"&text(row()+51,"0000")&"-77"

And drag down.

And then copy|paste special values when you're done.

Adjust that 51 to what you need to get to 52 if you don't start in row 1.

rach94 wrote:

Hi,

I am filling cells with the formula HBL0052-77 and am wanting to fill the
series down, but only change the number immediately after HBL, not the last
number ie/ so the next numbers in the series would be HBL0053-77, HBL0054-77.

Is there a way to do this?

Thanks for your help!


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filling in blank cells with information from cells above it tracytracy123 Excel Discussion (Misc queries) 1 June 22nd 09 11:04 PM
filling cells Art Excel Discussion (Misc queries) 0 November 30th 06 03:36 PM
filling cells widman Excel Discussion (Misc queries) 0 November 29th 06 07:29 PM
filling cells Art Excel Discussion (Misc queries) 0 November 29th 06 06:35 PM
How do I get custom colors for filling cells in Excel? David Grant New Users to Excel 3 January 28th 05 09:17 PM


All times are GMT +1. The time now is 08:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"