Referencing Two Cells

HappyChappy

Active Member
Joined
Jan 26, 2013
Messages
378
Office Version
  1. 2019
  2. 2010
  3. 2007
Platform
  1. Windows
Hope someone can help i have a bonus of .50 paid per hour. it works great apart from if cell C13 is blank then p13 shows 8:00 to allow for a holiday payment for day off.
The problem is that the cell x13 which adds the bonus earned that day returns £4.00 but as it was a day off it should show £0:00 earned for that day

=(((Q13*24)+(R13*24)+(S13*24)))*$A$63 CELL X13
=IF(O13>TIME(8,44,),O13-TIME(0,45,0),O13) CELL Q13
=G13+M13+P13 CELL O13
=IF(C13="","8:00") CELL P13
A63 = £0.50
The trigger needs to be if cell C13 is blank then don't add any bonus to X13 for that day. Can the blank cell c13 be added to the formula in x13 to facilitate this.

Hope this makes sense regards Mark
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
You can use if for that
Excel Formula:
=IF(C13="",0, your formula)
 
Upvote 0
Hope someone can help i have a bonus of .50 paid per hour. it works great apart from if cell C13 is blank then p13 shows 8:00 to allow for a holiday payment for day off.
The problem is that the cell x13 which adds the bonus earned that day returns £4.00 but as it was a day off it should show £0:00 earned for that day

=(((Q13*24)+(R13*24)+(S13*24)))*$A$63 CELL X13
=IF(O13>TIME(8,44,),O13-TIME(0,45,0),O13) CELL Q13
=G13+M13+P13 CELL O13
=IF(C13="","8:00") CELL P13
A63 = £0.50
The trigger needs to be if cell C13 is blank then don't add any bonus to X13 for that day. Can the blank cell c13 be added to the formula in x13 to facilitate this.

Hope this makes sense regards Mark
You Sir are a true Gent thanks for your assistance the headache is starting to disappear......
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,901
Messages
6,122,157
Members
449,068
Latest member
shiz11713

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top