Searching for a number in a list
thanks for the quick reply - I'll try this too.
"Luke M" wrote:
Is there some text or something that indicates its the total row? For
instance, if column A is the name, Column B is what he did or "Total", and
Column C is the hours, you could do
=SUMPRODUCT((A2:A100="Smith, Joe")*(B2:B100="Total")*(C2:C100))
If its just that the total row is the last row under that name (hours is in
column B)
=SUMPRODUCT((A2:A100="Smith, Joe")*(A2:A100<A3:A101)*(B2:B100))
--
Best Regards,
Luke M
*Remember to click "yes" if this post helped you!*
"Paul Peterson - Velox Consulting, LLC" wrote:
Hi - I'm trying to do the following:
In Cell B1, I have the value "Smith, Joe"
In cell a4, I have a total number of hours for Joe Smith: 40. Depending on
the detail hours reported, the total hours may be in a different line. For
example, if Joe had 6 line items of detail, the total would be in line a6.
So, I have to first find Joe Smith in the spreadsheet, then find the total
line. Any ideas?
Paul Peterson
Velox Consulting.
|