=IF(Timesheet!D33>Timesheet!B23+2,"")

Trevor3007

Well-known Member
Joined
Jan 26, 2017
Messages
675
Office Version
  1. 365
Platform
  1. Windows
Hi

I am trying to cut down the amount of inputting on a time\expenses workbook
.

The cell (d34) is a date and I was hoping to trigger the cell to autofill based on another cell if it was >0, (cell ref Timesheet!D33) , it would look to Timesheet!B23 (which is a date) and as d34 is in the Wednesday column, it would look to Timesheet!B23 and add 2, (ie Timesheet!B23 = 21/1/19, then d34 = 23/1/19.

I tried using:-

=IF(Timesheet!D33>Timesheet!B23+2,"") but it does not work!

I am hoping someone can crack the issue for me?

KR
Trevor3007
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
If I follow you correctly???, try this in cell D34;

=IF(Timesheet!D33>0,Timesheet!B23+2,"")


If all of this is on the same worksheet then you don't have to have the name of the worksheet in the formula, like this;

=IF(D33>0,B23+2,"")
 
Upvote 0
If I follow you correctly???, try this in cell D34;
=IF(Timesheet!D33>0,Timesheet!B23+2,"")


If all of this is on the same worksheet then you don't have to have the name of the worksheet in the formula, like this;

=IF(D33>0,B23+2,"")


morning
Chrisdontm

thanks for that & it works great.

Tally ho & many thanks again.

KR
Trevor3007​
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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