Numbering problem

mzspazchick

New Member
Joined
Nov 10, 2005
Messages
39
Hi All,
I have a new problem and you all have been soooo great in solving my old problems, so here I am again.
I have some data brought into a worksheet by a formula. So the data might be a list of names or it might have an error message depending on whether or not the data meets the requirements of the formula.
So I have:
Joe
Sue
Sally
#NUM!
#NUM!

and on another list I have:
Jesse
Jane
#NUM!
#NUM!
How can I put a sequential number in the box to the left of the names? For example I would like to see:
1 Joe
2 Sue
3 Sally
#NUM!
#NUM!

then on the other list
4 Jesse
5 Jane
#NUM!
#NUM!

and so on. I have tried an IF statement, but no luck. I have searched this board for days and I can find numbering but not like mine.
Can this even be done? And if so, any ideas on where I should start?
Thank you,
Michelle
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Book2
ABCD
103
2AutoNumberList1AutoNumberList2
31Joe4Jesse
42Sue5Jane
53Sally #NUM!
6 #NUM! #NUM!
7 #NUM!
8
Sheet1


A1 must house a 0.

A3, copied down:

=IF(ISTEXT(B3),LOOKUP(9.99999999999999E+307,$A$1:A2)+1,"")

C1:

=LOOKUP(9.99999999999999E+307,A1:A7)

C3, copied down:

=IF(ISTEXT(D3),LOOKUP(9.99999999999999E+307,$C$1:C2)+1,"")
 
Upvote 0
Many thanks again Aladin Akyurek. I greatly appreciate all your help. I think that formula was similar to another you helped me with before. Just a quick question, whats up with the "9.99999999999999E+307" part? How does that work? If you have a moment...
Thanks,
Michelle
:biggrin:
 
Upvote 0
mzspazchick said:
Many thanks again Aladin Akyurek. I greatly appreciate all your help. I think that formula was similar to another you helped me with before. Just a quick question, whats up with the "9.99999999999999E+307" part? How does that work? If you have a moment...
Thanks,
Michelle
:biggrin:

See if this helps: http://tinyurl.com/83b2x
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,558
Latest member
aivin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top