Thread: 'If' Query
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default 'If' Query

=SUMIF(A2:A20,"Holiday",B2:B20)

etc.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Prady" wrote in message
...
Hi,
Im developing a Time tracker spreasheet for my team.

In this i have some fields - 'Status', a list that contains {Office,
Holiday, On Leave} and Hours field.

At the bottom of the sheet i have columns - Total Utilized Hours, Total
hours on Leave.

My query is that i have to calculate the Total Hours on Leave (only the
fields that have Status='Holiday' and its respective Hours).

Kindly help me.