Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have the following code in a cell on Sheet A:
=IF(E41H41,"Rock on, Man! You are EXCEEDING your Stretch goal for the month!",IF(E41=H41,"Nice work! You are meeting your stretch goal for the month!",IF(E41=G41,"Great work. You are meeting your Target goal.",IF(E41=F41,"You are meeting Threshold. Which is the bare minimum.",IF(E41<F41,"Um... so yeah... you might want to do some work, Dude."))))) What I would like to do is assign each quote to a variable on Sheet B like such: exceed = "Rock on, Man! You are EXCEEDING your Stretch goal for the month!" stretch = "Nice work! You are meeting your stretch goal for the month!" target = "Great work. You are meeting your Target goal." threshold = "You are meeting Threshold. Which is the bare minimum." slack = "Um... so yeah... you might want to do some work, Dude." And I would like to replace the code above with something like this: =IF(E41H41,exceed,IF(E41=H41,stretch,IF(E41=G41 ,target,IF(E41=F41,threshold,IF(E41<F41,slack)))) ) What is the correct syntax to make this work? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding a statement to several documents | Excel Worksheet Functions | |||
How to protect and unprotect multiple worksheets effeciently | Excel Discussion (Misc queries) | |||
Adding A Not(IsBlank) To IF Statement(help) | Excel Worksheet Functions | |||
How do I effeciently share text from two different sheets? | Excel Worksheet Functions | |||
adding if statement results | Excel Worksheet Functions |