Multiple IF condition for time values

DarkoDeign2

Board Regular
Joined
Jun 20, 2023
Messages
76
Office Version
  1. 365
Platform
  1. Windows
Hi,

I need help with a formula for cells C3:C7000

in cell B4 I have this formula: =IF(F4="";":::::";LOOKUP(9^9;B$3:B3)+7*OR(B3="";B3=":::::"))
In Cell D4 I have the formula: =IF(E4="";"";C4 + TIME(0; E4; 0))
In Cell E4 I have number values with the ending "min", eg 5 min
In Cell C4 I want to have a formula that: Check if the the cell above, C3 is empty. If true then show the time "10:00", if false then go to next condition.
Check if C4 is empty, if true, then show "". If false show the value from cell D3



Book1
BCDEF
2DateStart timeEnd timeDurationTopic
32023-02-1510:0011:0060 minCooking
42023-02-1511:0011:055 minCleaning
5:::::00:00 
62023-02-2210:0010:1010 minWalk the dog
Agenda
Cell Formulas
RangeFormula
C5C5=IF(C4="", TIME(10, 0, 0), IF(C5="", D4, ""))
B4:B6B4=IF(F4="",":::::",LOOKUP(9^9,B$3:B3)+7*OR(B3="",B3=":::::"))
D3:D6D3=IF(E3="","",C3 + TIME(0, E3, 0))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E3:E10000Expression=AND(ISBLANK(E3); NOT(ISBLANK(F3)))textNO
A3:K10000Expression=AND(ISBLANK($F3);$F2<>"";$F4<>"")textNO



Would appreciate anyones help with solving this.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
This is what I have for Cell C5: =IFS(B5=":::::","",C4="",TIME(10,0,0),D4>0,D4,1=1,"")
 
Upvote 1
Solution
I managed to solve it with this formula:
=IF(AND(E7=""; F7=""); ""; IF(C6=""; TIME(10; 0; 0); D6))
 
Upvote 0

Forum statistics

Threads
1,215,091
Messages
6,123,062
Members
449,089
Latest member
ikke

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