Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a row (A:BI) with text or numbers in each cell. However, there are
some cells that are blank. B,D,F,H,J,... are the number cells (unless they are blank) and A,C,E,G,I,K,... are the text cells (unless they are blank). I would like to have all the cells that have text in them to be entered into cell A5 and down. Same thing with the number cells except in cell B5 down. Example: A B C D E F 1 PHI 2.3 OTT 3.6 I would like the following: A5 = PHI B5 = 2.3 A6= OTT B6 = 3.6 Anyone know how to do this? Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
One play, using non-array formulas
Using 2 empty rows, say rows 2 & 3 Put in A2: =IF(A1="","",IF(ISTEXT(A1),COLUMN(),"")) Put in A3: =IF(A1="","",IF(ISNUMBER(A1),COLUMN(),"")) Select A2:A3, copy across as many cols as required, say to IV3 (the max extent) Then Put in A5: =IF(ISERROR(SMALL($2:$2,ROW(A1))),"", INDEX($1:$1,MATCH(SMALL($2:$2,ROW(A1)),$2:$2,0))) Put in B5: =IF(ISERROR(SMALL($3:$3,ROW(A1))),"", INDEX($1:$1,MATCH(SMALL($3:$3,ROW(A1)),$3:$3,0))) Select A5:B5, and copy down 256 rows to B260 A5:B260 will return the desired results, all neatly bunched at the top -- Rgds Max xl 97 --- Singapore, GMT+8 xdemechanik http://savefile.com/projects/236895 -- "Jambruins" wrote in message ... I have a row (A:BI) with text or numbers in each cell. However, there are some cells that are blank. B,D,F,H,J,... are the number cells (unless they are blank) and A,C,E,G,I,K,... are the text cells (unless they are blank). I would like to have all the cells that have text in them to be entered into cell A5 and down. Same thing with the number cells except in cell B5 down. Example: A B C D E F 1 PHI 2.3 OTT 3.6 I would like the following: A5 = PHI B5 = 2.3 A6= OTT B6 = 3.6 Anyone know how to do this? Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
thanks a lot Max, it works perfectly.
"Max" wrote: One play, using non-array formulas Using 2 empty rows, say rows 2 & 3 Put in A2: =IF(A1="","",IF(ISTEXT(A1),COLUMN(),"")) Put in A3: =IF(A1="","",IF(ISNUMBER(A1),COLUMN(),"")) Select A2:A3, copy across as many cols as required, say to IV3 (the max extent) Then Put in A5: =IF(ISERROR(SMALL($2:$2,ROW(A1))),"", INDEX($1:$1,MATCH(SMALL($2:$2,ROW(A1)),$2:$2,0))) Put in B5: =IF(ISERROR(SMALL($3:$3,ROW(A1))),"", INDEX($1:$1,MATCH(SMALL($3:$3,ROW(A1)),$3:$3,0))) Select A5:B5, and copy down 256 rows to B260 A5:B260 will return the desired results, all neatly bunched at the top -- Rgds Max xl 97 --- Singapore, GMT+8 xdemechanik http://savefile.com/projects/236895 -- "Jambruins" wrote in message ... I have a row (A:BI) with text or numbers in each cell. However, there are some cells that are blank. B,D,F,H,J,... are the number cells (unless they are blank) and A,C,E,G,I,K,... are the text cells (unless they are blank). I would like to have all the cells that have text in them to be entered into cell A5 and down. Same thing with the number cells except in cell B5 down. Example: A B C D E F 1 PHI 2.3 OTT 3.6 I would like the following: A5 = PHI B5 = 2.3 A6= OTT B6 = 3.6 Anyone know how to do this? Thanks |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You're welcome !
Thanks for the feedback -- Rgds Max xl 97 --- Singapore, GMT+8 xdemechanik http://savefile.com/projects/236895 -- "Jambruins" wrote in message ... thanks a lot Max, it works perfectly. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pbl calculating US$ values | Excel Discussion (Misc queries) | |||
match and count words | Excel Worksheet Functions | |||
Lookup values in a column and display them in order with no gaps | Excel Worksheet Functions | |||
Move column values w/o formula | Excel Worksheet Functions | |||
Can you average data in 1 column based on a range of values in another? | Excel Worksheet Functions |