Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
WvR WvR is offline
external usenet poster
 
Posts: 5
Default Formula in a cell depending on the value of another cell

I have two different formulas (which contain multiple IF statements) that I
am using in my worksheet. Which one of those formulas that I want the cell
to use depends on the value in another cell.

For example, let's say the two formulas I'm working with a
(1) =IF(C7*D719,"CRITICAL","PRIORITY")
(2) =IF(C7*D710,"CRITICAL","PRIORITY")


I want cell G7 to use formula #1 above if the value of cell A7 is "N/A";
otherwise, I want cell G7 to use formula #2.

Can I do this in Excel?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Formula in a cell depending on the value of another cell

In G7 enter

=IF(C7*D7IF(ISNA(A7),19,10),"CRITICAL","PRIORITY" )

If this post helps click Yes
---------------
Jacob Skaria


"WVR" wrote:

I have two different formulas (which contain multiple IF statements) that I
am using in my worksheet. Which one of those formulas that I want the cell
to use depends on the value in another cell.

For example, let's say the two formulas I'm working with a
(1) =IF(C7*D719,"CRITICAL","PRIORITY")
(2) =IF(C7*D710,"CRITICAL","PRIORITY")


I want cell G7 to use formula #1 above if the value of cell A7 is "N/A";
otherwise, I want cell G7 to use formula #2.

Can I do this in Excel?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
WvR WvR is offline
external usenet poster
 
Posts: 5
Default Formula in a cell depending on the value of another cell

Your reply was helpful; however, I don't think it will solve my
problem.....only b/c the two formulas I'm working with are very complex (for
me anyway) nested if statements. The actual formulas a

(1)
=IF(OR(E7="",F7=""),"",IF(E7*F719,"CRITICAL",IF(E 7*F712,"PRIORITY",IF(AND(E7*F7=12,E7=4),"PRIORITY ",IF(E7*F78,"IMPORTANT",IF(E7*F74,"MODERATE","EF FECTIVE"))))))


(2)
=IF(OR(E7="",F7=""),"",IF(AND(E7=5,F72),"CRITICAL ",IF(AND(E72,F72),"PRIORITY",IF(E7*F7=10,"IMPORT ANT",IF(AND(E7*F7=8,E7=2),"IMPORTANT",IF(E7*F74," MODERATE",IF(AND(E7*F7=4,E7=1),"MODERATE","EFFECTI VE")))))))


I want cell J7 to use formula (1) above if the value of cell C7 is blank or
"N/A".


Can I do that?

Thanks!


"Jacob Skaria" wrote:

In G7 enter

=IF(C7*D7IF(ISNA(A7),19,10),"CRITICAL","PRIORITY" )

If this post helps click Yes
---------------
Jacob Skaria


"WVR" wrote:

I have two different formulas (which contain multiple IF statements) that I
am using in my worksheet. Which one of those formulas that I want the cell
to use depends on the value in another cell.

For example, let's say the two formulas I'm working with a
(1) =IF(C7*D719,"CRITICAL","PRIORITY")
(2) =IF(C7*D710,"CRITICAL","PRIORITY")


I want cell G7 to use formula #1 above if the value of cell A7 is "N/A";
otherwise, I want cell G7 to use formula #2.

Can I do this in Excel?

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
Formula to display text depending upon date entered in a cell Rod from B.C. Government Excel Worksheet Functions 2 May 25th 09 10:03 PM
Seperate formula depending on cell used duckydon Excel Discussion (Misc queries) 4 March 13th 09 12:53 PM
Copy content of cell to another depending on value of third cell(between worksheets) Zeljko Milak Excel Worksheet Functions 2 July 14th 06 07:17 PM
Dynamically locking a cell depending upon value of another cell. Pank Excel Discussion (Misc queries) 0 May 12th 06 11:48 AM
How can i change cell colour depending on month of date in cell? andy75 Excel Discussion (Misc queries) 2 January 6th 06 07:46 AM


All times are GMT +1. The time now is 09:53 PM.

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"