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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
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,"")
 

mzspazchick

New Member
Joined
Nov 10, 2005
Messages
39
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:
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,625
Messages
5,832,748
Members
430,163
Latest member
YesImAk

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
Top