I have my lookup table, which is has a defined name of Code1 (see below).
Can a Vlookup formula that would look in cell CU4, which has the Code 10,
and return the sum of all the Code 10's in the lookup table. In this example
the result would be 12.
Code 1 Description Total Hours 1
30 Dispatch 8.00
34 Regular Holiday Dispatch 8.00
10 Small Vehicle 4.00
10 Small Vehicle 8.00
=SUMIF(A1:A10,10,C1:C10)
Asuming Codes in Column A and Hours in Column C
>I have my lookup table, which is has a defined name of Code1 (see below).
>Can a Vlookup formula that would look in cell CU4, which has the Code 10,
[quoted text clipped - 8 lines]
>
> 10 Small Vehicle 8.00
Patrick C. Simonds - 06 May 2008 19:46 GMT
WOW, that was great. Thank you very much.
> =SUMIF(A1:A10,10,C1:C10)
>
[quoted text clipped - 12 lines]
>>
>> 10 Small Vehicle 8.00
Gaurav - 06 May 2008 19:51 GMT
You're welcome.
> WOW, that was great. Thank you very much.
>
[quoted text clipped - 14 lines]
>>>
>>> 10 Small Vehicle 8.00