Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RLD RLD is offline
external usenet poster
 
Posts: 11
Default =Sheet!A1 formula alternative

I have 2 sheets.
Sheet 1 contains text data from A1:A200 but not in consecutive order (for
example):
Sheet1
A
1 textone
2 texttwo
3
4 textmisc
5
6 textother

I need Sheet2!B1:B50 to grab all the data from Sheet1!A1:A200 and list them
in the order that they were entered in Sheet1 as shown below:

Sheet1 Sheet 2
A B
1 textone 1 textone
2 texttwo 2 texttwo
3 3 textmisc
4 textmisc 4 textother
5 5
6 textother

I tried a =Sheet1!A1 formula in Sheet 2 but I need to get rid of the blank
spaces in Sheet1!A3,A5. How can I do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default =Sheet!A1 formula alternative

Enter this array formula** in Sheet2B1 and copy down until you get blanks:

=IF(ROWS(B$1:B1)COUNTA(Sheet1!A$1:A$200),"",INDEX (Sheet1!A:A,SMALL(IF(Sheet1!A$1:A200<"",ROW(Sheet 1!A$1:A$200)),ROWS(B$1:B1))))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"RLD" wrote in message
...
I have 2 sheets.
Sheet 1 contains text data from A1:A200 but not in consecutive order (for
example):
Sheet1
A
1 textone
2 texttwo
3
4 textmisc
5
6 textother

I need Sheet2!B1:B50 to grab all the data from Sheet1!A1:A200 and list
them
in the order that they were entered in Sheet1 as shown below:

Sheet1 Sheet 2
A B
1 textone 1 textone
2 texttwo 2 texttwo
3 3 textmisc
4 textmisc 4 textother
5 5
6 textother

I tried a =Sheet1!A1 formula in Sheet 2 but I need to get rid of the blank
spaces in Sheet1!A3,A5. How can I do this?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default =Sheet!A1 formula alternative

Ooops!

Typo

SMALL(IF(Sheet1!A$1:A200


Should be:

SMALL(IF(Sheet1!A$1:A$200

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Enter this array formula** in Sheet2B1 and copy down until you get blanks:

=IF(ROWS(B$1:B1)COUNTA(Sheet1!A$1:A$200),"",INDEX (Sheet1!A:A,SMALL(IF(Sheet1!A$1:A200<"",ROW(Sheet 1!A$1:A$200)),ROWS(B$1:B1))))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT key then hit ENTER.

--
Biff
Microsoft Excel MVP


"RLD" wrote in message
...
I have 2 sheets.
Sheet 1 contains text data from A1:A200 but not in consecutive order (for
example):
Sheet1
A
1 textone
2 texttwo
3
4 textmisc
5
6 textother

I need Sheet2!B1:B50 to grab all the data from Sheet1!A1:A200 and list
them
in the order that they were entered in Sheet1 as shown below:

Sheet1 Sheet 2
A B
1 textone 1 textone
2 texttwo 2 texttwo
3 3 textmisc
4 textmisc 4 textother
5 5
6 textother

I tried a =Sheet1!A1 formula in Sheet 2 but I need to get rid of the
blank
spaces in Sheet1!A3,A5. How can I do this?





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
Alternative formula to exclude holiday calculation Cam Excel Worksheet Functions 6 January 15th 09 03:39 AM
formula copy or alternative solutions Arain Excel Discussion (Misc queries) 5 August 5th 08 05:33 AM
I need alternative formula for SUMIFS in Excel 2003 Jerome[_3_] Excel Worksheet Functions 3 June 10th 08 02:22 AM
Alternative formula for getting totals Victor Excel Worksheet Functions 0 May 7th 08 12:20 AM
too many arguments in formula. alternative? jansaver Excel Discussion (Misc queries) 4 September 18th 06 11:13 AM


All times are GMT +1. The time now is 12:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"