ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF FORMULA? (https://www.excelbanter.com/excel-worksheet-functions/237131-sumif-formula.html)

Yoli

SUMIF FORMULA?
 
How do you state this as a formula? If A4:A8 is the number 23, then add only
the hours in B4:B8 that go with 23.

A B
23 1.5
15 1.0
17 1.0
12 .5
23 .75


Jacob Skaria

SUMIF FORMULA?
 
=SUMIF(A:A,23,B:B)

If these are valid time entries custom format the result cell to [h]:mm

If this post helps click Yes
---------------
Jacob Skaria


"Yoli" wrote:

How do you state this as a formula? If A4:A8 is the number 23, then add only
the hours in B4:B8 that go with 23.

A B
23 1.5
15 1.0
17 1.0
12 .5
23 .75



All times are GMT +1. The time now is 06:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com