Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Cam Cam is offline
external usenet poster
 
Posts: 165
Default Help with calculation based on 3 scenerio??

Hello,

What is the formula or calcalution to calculate (different formula) based on
three scenerio? I thought about IF function, but that only work for two
scenerio.

Anyway, here is an example of what I need for the formula to calculate:
Scenerio 1: Task = 1, Machine = 2, use formula calculation A
Scenerio 2: Task = 2, Machine = 1, use formula calculation B
Scenerio 3: Task = 1, Machine = 1, use formula calculation C

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default Help with calculation based on 3 scenerio??

Well, you could use nested IF statements (if you have xl2003 or older, the
maximum functions you can 'nest' is 7).
=IF(task=1,IF(machine=1,calculation C,IF(machine=2,calculation A,"Task=1,
Machine<1 or 2")),IF(task=2,IF(machine=1,calculation B,"Task=2,
Machine<1"),"Task<1 or 2"))
--
** John C **


"Cam" wrote:

Hello,

What is the formula or calcalution to calculate (different formula) based on
three scenerio? I thought about IF function, but that only work for two
scenerio.

Anyway, here is an example of what I need for the formula to calculate:
Scenerio 1: Task = 1, Machine = 2, use formula calculation A
Scenerio 2: Task = 2, Machine = 1, use formula calculation B
Scenerio 3: Task = 1, Machine = 1, use formula calculation C

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Help with calculation based on 3 scenerio??

You can nest your IF functions.
Assuming Task is A1, Machine is B1

Example:
=IF(AND(A1=1,B1=2),calculation A,IF(AND(A1=2,B1=2),calculation
B,IF(AND(A1=1,B1=1),calculation C,"Did not meet defined critera")))

Note that this equation still needs you to put in the calculations you
wanted to do, but hopefully it provides a clear example.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Cam" wrote:

Hello,

What is the formula or calcalution to calculate (different formula) based on
three scenerio? I thought about IF function, but that only work for two
scenerio.

Anyway, here is an example of what I need for the formula to calculate:
Scenerio 1: Task = 1, Machine = 2, use formula calculation A
Scenerio 2: Task = 2, Machine = 1, use formula calculation B
Scenerio 3: Task = 1, Machine = 1, use formula calculation C

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
Calculation based on Y or N Values Malcolm McMaster[_2_] Excel Discussion (Misc queries) 2 October 17th 07 07:16 AM
Sum calculation based on condition mniccole Excel Worksheet Functions 6 November 27th 06 08:08 PM
Calculation based on 2 cols burnsbyrne Excel Discussion (Misc queries) 2 July 24th 06 05:31 PM
Calculation based on date Jack Excel Discussion (Misc queries) 3 March 22nd 06 08:17 AM
Solver? Scenerio? Goal Seeker? [email protected] Excel Discussion (Misc queries) 0 July 21st 05 06:43 PM


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