Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default sequential number code

I am using the following function to create some sequential numbering:

=TEXT(ROW(A1), "W2-0000")

The problem I am having is when I try to change the W2 to H (or some other
letters) the formula no longer works and I get #VALUE!.

Does anyone know what might cause this and how to correct it? It seems like
changing only certain letters create the error.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,939
Default sequential number code

Certain letters correspond to specific formatting options. H stand for hour.
Why not just remove the letters something like this...

="W2-" & TEXT(ROW(A1), "0000")

--
HTH...

Jim Thomlinson


"becky42002" wrote:

I am using the following function to create some sequential numbering:

=TEXT(ROW(A1), "W2-0000")

The problem I am having is when I try to change the W2 to H (or some other
letters) the formula no longer works and I get #VALUE!.

Does anyone know what might cause this and how to correct it? It seems like
changing only certain letters create the error.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default sequential number code

Interesting.

Replacing W with A, C, works but replacing W with B, D doesn't. Wonder if
that pattern repeats for the entire alphabet.

Dave
--
Brevity is the soul of wit.


"becky42002" wrote:

I am using the following function to create some sequential numbering:

=TEXT(ROW(A1), "W2-0000")

The problem I am having is when I try to change the W2 to H (or some other
letters) the formula no longer works and I get #VALUE!.

Does anyone know what might cause this and how to correct it? It seems like
changing only certain letters create the error.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,939
Default sequential number code

D is Day. B is ???
--
HTH...

Jim Thomlinson


"Dave F" wrote:

Interesting.

Replacing W with A, C, works but replacing W with B, D doesn't. Wonder if
that pattern repeats for the entire alphabet.

Dave
--
Brevity is the soul of wit.


"becky42002" wrote:

I am using the following function to create some sequential numbering:

=TEXT(ROW(A1), "W2-0000")

The problem I am having is when I try to change the W2 to H (or some other
letters) the formula no longer works and I get #VALUE!.

Does anyone know what might cause this and how to correct it? It seems like
changing only certain letters create the error.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default sequential number code

I don't know. This is the first time I've seen this...
--
Brevity is the soul of wit.


"Jim Thomlinson" wrote:

D is Day. B is ???
--
HTH...

Jim Thomlinson


"Dave F" wrote:

Interesting.

Replacing W with A, C, works but replacing W with B, D doesn't. Wonder if
that pattern repeats for the entire alphabet.

Dave
--
Brevity is the soul of wit.


"becky42002" wrote:

I am using the following function to create some sequential numbering:

=TEXT(ROW(A1), "W2-0000")

The problem I am having is when I try to change the W2 to H (or some other
letters) the formula no longer works and I get #VALUE!.

Does anyone know what might cause this and how to correct it? It seems like
changing only certain letters create the error.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default sequential number code

=TEXT(ROW(A1),"\H-0000")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"becky42002" wrote in message
...
I am using the following function to create some sequential numbering:

=TEXT(ROW(A1), "W2-0000")

The problem I am having is when I try to change the W2 to H (or some other
letters) the formula no longer works and I get #VALUE!.

Does anyone know what might cause this and how to correct it? It seems

like
changing only certain letters create the error.



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
Text formatting Kace Excel Worksheet Functions 1 September 18th 06 08:28 PM
How to return the Number of shares for a given stock code for a given portfolio aray Excel Discussion (Misc queries) 1 May 18th 06 04:50 AM
How do I retain a zero as the first number in a postal code? Laureen Excel Discussion (Misc queries) 7 February 28th 06 05:34 PM
to find number of days between 2 dates using vba code in excel sjayar Excel Discussion (Misc queries) 3 November 3rd 05 06:24 AM
Macro for changing text to Proper Case JPriest Excel Worksheet Functions 3 August 8th 05 09:31 PM


All times are GMT +1. The time now is 11:01 PM.

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"