Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This may be simple but, I am stumped.
I have a range of six cells in a row on my spread sheet. Five cells are empty and one contains data. I would like to find the single cell that contains text and copy that text into a cell at the end of the row |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
one way
concatenate the six into the seventh cell =a1&a2&a3&a4&a5&a6 should do it -- Greetings from New Zealand Bill K " om wrote in message ... This may be simple but, I am stumped. I have a range of six cells in a row on my spread sheet. Five cells are empty and one contains data. I would like to find the single cell that contains text and copy that text into a cell at the end of the row |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
" wrote:
I have a range of six cells in a row on my spread sheet. Five cells are empty and one contains data. I would like to find the single cell that contains text and copy that text into a cell at the end of the row One guess .. Assume source cells in A1:F1 Put in G1's formula bar, then array-enter the formula by pressing CTRL+SHIFT+ENTER (instead of just pressing ENTER) =INDEX(A1:F1,MATCH(TRUE,A1:F1<"",0)) G1 will return the contents of the 1st cell from the left that's not "empty", i.e. <"" Copy G1 down if desired to return correspondingly for other rows A2:F2, A3:F3, etc -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You have several replies to your several posts.
wrote: This may be simple but, I am stumped. I have a range of six cells in a row on my spread sheet. Five cells are empty and one contains data. I would like to find the single cell that contains text and copy that text into a cell at the end of the row -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You missed the new users group! Still time!
=LOOKUP(REPT("z",255),A1:F1) =INDEX(A1:F1,MATCH("*",A1:F1,0)) Biff " om wrote in message ... This may be simple but, I am stumped. I have a range of six cells in a row on my spread sheet. Five cells are empty and one contains data. I would like to find the single cell that contains text and copy that text into a cell at the end of the row |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hey Biff
Great formula. I'd been scratching my head over the OP's question. But how does the( "z",255) make the formula work ??? Regards Michael M "Biff" wrote: You missed the new users group! Still time! =LOOKUP(REPT("z",255),A1:F1) =INDEX(A1:F1,MATCH("*",A1:F1,0)) Biff " om wrote in message ... This may be simple but, I am stumped. I have a range of six cells in a row on my spread sheet. Five cells are empty and one contains data. I would like to find the single cell that contains text and copy that text into a cell at the end of the row |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
But how does the( "z",255) make the formula work ???
=LOOKUP(REPT("z",255),A1:F1) That formula is just the text version of this formula which is for numeric values: =LOOKUP(9.99999999999999E+307,A1:F1) =LOOKUP(REPT("z",255),A1:F1) REPT("z",255) = zzzzzzzzz (255 z's) So, the lookup value is zzzzzzzzz (255 z's) Since there is a very high probabilty that the lookup_value will not be found the formula returns the last TEXT value in the range. I think Bob Phillips covers this he http://www.xldynamic.com/source/xld.LastValue.html Biff "Michael M" wrote in message ... Hey Biff Great formula. I'd been scratching my head over the OP's question. But how does the( "z",255) make the formula work ??? Regards Michael M "Biff" wrote: You missed the new users group! Still time! =LOOKUP(REPT("z",255),A1:F1) =INDEX(A1:F1,MATCH("*",A1:F1,0)) Biff " om wrote in message ... This may be simple but, I am stumped. I have a range of six cells in a row on my spread sheet. Five cells are empty and one contains data. I would like to find the single cell that contains text and copy that text into a cell at the end of the row |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks
I'll bookmark the article. Groan....I thought I was actually getting the hang of Excel, but lots more to learn I'm afraid Regards Michael M "Biff" wrote: But how does the( "z",255) make the formula work ??? =LOOKUP(REPT("z",255),A1:F1) That formula is just the text version of this formula which is for numeric values: =LOOKUP(9.99999999999999E+307,A1:F1) =LOOKUP(REPT("z",255),A1:F1) REPT("z",255) = zzzzzzzzz (255 z's) So, the lookup value is zzzzzzzzz (255 z's) Since there is a very high probabilty that the lookup_value will not be found the formula returns the last TEXT value in the range. I think Bob Phillips covers this he http://www.xldynamic.com/source/xld.LastValue.html Biff "Michael M" wrote in message ... Hey Biff Great formula. I'd been scratching my head over the OP's question. But how does the( "z",255) make the formula work ??? Regards Michael M "Biff" wrote: You missed the new users group! Still time! =LOOKUP(REPT("z",255),A1:F1) =INDEX(A1:F1,MATCH("*",A1:F1,0)) Biff " om wrote in message ... This may be simple but, I am stumped. I have a range of six cells in a row on my spread sheet. Five cells are empty and one contains data. I would like to find the single cell that contains text and copy that text into a cell at the end of the row |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
He also has a lot of info on Sumproduct which is worth a look.
Next to IF(), Sumproduct may be the most versatile function to have in ones repertoire! Biff "Michael M" wrote in message ... Thanks I'll bookmark the article. Groan....I thought I was actually getting the hang of Excel, but lots more to learn I'm afraid Regards Michael M "Biff" wrote: But how does the( "z",255) make the formula work ??? =LOOKUP(REPT("z",255),A1:F1) That formula is just the text version of this formula which is for numeric values: =LOOKUP(9.99999999999999E+307,A1:F1) =LOOKUP(REPT("z",255),A1:F1) REPT("z",255) = zzzzzzzzz (255 z's) So, the lookup value is zzzzzzzzz (255 z's) Since there is a very high probabilty that the lookup_value will not be found the formula returns the last TEXT value in the range. I think Bob Phillips covers this he http://www.xldynamic.com/source/xld.LastValue.html Biff "Michael M" wrote in message ... Hey Biff Great formula. I'd been scratching my head over the OP's question. But how does the( "z",255) make the formula work ??? Regards Michael M "Biff" wrote: You missed the new users group! Still time! =LOOKUP(REPT("z",255),A1:F1) =INDEX(A1:F1,MATCH("*",A1:F1,0)) Biff " om wrote in message ... This may be simple but, I am stumped. I have a range of six cells in a row on my spread sheet. Five cells are empty and one contains data. I would like to find the single cell that contains text and copy that text into a cell at the end of the row |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to extract a figure from a database | Excel Discussion (Misc queries) | |||
Splitting a Target Figure | Excel Worksheet Functions | |||
How can I make a timesheet to figure my hours and payrate? | Excel Worksheet Functions | |||
how to type a minues figure | New Users to Excel | |||
excel to figure miles per gallon | New Users to Excel |