Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=INDEX(A1:A20,MIN(IF(B1:B20<0,ROW(B1:B20))))
which is an array formula, it should be committed with Ctrl-Shift-Enter, not just Enter. Excel will automatically enclose the formula in braces (curly brackets), do not try to do this manually. When editing the formula, it must again be array-entered. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Mike@Gentech" wrote in message ... I have a list of product sales values by month that go back a few years and I wish to use a formula to workout the first month in which there was a sale for each product. Is there a formula that can give a reference for the first value (<0) so that I can lookup the relative position for the month. Eg Month 1 £0 Month 2 £0 Month 3 £0 Month 4 £500 Month 5 £0 Month 5 £450 Therefore 1st month is month 4. I have tried match and offset but cannot get anything to work. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Array to find relative position - is there a better way? | Excel Worksheet Functions | |||
How do I find the position of the lowest value in a row? | Excel Discussion (Misc queries) | |||
find nth position of a string | Excel Discussion (Misc queries) | |||
How do I find random number in list of random alpha? (Position is. | Excel Discussion (Misc queries) | |||
Use MATCH to find position of max in 2D range? | Excel Worksheet Functions |