Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Formula Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pjscott - 04 Mar 2008 20:53 GMT
I'm working with payroll data. I have a formula that displays payroll data
that's based on a payroll date. Until the payroll date is reached the cell
reads FALSE. Is there a way to display a 0 instead? This is the formula
=IF(A30>=A36,SUM('3-15'!X38 +'3-15'!AB38 + '3-15'!AF38 + '3-15'!AJ38 +
'3-15'!BT38)). Cell A30 contains the current date.

I have another formula that adds the number of hours worked in the 2 pay
periods in the month. If the hours add up to <100 a message appears. The
problem is it's using the same cells to calulate the number of hours from the
formula in the above example. It's adding 2 cells with FALSE. Is there a way
using the formula below to display a blank cell? This is the formula:
=IF(B7+B8<100, "Worked <100 Hours.").

Thank for the help,

Paul
Dave Peterson - 04 Mar 2008 21:26 GMT
=if() has three parts.  The condition; the value returned if the condition is
true and the value returned if the condition is false.

=if(logical_test,value_if_true,value_if_false)

=IF(B7+B8<100, "Worked <100 Hours.")
only has 2 conditions.

=IF(B7+B8<100, "Worked <100 Hours.",0)
has all 3.

Same with your first expression.

> I'm working with payroll data. I have a formula that displays payroll data
> that's based on a payroll date. Until the payroll date is reached the cell
[quoted text clipped - 12 lines]
>
> Paul

Signature

Dave Peterson

pjscott - 05 Mar 2008 16:46 GMT
Got it Dave. Thanks a bunch.

Paul

> =if() has three parts.  The condition; the value returned if the condition is
> true and the value returned if the condition is false.
[quoted text clipped - 25 lines]
> >
> > Paul

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.