formulas

G

Guest

Dear L&G,

Need your help.
I have a work Sheet as follows

A B C D E F
G
1 Hours Emp No Day 1 Day 2 Day 3 Total Total of minus
Hours
2 10 123 -2 2 -2 8

Now, To get the total of F2, i have used
=SUM(C4:E4)+(+A4)

If I want to count only the minus hours under "Total minus hours" What is
the formula?

Thanking you in advance,
 
A

Aladin Akyurek

AnisaF said:
Dear L&G,

Need your help.
I have a work Sheet as follows

A B C D E F
G
1 Hours Emp No Day 1 Day 2 Day 3 Total Total of minus
Hours
2 10 123 -2 2 -2 8

Now, To get the total of F2, i have used
=SUM(C4:E4)+(+A4)

If I want to count only the minus hours under "Total minus hours" What is
the formula?

Thanking you in advance,

=SUMIF(C4:E4,"<0")

--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.
 
G

Guest

Thank's Aladin...Your formula worked...
--
Anisa


Aladin Akyurek said:
AnisaF said:
Dear L&G,

Need your help.
I have a work Sheet as follows

A B C D E F
G
1 Hours Emp No Day 1 Day 2 Day 3 Total Total of minus
Hours
2 10 123 -2 2 -2 8

Now, To get the total of F2, i have used
=SUM(C4:E4)+(+A4)

If I want to count only the minus hours under "Total minus hours" What is
the formula?

Thanking you in advance,

=SUMIF(C4:E4,"<0")

--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top