Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
scott
 
Posts: n/a
Default Help with formula IF

I have a column that has a simple IF formula. What has happened is this
formual is not working how I need it to. At the end of a day we need to know
how many hours this setting was used. If no number is entered into the cell I
have my If formula showing ther plant hours run for the day. if(k40, k4,
b29).
K4 is the hours run
b29 is total hours
so if k4 is 0 show k4, otherwise show b29
The problem is that if the settings are changed at plant start up my k4
hours run should read 0 but with the formual I have it shows b29 which would
be total hours ran. When no settings are changed I need this hours run to
read the plant hours. I hope this is not to confusing. Any help is
appreciated.

In this case when the plant is started up and settings are changed I would
need k4 to read zero. I have also tried if(k4=0, k4, b29). With this formula
when k4 is left blank I need b29(plant hours) but it shows 0
What I need when I put a zero in k4 I need it to show zero.
Thanks in advance

Scott
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BenjieLop
 
Posts: n/a
Default Help with formula IF


scott Wrote:
I have a column that has a simple IF formula. What has happened is this
formual is not working how I need it to. At the end of a day we need to
know
how many hours this setting was used. If no number is entered into the
cell I
have my If formula showing ther plant hours run for the day. if(k40,
k4,
b29).
K4 is the hours run
b29 is total hours
so if k4 is 0 show k4, otherwise show b29
The problem is that if the settings are changed at plant start up my
k4
hours run should read 0 but with the formual I have it shows b29 which
would
be total hours ran. When no settings are changed I need this hours run
to
read the plant hours. I hope this is not to confusing. Any help is
appreciated.

In this case when the plant is started up and settings are changed I
would
need k4 to read zero. I have also tried if(k4=0, k4, b29). With this
formula
when k4 is left blank I need b29(plant hours) but it shows 0
What I need when I put a zero in k4 I need it to show zero.
Thanks in advance

Scott


Try this formula and see if this is what you need ...

=IF(K4=0,0,IF(K40,K4,B29))

Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=496162

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Hide formula skateblade Excel Worksheet Functions 10 October 15th 05 08:36 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM


All times are GMT +1. The time now is 09:05 PM.

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

About Us

"It's about Microsoft Excel"