#1   Report Post  
AnisaF
 
Posts: n/a
Default formulas

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,
--
Anisa
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

AnisaF wrote:
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.
  #3   Report Post  
AnisaF
 
Posts: n/a
Default

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


"Aladin Akyurek" wrote:

AnisaF wrote:
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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
paste formulas between workbooks without workbook link ron Excel Discussion (Misc queries) 3 April 22nd 23 08:11 AM
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
Formulas Stan Excel Worksheet Functions 3 January 21st 05 02:58 PM
How to make Excel run limited number of formulas on a given worksh John Excel Discussion (Misc queries) 0 January 12th 05 04:29 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 09:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"