View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jim Thomlinson Jim Thomlinson is offline
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.