Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ElEye
 
Posts: n/a
Default How do I add increment a text field value?

Greetings.

In $A1 I enter H264. In $A2 I'd like to enter =A1+1, but this won't work
because A1 is a text value. My obvious intended result is that A2 would
display H265 (H264+1=H265). I'd continue with $A3 =A2+1, $A4 =A3+1, etc.
This way I can enter a text value that ends in a number in $A1 and let the
other fields increment the value without any further interaction.

TIA,
ElEye
  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi

One way, in cell A1 enter
="H"&Row()+263
then as you copy down, ROW() will increment from 1, 2,3 etc. increasing
your value as appropriate.

Regards

Roger Govier



ElEye wrote:

Greetings.

In $A1 I enter H264. In $A2 I'd like to enter =A1+1, but this won't work
because A1 is a text value. My obvious intended result is that A2 would
display H265 (H264+1=H265). I'd continue with $A3 =A2+1, $A4 =A3+1, etc.
This way I can enter a text value that ends in a number in $A1 and let the
other fields increment the value without any further interaction.

TIA,
ElEye


  #3   Report Post  
TooSimple
 
Posts: n/a
Default

Hello ElEye.

Not real certain whether your requirement is to fill a series of cells
immediately or dynamically.

If immediately, the FillSeries feature of Excel is very efficient.

Enter H264 in cell A1, H265 in cell A2 then drag the fill handle that
appears in the lower right corner of A2 down through cells A3, A4, etc.

If this does not meet your requirement a visual basic module could be
developed to meet your need.

Good luck.


"ElEye" wrote:

Greetings.

In $A1 I enter H264. In $A2 I'd like to enter =A1+1, but this won't work
because A1 is a text value. My obvious intended result is that A2 would
display H265 (H264+1=H265). I'd continue with $A3 =A2+1, $A4 =A3+1, etc.
This way I can enter a text value that ends in a number in $A1 and let the
other fields increment the value without any further interaction.

TIA,
ElEye

  #4   Report Post  
Duke Carey
 
Posts: n/a
Default

try

="H"&264+row(A1)

"ElEye" wrote:

Greetings.

In $A1 I enter H264. In $A2 I'd like to enter =A1+1, but this won't work
because A1 is a text value. My obvious intended result is that A2 would
display H265 (H264+1=H265). I'd continue with $A3 =A2+1, $A4 =A3+1, etc.
This way I can enter a text value that ends in a number in $A1 and let the
other fields increment the value without any further interaction.

TIA,
ElEye

  #5   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You could use acustom format in A1 like

"H"000

then type 264 in A1 in in A2 use

=A1+1

and copy down

or

=LEFT($A$1)&RIGHT(A1,3)+1

in A2 and copy down

I'd suggest the first method


Regards,

Peo Sjoblom


"ElEye" wrote in message
...
Greetings.

In $A1 I enter H264. In $A2 I'd like to enter =A1+1, but this won't work
because A1 is a text value. My obvious intended result is that A2 would
display H265 (H264+1=H265). I'd continue with $A3 =A2+1, $A4 =A3+1, etc.
This way I can enter a text value that ends in a number in $A1 and let the
other fields increment the value without any further interaction.

TIA,
ElEye



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
Conditional formatting on named text field Sharon P Excel Discussion (Misc queries) 1 June 21st 05 10:30 PM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
HOw do I display text in the data field of the pivot table, inste. Zoltan Excel Worksheet Functions 1 March 2nd 05 06:21 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 03:45 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"