Error in function

Powellexcel

New Member
Joined
Dec 2, 2016
Messages
28
=IF(C139(SEARCH(Open,C139)), (NOW(B139*24)), CELL("contents", C4))

Can anybody suggest why this contains an error, or where it is?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
What is this supposed to mean:
C139(SEARCH(Open,C139))
 
Last edited:
Upvote 0
I have a date in column A1 which is the start of a task.

In column B1 I have and option 2 phrases, stating whether the task is 'open' or 'closed', obviously there is only one of those phrases that goes into column B.

In column C I want to have the time that the task took to complete displayed in hours if the case is open in column B. If the case becomes closed in column B, then the time will stop to be whatever time that is was currently at, and for it to stop continuing the hours count.

I currently have this formula, can someone help develop this situation for me please
=IF(C139(SEARCH(Open,C139)), (NOW(B139*24), (Value if false)
 
Upvote 0
IF statement contains 3 parts...

1. condition to test for
2. what to do if test is TRUE
3. else what to do if test is FALSE

What exactly are you trying to do here?
 
Upvote 0
I have a date in column A1 which is the start of a task.

In column B1 I have and option 2 phrases, stating whether the task is 'open' or 'closed', obviously there is only one of those phrases that goes into column B.

In column C I want to have the time that the task took to complete displayed in hours if the case is open in column B. If the case becomes closed in column B, then the time will stop to be whatever time that is was currently at, and for it to stop continuing the hours count.
 
Upvote 0
Is there a way to convert that to display the hours the task has been open though?
And when it =closed, how to I stop the function from counting up?
 
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,234
Members
448,951
Latest member
jennlynn

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