Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Space Ape
 
Posts: n/a
Default Serial number allocation - Array formula

I have a worksheet data of size 1000x26 as shown below.

A B C D E F G H ----(columns)
-----------------------------------------------+
1 A 1 e 1 i 1 m...(upto 26 columns) |
1 b 1 f 1 j 1 n...(upto 26 columns) |
2 A 3 A 1 k 1 o...(upto 26 columns) |
1 d 1 h 4 A 1 p...(upto 26 columns) |
: : : : : : : : |
: : : : : : : : ('A's at random) |
(upto 1000 rows) |
-----------------------------------------------+

I need to:

1. Assign serial numbers to the characters(data) in the adjacent cell
on left side.
2. Assign the serial numbers in ascending order of columns.
that is first column B then column D then column F...
3. Maintain the series. Example: See series of 'A's in data.

I am struggling with following array formula.

=IF(B80=999,IF(COUNTIF(E$3:E79,E80)0,IF(AND(INDEX (Allot,MATCH(E80,E$3:E79,0),COLUMN(D80)-1)<999,MAX((E$3:E79=E80)*D$3:D79)<INDEX(Available ,MATCH(E80,Disc,0),1)),MAX((E$3:E79=E80)*D$3:D79)+ 1,999),1),999)

It works fine for first column but fails for others.

Can anyone help me out in this task?

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
Array Formula, noncontigous range Werner Rohrmoser Excel Worksheet Functions 1 June 22nd 05 12:11 PM
Trouble shooting#NA error in Array formula RonR Excel Discussion (Misc queries) 2 June 14th 05 09:58 PM
Looking for function or formula to calculate number that is revers Ken Excel Worksheet Functions 2 February 7th 05 12:18 PM
How do I convert a serial number to the month, day, and year in E. Judy Excel Discussion (Misc queries) 2 December 15th 04 04:38 PM
Use Julian Date To Create Serial Number antho10359 Excel Discussion (Misc queries) 4 December 9th 04 02:50 AM


All times are GMT +1. The time now is 10:06 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"