Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
klgcm
 
Posts: n/a
Default Using two separate scenarious in one IF function

Can I have more than one scenario in an IF function that are not dependent on
each other:

If (F275, (F2-75), (0), IF (E2675, (E26-75), (0))
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

What about F275 AND E2675 ?

When above never happens, then
=MAX((F275)*F2+(E275)*E2-75,0)


Arvi Laanemets


"klgcm" wrote in message
...
Can I have more than one scenario in an IF function that are not dependent

on
each other:

If (F275, (F2-75), (0), IF (E2675, (E26-75), (0))



  #3   Report Post  
tjtjjtjt
 
Posts: n/a
Default

So ...
Are you saying that you want both the scenarios evaluated in the same cell,
regardless of outcome?

You could use something like this:
=((IF(F275,F2-75,0))&" "&(IF(E2675,E26-75,0)))
this would put 3 spaces between the two answers.

This one:
=((IF(F275,F2-75,0))&CHAR(10)&(IF(E2675,E26-75,0)))
would put the answers on separate lines in the same cell, if you turn on
Cell Wrapping from Format|Cells, on the Alignment Tab.

tj

"klgcm" wrote:

Can I have more than one scenario in an IF function that are not dependent on
each other:

If (F275, (F2-75), (0), IF (E2675, (E26-75), (0))

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
Function in XL or in VBA for XL that pulls numeric digits from a t Nate Oliver Excel Discussion (Misc queries) 0 December 14th 04 04:57 PM
Excel function help facilities RPS Excel Discussion (Misc queries) 1 December 8th 04 02:36 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
need to save values from a function before it changes Ron Excel Worksheet Functions 1 October 29th 04 06:29 AM
SUMIF(AND) FUNCTION Saariko Excel Worksheet Functions 9 October 28th 04 11:52 AM


All times are GMT +1. The time now is 02:59 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"