sequential number code

G

Guest

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.
 
G

Guest

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")
 
G

Guest

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
 
G

Guest

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

Jim Thomlinson


Dave F said:
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
 
B

Bob Phillips

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

--
HTH

Bob Phillips

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top