LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default multiple formulas in an IF

You'll need to replace dv_cell in the formula by the reference of your input
cell (or name that cell dv_cell).
--
David Biddulph

"inmelbvic" wrote in message
...
Thanks Bob...
unfortunately the formula only returns the reply #NAME? could you suggest
anything to fix??


"Bob Phillips" wrote:

=((J12-F12)*50*B12)+(B12*1000)+(-2.5*B12)*(dv_cell="S&P500")+
((J20-F20)*100*B20)+(B20*1000)+(-2.5*B20)*(dv_cell="RUSSELL 2000")


"inmelbvic" wrote in message
...
Hi, Any help would be greatly appreciated..
I have a cell with a drop down box that allows me to select only two
items
S&P500 or RUSSELL 2000
each of these two options has its own formula to calculates the
profitability of each.
S&P500 has the formula =((J12-F12)*50*B12)+(B12*1000)+(-2.5*B12)
RUSSELL 2000 has the formula =((J20-F20)*100*B20)+(B20*1000)+(-2.5*B20)
I'd like to have a single cell which incorporates both formulas and
works
out the profitabilty depending on the selected item from the drop down
(ie.
S&P500 or RUSSELL 2000), and ignores the formula for the item not
selected
from the drop down box...
Looking forward to some help!
Thanks All :) Cheers.









 
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
Formulas with multiple IFs Angie Excel Worksheet Functions 3 May 2nd 07 10:52 PM
Multiple AND/OR formulas [email protected] Excel Discussion (Misc queries) 2 April 28th 07 01:35 PM
Sort multiple columns with multiple formulas without returning #R bellsjrb Excel Worksheet Functions 0 July 14th 06 10:01 AM
Multiple Formulas LCpl Shaw Excel Discussion (Misc queries) 1 October 4th 05 10:36 PM
Multiple Formulas Sharon Excel Discussion (Misc queries) 2 February 24th 05 12:49 AM


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