Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hi All,
i understand how sumproduct works but i want to return the column number of the first true(1) citriea within the sumproduct function. see below example Result row 2 4 6 7 5 6 6 (range is a2:a7) Data row 2 3 4 3 3 4 2 (range is b2:b7) =sumproduct(--(b2:b7=3),--(a2:a7)) this formula will return =sumproduct({0,1,0,1,1,0,0}, {2,4,6,7,5,6,6}) and the answer of 16 what i want to do is work out formula that will return the only the 3rd (1(True) within the sumproduct function) value therefore the answer should be 7. any thoughts?? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional SUMPRODUCT or SUMPRODUCT with Filters | Excel Worksheet Functions | |||
subtract the time difference from another time difference | Excel Discussion (Misc queries) | |||
Sumproduct against worksheet vs named range- any speed difference? | Excel Worksheet Functions | |||
sumproduct forumla, but I want difference instead of sum | Excel Worksheet Functions | |||
charting a difference of 2 columns' w/o adding a difference column | Charts and Charting in Excel |