Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional Calculations with Calculated Results

Greetings!

I'm wanting to embed a calculation within a conditional formula/function.
The typical IF function is typically something like: =IF(E65000,"YES","NO")
read as "If cell E6 is greater than five thousand, then respond yes, if not
respond no."

The next step I am trying to do is have it do a calculation in place of
stating "yes." For example: If cell E6 is greater than five thousand, then
respond with the amount minus 5000, if not respond 0.

The logical function would seem to be something like:
=IF(F7=YES,(E7-5000),0) However, this is not working for a number of
reasons. Basically, I see an "if, then" function, but am not familiar with
Excel enough to know of another appropriate function for what I am seeking.

What function would be best for this and how would I go about entering it?

Thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditional Calculations with Calculated Results

You've changed to a different row for your second formula, but you can
do this directly on your first:

=IF(E65000,E6-5000,0)

Another way to do it would be:

=MAX(0,E6-5000)

but that might confuse you more !!

Hope this helps.

Pete

On Mar 28, 11:01*pm, Koneko wrote:
Greetings!

I'm wanting to embed a calculation within a conditional formula/function. *
The typical IF function is typically something like: =IF(E65000,"YES","NO")
read as "If cell E6 is greater than five thousand, then respond yes, if not
respond no." *

The next step I am trying to do is have it do a calculation in place of
stating "yes." *For example: *If cell E6 is greater than five thousand, then
respond with the amount minus 5000, if not respond 0. *

The logical function would seem to be something like:
=IF(F7=YES,(E7-5000),0) * However, this is not working for a number of
reasons. *Basically, I see an "if, then" function, but am not familiar with
Excel enough to know of another appropriate function for what I am seeking..

What function would be best for this and how would I go about entering it? *

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculated Textbox not showing proper results. zootieb Excel Discussion (Misc queries) 4 May 20th 07 11:14 AM
How to increase calculations speed in pivot table with calculated fields & items [email protected] Excel Discussion (Misc queries) 0 August 4th 06 09:25 AM
Can Function results be calculated? FranksBank New Users to Excel 2 February 21st 06 01:18 PM
Can I do calculations on already calculated fields in a pivot tabl Fen Excel Discussion (Misc queries) 3 January 5th 06 07:42 PM
Calculated Fields showing error results Pasko1 Excel Discussion (Misc queries) 1 August 12th 05 06:32 PM


All times are GMT +1. The time now is 07:35 PM.

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"