Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 53
Default Help with these formula...

Hi I need help determining the proper way to make this formula work in my
excel sheet: if h8<8 then i8=H8-8. I am trying to make a time card and I
need to put all hours worked over 8 in a seprate column. I would also like
to make it so the total in column H8 can not be greator than 8 so: if h8<8
then h8 = 8. That way h8 + i8 would be the total hours worked by my
employee. Thanks!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Help with these formula...

I think you meant:

.... if h88 then i8=H8-8 ...

One way is to put this formula in I8:

=IF(H88,H8-8,0)

An alternative is:

=MAX(H8-8,0)

This takes the larger of the two values, so if H8 is less than 8 then
0 will be taken as H8-8 will be negative. If H8 is greater than 8 then
H8-8 will be greater than 0, so this value will be taken.

You cannot put a formula in H8 which affects the value of H8 - you
will have to put it in some other cell (eg J8). A formula similar to
my second one would be:

=MIN(H8,8)

so if H8 is less than 8 its value will be taken. If it is above 8 then
8 will be taken.

Hope this helps.

Pete

On Oct 30, 11:01 pm, Tiffany
wrote:
Hi I need help determining the proper way to make this formula work in my
excel sheet: if h8<8 then i8=H8-8. I am trying to make a time card and I
need to put all hours worked over 8 in a seprate column. I would also like
to make it so the total in column H8 can not be greator than 8 so: if h8<8
then h8 = 8. That way h8 + i8 would be the total hours worked by my
employee. Thanks!!!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"