Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
kevhatch
 
Posts: n/a
Default Trouble with formulas

Hi,
I'm having trouble working out formulas for a weekly work hours sheet.
Everything was ok untill I added some extra columns to cover Bank Holidays.
If I work a B/H I get 8hrs standard pay, + 8hrs B/H pay, then anything above
that is double time. What I have so far works ok apart from the calculation
for double time.

I have posted a sample below.

http://www.flypicture.com?display=updone&id=rtv3kanb

I know how to remove the minus ( -1 spare cell, copy + paste
special.........) I just can't get the figures right in column "I" as you can
see!!
Any thoughts??
Thx
  #2   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Trouble with formulas


You just need to add some parentheses so that the subtraction takes
place before the multiplication, i.e. in I4

=IF(J4="",0,IF(J4=8,(D4-E4)*2))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=503873

  #3   Report Post  
Posted to microsoft.public.excel.misc
kevhatch
 
Posts: n/a
Default Trouble with formulas

Thanks very much... I see my mistake now! it is soooooo obvious I'm gonna go
beat my head against the wall.. lol (learning all the time!)

"daddylonglegs" wrote:


You just need to add some parentheses so that the subtraction takes
place before the multiplication, i.e. in I4

=IF(J4="",0,IF(J4=8,(D4-E4)*2))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=503873


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
Countif formulas change after doing a sort Bob Smith Excel Worksheet Functions 3 January 3rd 06 11:17 PM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
Trouble with Excel 2000 not calculating/performing formulas Brian C Excel Worksheet Functions 1 January 12th 05 03:07 AM
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 03:34 AM.

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

About Us

"It's about Microsoft Excel"