Hello.....I'm wondering why this formula isn't working. I'm creating a payroll sheet and any hours over 40 I'd like to add in a seperate cell. This is what I'm trying to use to accomplish that:
=SUMIF(B3:H3,">=-40",B4:H4)
As I said, it's not working.
Thanks in advance!
edit what am i thinking that should work as it is except why -40? and are you talking hours as in 07:00 (a real time) or 7.0 hrs
Last edited by martindwilson; 01-10-2012 at 03:24 PM.
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
B3:H3 are Monday-Sunday with values of 8.00 most of the time for each cell. If that sum (B3:H3) is over 40, I want to sum another range (B4:H4). Hope that helps, thanks!
do you mean =if(sum(B3:H3)>40,sum(b4:h4),"") edited to add condition "" if not true else you'd get false as an answer
Last edited by martindwilson; 01-10-2012 at 03:47 PM.
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
I thought an IF would work better, but I couldn't get the syntax right. Works perfectly! Thank you so much!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks