Excel If Functions

Radhi Hussein
Occasional Visitor

How can I use an if statement to calculate the number of hours needed in order to meet a requirement of 6? and I'm looking for if the number is less than 6, calculate how much it needs to be 6.


1 Reply

Hello Radhi,


there are a few possible layouts for your question, so I will take a guess.


If you have the hours in cell A1 in decimal format you could have a formula like

IF(A1>6;"requirements met";"Missing " & 6-A1 & "hours")

in another cell.

Please check if this helps you, if not please give more specific details.


Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies