Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
So if I didn't do the --, I would have had to
match on TRUE or FALSE then correct? Correct Biff wrote in message oups.com... Fantastic. Thanks, that makes perfect sense. So if I didn't do the --, I would have had to match on TRUE or FALSE then correct? Thanks so much for the help. Toppers wrote: This is an array formula (entered using Shift+Ctrl+Enter). It "looks" through each cell in the range and if it is 0, sets a value of 1 (this is what the -- does, converting TRUE/FALSE to 1/0). So we end up with an "internal" array of 1s and 0s corresponding to cells in the range. tMATCH then matches the "1" (as search argument) to find the first "1" (one ) in the range(internal array) and returns the position. MATCH always returns the first occurence of the search argument. HTH " wrote: Ok, I just found some code that works, now I just need an explanation of how it works: {=MATCH(1,--(RANGE0),0)} This works perfectly, but I have no idea why. Can someone walk me through what it's doing? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel auto filtering to find a range of dates in a list | Excel Discussion (Misc queries) | |||
Search range of cells, find a value, output adjoining cell. How? | Excel Worksheet Functions | |||
Match function...random search? | Excel Worksheet Functions | |||
How to Select a relative range with Using "Find" and Offset() | Excel Discussion (Misc queries) | |||
I need a formula to find rows within a date range in one column? | Excel Worksheet Functions |