Vlookup affecting an IF formula - multiple If Formula

KJ2607

New Member
Joined
Aug 28, 2013
Messages
36
Hi


I am using the following formula in IA7 to work out total hours between the end of one shift and the start of another:


=IF(ISBLANK(HW7),"",IF(IB7="","",MOD(IB7-HX7,1)))


This was working fine until I entered a Vlookup formula into HW7 which now enters 00.00 into the cell and therefore throws off the above formula -


Basically if HW7 = 00.00, then I want IA7 to remain blank, as soon as other values are entered, I need the calculation to work - any suggestion on how I can do this?


Thanks in Advance
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi VoG - Thanks for your quick reply

That is what I tried initially and it failed but I must have added/deleted a comma or "" along the way as it works now - sometimes it just needs another pair of eyes - Thank you!
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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