Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
formula using percentage question
 
Posts: n/a
Default two formulas per one cell

Ok I have another issue...
I need two formulas for one cell...
If H5 is <=0 then perform (E5-F5)
If H5 is 0 then perform (H5-G5-E5+F5)
is this possible? if so how?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pdberger
 
Posts: n/a
Default two formulas per one cell

Hi -

Try this:

=IF(H5<=0,E5-F5,H5-G5-E5+F5)


HTH



"formula using percentage question" wrote:

Ok I have another issue...
I need two formulas for one cell...
If H5 is <=0 then perform (E5-F5)
If H5 is 0 then perform (H5-G5-E5+F5)
is this possible? if so how?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph
 
Posts: n/a
Default two formulas per one cell

"pdberger" wrote in message
...

"formula using percentage question" wrote:

Ok I have another issue...
I need two formulas for one cell...
If H5 is <=0 then perform (E5-F5)
If H5 is 0 then perform (H5-G5-E5+F5)
is this possible? if so how?


Hi -

Try this:

=IF(H5<=0,E5-F5,H5-G5-E5+F5)


But beware the circular reference.
--
David Biddulph


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
Ideas for simplifying cell formulas Takeadoe Excel Discussion (Misc queries) 4 May 12th 06 02:16 AM
Changing cell references in formulas to names and back again. Aaron Excel Discussion (Misc queries) 4 April 25th 06 11:12 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Dates of a Day for a month & year cell formulas mikeburg Excel Discussion (Misc queries) 2 December 29th 05 10:14 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM


All times are GMT +1. The time now is 03:14 AM.

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"